Home
last modified time | relevance | path

Searched refs:InstructionMapping (Results 1 – 5 of 5) sorted by relevance

/external/llvm/include/llvm/CodeGen/GlobalISel/
DRegisterBankInfo.h104 class InstructionMapping {
130 InstructionMapping(unsigned ID, unsigned Cost, unsigned NumOperands) in InstructionMapping() function
139 InstructionMapping() : ID(InvalidMappingID), Cost(0), NumOperands(0) {} in InstructionMapping() function
152 return const_cast<InstructionMapping *>(this)->getOperandMapping(i); in getOperandMapping()
189 typedef SmallVector<InstructionMapping, 4> InstructionMappings;
204 const InstructionMapping &InstrMapping;
231 OperandsMapper(MachineInstr &MI, const InstructionMapping &InstrMapping,
240 const InstructionMapping &getInstrMapping() const { return InstrMapping; } in getInstrMapping()
402 InstructionMapping getInstrMappingImpl(const MachineInstr &MI) const;
514 virtual InstructionMapping getInstrMapping(const MachineInstr &MI) const;
[all …]
DRegBankSelect.h540 RegisterBankInfo::InstructionMapping &
554 const RegisterBankInfo::InstructionMapping &InstrMapping,
574 const RegisterBankInfo::InstructionMapping &InstrMapping,
/external/llvm/lib/CodeGen/GlobalISel/
DRegisterBankInfo.cpp202 RegisterBankInfo::InstructionMapping
204 RegisterBankInfo::InstructionMapping Mapping(DefaultMappingID, /*Cost*/ 1, in getInstrMappingImpl()
261 return InstructionMapping(); in getInstrMappingImpl()
283 return InstructionMapping(); in getInstrMappingImpl()
295 if (!static_cast<const InstructionMapping *>(&Mapping) in getInstrMappingImpl()
305 RegisterBankInfo::InstructionMapping
307 RegisterBankInfo::InstructionMapping Mapping = getInstrMappingImpl(MI); in getInstrMapping()
320 for (InstructionMapping &AltMapping : AltMappings) in getInstrPossibleMappings()
323 for (const InstructionMapping &Mapping : PossibleMappings) in getInstrPossibleMappings()
453 void RegisterBankInfo::InstructionMapping::setOperandMapping( in setOperandMapping()
[all …]
DRegBankSelect.cpp205 RegisterBankInfo::InstructionMapping &RegBankSelect::findBestMapping( in findBestMapping()
209 RegisterBankInfo::InstructionMapping *BestMapping = nullptr; in findBestMapping()
212 for (RegisterBankInfo::InstructionMapping &CurMapping : PossibleMappings) { in findBestMapping()
346 MachineInstr &MI, const RegisterBankInfo::InstructionMapping &InstrMapping, in computeMapping()
470 MachineInstr &MI, const RegisterBankInfo::InstructionMapping &InstrMapping, in applyMapping()
514 RegisterBankInfo::InstructionMapping BestMapping; in assignInstr()
/external/llvm/lib/Target/AArch64/
DAArch64RegisterBankInfo.cpp137 InstructionMapping GPRMapping(/*ID*/ 1, /*Cost*/ 1, /*NumOperands*/ 3); in getInstrAlternativeMappings()
138 InstructionMapping FPRMapping(/*ID*/ 2, /*Cost*/ 1, /*NumOperands*/ 3); in getInstrAlternativeMappings()