Home
last modified time | relevance | path

Searched refs:ValueMapping (Results 1 – 25 of 28) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DRegisterBankInfo.h142 struct ValueMapping { struct
151 ValueMapping() : ValueMapping(nullptr, 0) {} in ValueMapping() argument
156 ValueMapping(const PartialMapping *BreakDown, unsigned NumBreakDowns) in ValueMapping() function
192 const ValueMapping *OperandsMapping;
197 const ValueMapping &getOperandMapping(unsigned i) { in getOperandMapping()
212 const ValueMapping *OperandsMapping, in InstructionMapping()
236 const ValueMapping &getOperandMapping(unsigned i) const { in getOperandMapping()
237 const ValueMapping &ValMapping = in getOperandMapping()
245 void setOperandsMapping(const ValueMapping *OpdsMapping) { in setOperandsMapping()
397 mutable DenseMap<unsigned, std::unique_ptr<const ValueMapping>>
[all …]
DRegBankSelect.h528 const RegisterBankInfo::ValueMapping &ValMapping,
564 const RegisterBankInfo::ValueMapping &ValMapping,
576 const RegisterBankInfo::ValueMapping &ValMapping) const;
608 const RegisterBankInfo::ValueMapping &ValMapping) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DRegisterBankInfo.cpp178 SmallVector<const ValueMapping *, 8> OperandsMapping(NumOperandsForMapping); in getInstrMappingImpl()
211 const ValueMapping *ValMapping = in getInstrMappingImpl()
262 const RegisterBankInfo::ValueMapping &
279 const RegisterBankInfo::ValueMapping &
292 ValMapping = llvm::make_unique<ValueMapping>(BreakDown, NumBreakDowns); in getValueMapping()
297 const RegisterBankInfo::ValueMapping *
316 Res = llvm::make_unique<ValueMapping[]>(std::distance(Begin, End)); in getOperandsMapping()
319 const ValueMapping *ValMap = *It; in getOperandsMapping()
327 const RegisterBankInfo::ValueMapping *RegisterBankInfo::getOperandsMapping( in getOperandsMapping()
328 const SmallVectorImpl<const RegisterBankInfo::ValueMapping *> &OpdsMapping) in getOperandsMapping()
[all …]
DRegBankSelect.cpp113 unsigned Reg, const RegisterBankInfo::ValueMapping &ValMapping, in assignmentMatch()
136 MachineOperand &MO, const RegisterBankInfo::ValueMapping &ValMapping, in repairReg()
190 const RegisterBankInfo::ValueMapping &ValMapping) const { in getRepairCost()
272 const RegisterBankInfo::ValueMapping &ValMapping) const { in tryAvoidingSplit()
423 const RegisterBankInfo::ValueMapping &ValMapping = in computeMapping()
543 const RegisterBankInfo::ValueMapping &ValMapping = in applyMapping()
/external/llvm/tools/verify-uselistorder/
Dverify-uselistorder.cpp83 struct ValueMapping { struct
98 ValueMapping(const Module &M);
181 ValueMapping::ValueMapping(const Module &M) { in ValueMapping() function in ValueMapping
236 void ValueMapping::map(const Value *V) { in map()
250 static void dumpMapping(const ValueMapping &VM) { in dumpMapping()
258 static void debugValue(const ValueMapping &M, unsigned I, StringRef Desc) { in debugValue()
269 static void debugUserMismatch(const ValueMapping &L, const ValueMapping &R, in debugUserMismatch()
281 static void debugSizeMismatch(const ValueMapping &L, const ValueMapping &R) { in debugSizeMismatch()
291 static bool matches(const ValueMapping &LM, const ValueMapping &RM) { in matches()
304 const ValueMapping &M) { in matches()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/verify-uselistorder/
Dverify-uselistorder.cpp82 struct ValueMapping { struct
97 ValueMapping(const Module &M);
180 ValueMapping::ValueMapping(const Module &M) { in ValueMapping() function in ValueMapping
235 void ValueMapping::map(const Value *V) { in map()
249 static void dumpMapping(const ValueMapping &VM) { in dumpMapping()
257 static void debugValue(const ValueMapping &M, unsigned I, StringRef Desc) { in debugValue()
268 static void debugUserMismatch(const ValueMapping &L, const ValueMapping &R, in debugUserMismatch()
280 static void debugSizeMismatch(const ValueMapping &L, const ValueMapping &R) { in debugSizeMismatch()
290 static bool matches(const ValueMapping &LM, const ValueMapping &RM) { in matches()
303 const ValueMapping &M) { in matches()
[all …]
/external/llvm/include/llvm/CodeGen/GlobalISel/
DRegisterBankInfo.h85 struct ValueMapping { struct
112 std::unique_ptr<ValueMapping[]> OperandsMapping;
116 ValueMapping &getOperandMapping(unsigned i) { in getOperandMapping()
134 OperandsMapping.reset(new ValueMapping[getNumOperands()]); in InstructionMapping()
151 const ValueMapping &getOperandMapping(unsigned i) const { in getOperandMapping()
156 void setOperandMapping(unsigned i, const ValueMapping &ValMapping) { in setOperandMapping()
583 operator<<(raw_ostream &OS, const RegisterBankInfo::ValueMapping &ValMapping) {
DRegBankSelect.h490 const RegisterBankInfo::ValueMapping &ValMapping,
524 const RegisterBankInfo::ValueMapping &ValMapping,
536 const RegisterBankInfo::ValueMapping &ValMapping) const;
568 const RegisterBankInfo::ValueMapping &ValMapping) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64RegisterBankInfo.h46 static RegisterBankInfo::ValueMapping ValMappings[];
80 static const RegisterBankInfo::ValueMapping *
86 static const RegisterBankInfo::ValueMapping *
95 static const RegisterBankInfo::ValueMapping *
DAArch64GenRegisterBankInfo.def36 RegisterBankInfo::ValueMapping AArch64GenRegisterBankInfo::ValMappings[]{
130 const ValueMapping &Map =
187 const RegisterBankInfo::ValueMapping *
211 const RegisterBankInfo::ValueMapping *
234 const RegisterBankInfo::ValueMapping *
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86RegisterBankInfo.h34 static RegisterBankInfo::ValueMapping ValMappings[];
37 static const RegisterBankInfo::ValueMapping *
63 SmallVectorImpl<const ValueMapping *> &OpdsMapping);
DX86RegisterBankInfo.cpp126 SmallVectorImpl<const ValueMapping *> &OpdsMapping) { in getInstrValueMapping()
236 SmallVector<const ValueMapping *, 8> OpdsMapping(NumOperands); in getInstrMapping()
273 SmallVector<const ValueMapping *, 8> OpdsMapping(NumOperands); in getInstrAlternativeMappings()
DX86GenRegisterBankInfo.def52 RegisterBankInfo::ValueMapping X86GenRegisterBankInfo::ValMappings[]{
88 const RegisterBankInfo::ValueMapping *
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DJumpThreading.cpp1352 DenseMap<Instruction*, Value*> ValueMapping; in ThreadEdge() local
1361 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in ThreadEdge()
1369 ValueMapping[BI] = New; in ThreadEdge()
1374 DenseMap<Instruction*, Value*>::iterator I = ValueMapping.find(Inst); in ThreadEdge()
1375 if (I != ValueMapping.end()) in ThreadEdge()
1387 AddPHINodeEntriesForMappedBlock(SuccBB, BB, NewBB, ValueMapping); in ThreadEdge()
1421 SSAUpdate.AddAvailableValue(NewBB, ValueMapping[I]); in ThreadEdge()
1503 DenseMap<Instruction*, Value*> ValueMapping; in DuplicateCondBranchOnPHIIntoPred() local
1507 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in DuplicateCondBranchOnPHIIntoPred()
1517 DenseMap<Instruction*, Value*>::iterator I = ValueMapping.find(Inst); in DuplicateCondBranchOnPHIIntoPred()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPURegisterBankInfo.cpp208 SmallVector<const ValueMapping*, 8> OpdsMapping(MI.getNumOperands()); in getDefaultMappingSOP()
222 SmallVector<const ValueMapping*, 8> OpdsMapping(MI.getNumOperands()); in getDefaultMappingVOP()
250 SmallVector<const ValueMapping*, 8> OpdsMapping(MI.getNumOperands()); in getInstrMappingForLoad()
254 const ValueMapping *ValMapping; in getInstrMappingForLoad()
255 const ValueMapping *PtrMapping; in getInstrMappingForLoad()
302 SmallVector<const ValueMapping*, 8> OpdsMapping(MI.getNumOperands()); in getInstrMapping()
415 const ValueMapping *ValMapping = in getInstrMapping()
420 const ValueMapping *PtrMapping = in getInstrMapping()
DAMDGPUGenRegisterBankInfo.def57 const RegisterBankInfo::ValueMapping ValMappings[] {
87 const RegisterBankInfo::ValueMapping *getValueMapping(unsigned BankID,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsRegisterBankInfo.cpp37 RegisterBankInfo::ValueMapping ValueMappings[] = {
80 const ValueMapping *OperandsMapping = &Mips::ValueMappings[Mips::GPRIdx]; in getInstrMapping()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp80 SmallDenseMap<BasicBlock *, Value *, 8> &ValueMapping) { in IsEquivalentPHI() argument
82 if (PHINumValues != ValueMapping.size()) in IsEquivalentPHI()
87 if (ValueMapping[PHI->getIncomingBlock(i)] != in IsEquivalentPHI()
153 SmallDenseMap<BasicBlock *, Value *, 8> ValueMapping(PredValues.begin(), in GetValueInMiddleOfBlock() local
156 if (IsEquivalentPHI(&SomePHI, ValueMapping)) in GetValueInMiddleOfBlock()
DCloneFunction.cpp801 ValueToValueMapTy &ValueMapping, in DuplicateInstructionsInSplitBetween() argument
808 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in DuplicateInstructionsInSplitBetween()
822 ValueMapping[&*BI] = New; in DuplicateInstructionsInSplitBetween()
827 auto I = ValueMapping.find(Inst); in DuplicateInstructionsInSplitBetween()
828 if (I != ValueMapping.end()) in DuplicateInstructionsInSplitBetween()
/external/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp66 SmallDenseMap<BasicBlock*, Value*, 8> &ValueMapping) { in IsEquivalentPHI() argument
68 if (PHINumValues != ValueMapping.size()) in IsEquivalentPHI()
73 if (ValueMapping[PHI->getIncomingBlock(i)] != in IsEquivalentPHI()
139 SmallDenseMap<BasicBlock*, Value*, 8> ValueMapping(PredValues.begin(), in GetValueInMiddleOfBlock() local
144 if (IsEquivalentPHI(SomePHI, ValueMapping)) in GetValueInMiddleOfBlock()
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1485 DenseMap<Instruction*, Value*> ValueMapping; in ThreadEdge() local
1501 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in ThreadEdge()
1509 ValueMapping[&*BI] = New; in ThreadEdge()
1514 DenseMap<Instruction*, Value*>::iterator I = ValueMapping.find(Inst); in ThreadEdge()
1515 if (I != ValueMapping.end()) in ThreadEdge()
1527 AddPHINodeEntriesForMappedBlock(SuccBB, BB, NewBB, ValueMapping); in ThreadEdge()
1560 SSAUpdate.AddAvailableValue(NewBB, ValueMapping[&I]); in ThreadEdge()
1728 DenseMap<Instruction*, Value*> ValueMapping; in DuplicateCondBranchOnPHIIntoPred() local
1732 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in DuplicateCondBranchOnPHIIntoPred()
1741 DenseMap<Instruction*, Value*>::iterator I = ValueMapping.find(Inst); in DuplicateCondBranchOnPHIIntoPred()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSSAUpdater.cpp74 DenseMap<BasicBlock*, Value*> &ValueMapping) { in IsEquivalentPHI() argument
76 if (PHINumValues != ValueMapping.size()) in IsEquivalentPHI()
81 if (ValueMapping[PHI->getIncomingBlock(i)] != in IsEquivalentPHI()
168 DenseMap<BasicBlock*, Value*> ValueMapping(PredValues.begin(), in GetValueInMiddleOfBlock() local
173 if (IsEquivalentPHI(SomePHI, ValueMapping)) in GetValueInMiddleOfBlock()
/external/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp84 unsigned Reg, const RegisterBankInfo::ValueMapping &ValMapping, in assignmentMatch()
107 MachineOperand &MO, const RegisterBankInfo::ValueMapping &ValMapping, in repairReg()
156 const RegisterBankInfo::ValueMapping &ValMapping) const { in getRepairCost()
228 const RegisterBankInfo::ValueMapping &ValMapping) const { in tryAvoidingSplit()
374 const RegisterBankInfo::ValueMapping &ValMapping = in computeMapping()
484 const RegisterBankInfo::ValueMapping &ValMapping = in applyMapping()
DRegisterBankInfo.cpp409 bool RegisterBankInfo::ValueMapping::verify(unsigned ExpectedBitWidth) const { in verify()
437 void RegisterBankInfo::ValueMapping::dump() const { in dump()
442 void RegisterBankInfo::ValueMapping::print(raw_ostream &OS) const { in print()
476 const RegisterBankInfo::ValueMapping &MOMapping = getOperandMapping(Idx); in verify()
504 const ValueMapping &ValMapping = getOperandMapping(OpIdx); in print()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1957 DenseMap<Instruction*, Value*> ValueMapping; in ThreadEdge() local
1973 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in ThreadEdge()
1981 ValueMapping[&*BI] = New; in ThreadEdge()
1986 DenseMap<Instruction*, Value*>::iterator I = ValueMapping.find(Inst); in ThreadEdge()
1987 if (I != ValueMapping.end()) in ThreadEdge()
1999 AddPHINodeEntriesForMappedBlock(SuccBB, BB, NewBB, ValueMapping); in ThreadEdge()
2048 SSAUpdate.AddAvailableValue(NewBB, ValueMapping[&I]); in ThreadEdge()
2286 DenseMap<Instruction*, Value*> ValueMapping; in DuplicateCondBranchOnPHIIntoPred() local
2290 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in DuplicateCondBranchOnPHIIntoPred()
2299 DenseMap<Instruction*, Value*>::iterator I = ValueMapping.find(Inst); in DuplicateCondBranchOnPHIIntoPred()
[all …]

12