llvm-project/mlir/lib/IR
Chris Lattner 776b035646 Eliminate the Instruction, BasicBlock, CFGFunction, MLFunction, and ExtFunction classes, using the Statement/StmtBlock hierarchy and Function instead.
This *only* changes the internal data structures, it does not affect the user visible syntax or structure of MLIR code.  Function gets new "isCFG()" sorts of predicates as a transitional measure.

This patch is gross in a number of ways, largely in an effort to reduce the amount of mechanical churn in one go.  It introduces a bunch of using decls to keep the old names alive for now, and a bunch of stuff needs to be renamed.

This is step 10/n towards merging instructions and statements, NFC.

PiperOrigin-RevId: 227044402
2019-03-29 14:39:49 -07:00
..
AffineExpr.cpp [MLIR] Add AffineMap composition and use it in Materialization 2019-03-29 14:20:22 -07:00
AffineExprDetail.h [MLIR] Sketch AffineExpr value type 2019-03-29 13:25:42 -07:00
AffineMap.cpp Add Type to int/float attributes. 2019-03-29 13:59:23 -07:00
AffineMapDetail.h Introduce Fourier-Motzkin variable elimination + other cleanup/support 2019-03-29 13:38:24 -07:00
AsmPrinter.cpp Eliminate the Instruction, BasicBlock, CFGFunction, MLFunction, and ExtFunction classes, using the Statement/StmtBlock hierarchy and Function instead. 2019-03-29 14:39:49 -07:00
AttributeDetail.h Type system: replace Type::getBitWidth with getIntOrFloatBitWidth 2019-03-29 14:30:43 -07:00
AttributeListStorage.h Implement Uday's suggestion to unique attribute lists across instructions, 2019-03-29 12:29:42 -07:00
Attributes.cpp Densify storage for f16, f32 and support f16 semantics in FloatAttrs 2019-03-29 14:32:14 -07:00
Builders.cpp Eliminate the Instruction, BasicBlock, CFGFunction, MLFunction, and ExtFunction classes, using the Statement/StmtBlock hierarchy and Function instead. 2019-03-29 14:39:49 -07:00
BuiltinOps.cpp Eliminate the Instruction, BasicBlock, CFGFunction, MLFunction, and ExtFunction classes, using the Statement/StmtBlock hierarchy and Function instead. 2019-03-29 14:39:49 -07:00
Dialect.cpp Adds ConstantFoldHook registry in MLIRContext 2019-03-29 14:04:34 -07:00
Function.cpp Eliminate the Instruction, BasicBlock, CFGFunction, MLFunction, and ExtFunction classes, using the Statement/StmtBlock hierarchy and Function instead. 2019-03-29 14:39:49 -07:00
IntegerSet.cpp Introduce Fourier-Motzkin variable elimination + other cleanup/support 2019-03-29 13:38:24 -07:00
IntegerSetDetail.h Introduce Fourier-Motzkin variable elimination + other cleanup/support 2019-03-29 13:38:24 -07:00
Location.cpp Support NameLoc and CallSiteLoc for mlir::Location 2019-03-29 14:37:34 -07:00
LocationDetail.h Support NameLoc and CallSiteLoc for mlir::Location 2019-03-29 14:37:34 -07:00
MLIRContext.cpp Support NameLoc and CallSiteLoc for mlir::Location 2019-03-29 14:37:34 -07:00
Module.cpp Implement initial support for function attributes, including parser, printer, 2019-03-29 13:02:44 -07:00
Operation.cpp Eliminate the Instruction, BasicBlock, CFGFunction, MLFunction, and ExtFunction classes, using the Statement/StmtBlock hierarchy and Function instead. 2019-03-29 14:39:49 -07:00
PatternMatch.cpp Split "rewrite" functionality out of Pattern into a new RewritePattern derived 2019-03-29 14:12:07 -07:00
SSAValue.cpp Eliminate the Instruction, BasicBlock, CFGFunction, MLFunction, and ExtFunction classes, using the Statement/StmtBlock hierarchy and Function instead. 2019-03-29 14:39:49 -07:00
Statement.cpp Eliminate the Instruction, BasicBlock, CFGFunction, MLFunction, and ExtFunction classes, using the Statement/StmtBlock hierarchy and Function instead. 2019-03-29 14:39:49 -07:00
StmtBlock.cpp Eliminate the Instruction, BasicBlock, CFGFunction, MLFunction, and ExtFunction classes, using the Statement/StmtBlock hierarchy and Function instead. 2019-03-29 14:39:49 -07:00
TypeDetail.h Unify type uniquing and construction. 2019-03-29 14:34:46 -07:00
Types.cpp Unify type uniquing and construction. 2019-03-29 14:34:46 -07:00