Home
last modified time | relevance | path

Searched refs:InstrMapping (Results 1 – 22 of 22) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DCSEInfo.cpp142 assert(InstrMapping.count(UMI->MI) == 0 && in insertNode()
144 InstrMapping[UMI->MI] = MaybeNewNode; in insertNode()
191 auto *UMI = InstrMapping.lookup(MI); in handleRecordedInst()
196 InstrMapping.erase(MI); in handleRecordedInst()
212 if (auto *UMI = InstrMapping.lookup(MI)) { in handleRemoveInst()
214 InstrMapping.erase(MI); in handleRemoveInst()
257 InstrMapping.clear(); in releaseMemory()
282 for (auto &It : InstrMapping) { in verify()
298 if (!InstrMapping.count(UMI.MI)) in verify()
303 if (InstrMapping[UMI.MI] != &UMI) in verify()
[all …]
H A DRegBankSelect.cpp441 MachineInstr &MI, const RegisterBankInfo::InstructionMapping &InstrMapping, in computeMapping() argument
446 if (!InstrMapping.isValid()) in computeMapping()
451 bool Saturated = Cost.addLocalCost(InstrMapping.getCost()); in computeMapping()
454 LLVM_DEBUG(dbgs() << "With: " << InstrMapping << '\n'); in computeMapping()
466 for (unsigned OpIdx = 0, EndOpIdx = InstrMapping.getNumOperands(); in computeMapping()
480 InstrMapping.getOperandMapping(OpIdx); in computeMapping()
585 MachineInstr &MI, const RegisterBankInfo::InstructionMapping &InstrMapping, in applyMapping() argument
588 RegisterBankInfo::OperandsMapper OpdMapper(MI, InstrMapping, *MRI); in applyMapping()
600 InstrMapping.getOperandMapping(OpIdx); in applyMapping()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagon.td192 def getPredOpcode : InstrMapping {
208 def getFalsePredOpcode : InstrMapping {
220 def getTruePredOpcode : InstrMapping {
232 def getPredNewOpcode : InstrMapping {
244 def getPredOldOpcode : InstrMapping {
256 def getNewValueOpcode : InstrMapping {
268 def getNonNVStore : InstrMapping {
276 def changeAddrMode_abs_io: InstrMapping {
285 def changeAddrMode_io_abs: InstrMapping {
294 def changeAddrMode_io_rr: InstrMapping {
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DRegisterBankInfo.h295 const InstructionMapping &InstrMapping; variable
322 OperandsMapper(MachineInstr &MI, const InstructionMapping &InstrMapping,
331 const InstructionMapping &getInstrMapping() const { return InstrMapping; } in getInstrMapping()
758 const RegisterBankInfo::InstructionMapping &InstrMapping) {
759 InstrMapping.print(OS);
/openbsd-src/gnu/llvm/llvm/docs/
H A DHowToUseInstrMappings.rst21 ``InstrMapping`` Class Overview
25 models are described using ``InstrMapping`` class as a base. Each model sets
26 various fields of the ``InstrMapping`` class such that they can uniquely
31 is the definition of ``InstrMapping`` class defined in Target.td file:
35 class InstrMapping {
68 non-predicated form by assigning appropriate values to the ``InstrMapping``
74 def getPredOpcode : InstrMapping {
H A DWritingAnLLVMBackend.rst1097 using ``InstrMapping`` class as a base. TableGen parses all the models
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DRegisterBankInfo.cpp396 auto &InstrMapping = MapOfInstructionMappings[Hash]; in getInstructionMappingImpl() local
397 InstrMapping = std::make_unique<InstructionMapping>( in getInstructionMappingImpl()
399 return *InstrMapping; in getInstructionMappingImpl()
656 MachineInstr &MI, const InstructionMapping &InstrMapping, in OperandsMapper() argument
658 : MRI(MRI), MI(MI), InstrMapping(InstrMapping) { in OperandsMapper()
659 unsigned NumOpds = InstrMapping.getNumOperands(); in OperandsMapper()
661 assert(InstrMapping.verify(MI) && "Invalid mapping for MI"); in OperandsMapper()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
H A DRegBankSelect.h594 const RegisterBankInfo::InstructionMapping &InstrMapping,
615 const RegisterBankInfo::InstructionMapping &InstrMapping,
H A DCSEInfo.h82 DenseMap<const MachineInstr *, UniqueMachineInstr *> InstrMapping; variable
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.td2811 def getVOPe64 : InstrMapping {
2820 def getVOPe32 : InstrMapping {
2829 def getSDWAOp : InstrMapping {
2838 def getBasicFromSDWAOp : InstrMapping {
2847 def getDPPOp32 : InstrMapping {
2855 def getDPPOp64 : InstrMapping {
2864 def getCommuteOrig : InstrMapping {
2873 def getCommuteRev : InstrMapping {
2881 def getMCOpcodeGen : InstrMapping {
2905 def getSOPKOp : InstrMapping {
[all …]
H A DR600Instructions.td1783 def getLDSNoRetOp : InstrMapping {
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrInfo.td224 def getStackOpcode : InstrMapping {
237 def getRegisterOpcode : InstrMapping {
250 def getWasm64Opcode : InstrMapping {
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPC.td479 def getRecordFormOpcode : InstrMapping {
492 def getNonRecordFormOpcode : InstrMapping {
505 def getAltVSXFMAOpcode : InstrMapping {
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsDSPInstrFormats.td11 def Dsp2MicroMips : InstrMapping {
H A DMipsInstrFormats.td40 def Std2MicroMips : InstrMapping {
54 def Std2MicroMipsR6 : InstrMapping {
H A DMips32r6InstrFormats.td15 def MipsR62MicroMipsR6 : InstrMapping {
/openbsd-src/gnu/llvm/llvm/include/llvm/Target/
H A DTarget.td1776 // InstrMapping - This class is used to create mapping tables to relate
1780 class InstrMapping {
1782 // define the relationship modeled by this InstrMapping record.
/openbsd-src/gnu/llvm/llvm/lib/Target/Lanai/
H A DLanaiInstrInfo.td261 def splsIdempotent : InstrMapping {
/openbsd-src/gnu/llvm/llvm/lib/Target/ARC/
H A DARCInstrInfo.td1022 def getPostIncOpcode : InstrMapping {
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZInstrFormats.td121 def getDisp12Opcode : InstrMapping {
130 def getDisp20Opcode : InstrMapping {
140 def getMemOpcode : InstrMapping {
149 def getTargetMemOpcode : InstrMapping {
158 def getTwoOperandOpcode : InstrMapping {
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DSVEInstrFormats.td570 def getSVEPseudoMap : InstrMapping {
584 def getSVERevInstr : InstrMapping {
593 def getSVENonRevInstr : InstrMapping {
H A DSMEInstrFormats.td34 def getSMEPseudoMap : InstrMapping {