forked from OSchip/llvm-project
621d7cca37
This interface contains the necessary components to provide the same builtin behavior that terminators have. This will be used in future revisions to remove many of the hardcoded constraints placed on successors and successor operands. The interface initially contains three methods: ```c++ // Return a set of values corresponding to the operands for successor 'index', or None if the operands do not correspond to materialized values. Optional<OperandRange> getSuccessorOperands(unsigned index); // Return true if this terminator can have it's successor operands erased. bool canEraseSuccessorOperand(); // Erase the operand of a successor. This is only valid to call if 'canEraseSuccessorOperand' returns true. void eraseSuccessorOperand(unsigned succIdx, unsigned opIdx); ``` Differential Revision: https://reviews.llvm.org/D75314 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
DocGenUtilities.h | ||
EnumsGen.cpp | ||
LLVMIRConversionGen.cpp | ||
LLVMIRIntrinsicGen.cpp | ||
OpDefinitionsGen.cpp | ||
OpDocGen.cpp | ||
OpFormatGen.cpp | ||
OpFormatGen.h | ||
OpInterfacesGen.cpp | ||
ReferenceImplGen.cpp | ||
RewriterGen.cpp | ||
SPIRVUtilsGen.cpp | ||
StructsGen.cpp | ||
mlir-tblgen.cpp |