Home
last modified time | relevance | path

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

/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/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/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/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/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/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/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()