Upstreaming Quantizer tool (part 2).
authorStella Laurenzo <laurenzo@google.com>
Wed, 15 May 2019 22:04:20 +0000 (15:04 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Mon, 20 May 2019 20:43:31 +0000 (13:43 -0700)
commit79265887ff1c109396e0fa8156b8f4129487ffc1
treebed46871fed9392aabc3ae0f21fa054618b13eee
parent2e1bbb8ca807efb6e58ab03b48aa5332df731d4e
Upstreaming Quantizer tool (part 2).

    This adds some additional core types and utilities, notably the constraint analysis graph (CAG) structures, associated metadata and configuration policy object base class.

    The CAG is not particularly memory efficient as it stands now. I had started some work to turn it into a form that could be better managed by a bump pointer allocator but abandoned that for now in favor of having something that does semantically what I was going for as a starting point.

--

PiperOrigin-RevId: 248413133
mlir/include/mlir/Quantizer/Support/Configuration.h [new file with mode: 0644]
mlir/include/mlir/Quantizer/Support/ConstraintAnalysisGraph.h [new file with mode: 0644]
mlir/include/mlir/Quantizer/Support/ConstraintAnalysisGraphTraits.h [new file with mode: 0644]
mlir/include/mlir/Quantizer/Support/Metadata.h [new file with mode: 0644]
mlir/include/mlir/Quantizer/Support/TypeUtils.h [new file with mode: 0644]
mlir/lib/Quantizer/Support/Configuration.cpp [new file with mode: 0644]
mlir/lib/Quantizer/Support/ConstraintAnalysisGraph.cpp [new file with mode: 0644]
mlir/lib/Quantizer/Support/Metadata.cpp [new file with mode: 0644]
mlir/lib/Quantizer/Support/TypeUtils.cpp [new file with mode: 0644]