llvm-project/mlir/lib/IR
Lei Zhang 4cda344e7b Add methods for building array attributes in Builder
I32/I64/F32/F64/Str array attributes are commonly used in ops. It helps
    to have handy methods for them.

--

PiperOrigin-RevId: 242170569
2019-04-07 18:19:56 -07:00
..
AffineExpr.cpp Cleanup post cl/235283610 - NFC 2019-03-29 16:42:20 -07:00
AffineExprDetail.h Remove some statements that required >C++11, add includes and qualify names. NFC. 2019-03-29 17:24:53 -07:00
AffineMap.cpp Optimize the implementation of AffineExprConstantFolder to avoid the redundant creation of IntegerAttrs and IndexType. This becomes a much bigger performance issue when MLIRContext is thread-safe; as each unnecessary call may need to lock a mutex. 2019-03-29 17:18:22 -07:00
AffineMapDetail.h Introduce Fourier-Motzkin variable elimination + other cleanup/support 2019-03-29 13:38:24 -07:00
AsmPrinter.cpp Rename UnknownType to OpaqueType (NFC) 2019-04-03 19:21:47 -07:00
AttributeDetail.h Cleanup the construction of attributes and fix a opt-mode bug in DenseElementsAttr when allocating an empty array buffer. 2019-03-29 17:33:15 -07:00
Attributes.cpp Add support for building a DenseIntElementsAttr with ArrayRef<int64_t> values. 2019-03-29 17:29:42 -07:00
Block.cpp Remove the non-postorder walk functions from Function/Block/Instruction and rename walkPostOrder to walk. 2019-04-05 07:41:23 -07:00
Builders.cpp Add methods for building array attributes in Builder 2019-04-07 18:19:56 -07:00
CMakeLists.txt Add build files and update README. 2019-03-30 11:23:22 -07:00
Dialect.cpp Add a flag to Dialect that allows for dialects to enable support for unregistered operations. This flag is off by default and can be toggled via the 'allowUnknownOperations(...)' method. This means that moving forward an error will be emitted for unknown operations if the dialect does not explicitly allow it. 2019-04-01 10:59:17 -07:00
Function.cpp Remove the non-postorder walk functions from Function/Block/Instruction and rename walkPostOrder to walk. 2019-04-05 07:41:23 -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 Give the Location classes their own SmartRWMutex and make sure that they are using the locationAllocator. This is step 4/N to making MLIRContext thread-safe. 2019-03-29 17:19:27 -07:00
MLIRContext.cpp NFC: Fix a few typos in the tutorials and one in the comment of FunctionAttr::dropFunctionReference. 2019-04-05 07:43:05 -07:00
Module.cpp Implement initial support for function attributes, including parser, printer, 2019-03-29 13:02:44 -07:00
Operation.cpp NFC: Replace usages of iterator_range<operand_iterator> with operand_range. 2019-04-05 07:42:29 -07:00
OperationSupport.cpp Rename InstOperand to OpOperand. 2019-03-29 17:50:41 -07:00
PatternMatch.cpp Replace usages of Instruction with Operation in the /IR directory. 2019-03-29 17:43:37 -07:00
StandardTypes.cpp Implement basic IR support for a builtin complex<> type. As with tuples, we 2019-03-30 11:23:39 -07:00
TypeDetail.h Rename UnknownType to OpaqueType (NFC) 2019-04-03 19:21:47 -07:00
Types.cpp Rename UnknownType to OpaqueType (NFC) 2019-04-03 19:21:47 -07:00
Value.cpp Add a getLoc() method on mlir::Value that returns the loc of the defining Operations if any, otherwise an unknown location 2019-04-01 11:00:58 -07:00