Home
last modified time | relevance | path

Searched refs:ValueMapping (Results 1 – 3 of 3) 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
232 void ValueMapping::map(const Value *V) { in map()
246 static void dumpMapping(const ValueMapping &VM) { in dumpMapping()
254 static void debugValue(const ValueMapping &M, unsigned I, StringRef Desc) { in debugValue()
265 static void debugUserMismatch(const ValueMapping &L, const ValueMapping &R, in debugUserMismatch()
277 static void debugSizeMismatch(const ValueMapping &L, const ValueMapping &R) { in debugSizeMismatch()
287 static bool matches(const ValueMapping &LM, const ValueMapping &RM) { in matches()
300 const ValueMapping &M) { in matches()
[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/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1490 DenseMap<Instruction*, Value*> ValueMapping; in ThreadEdge() local
1506 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in ThreadEdge()
1514 ValueMapping[&*BI] = New; in ThreadEdge()
1519 DenseMap<Instruction*, Value*>::iterator I = ValueMapping.find(Inst); in ThreadEdge()
1520 if (I != ValueMapping.end()) in ThreadEdge()
1532 AddPHINodeEntriesForMappedBlock(SuccBB, BB, NewBB, ValueMapping); in ThreadEdge()
1565 SSAUpdate.AddAvailableValue(NewBB, ValueMapping[&*I]); in ThreadEdge()
1720 DenseMap<Instruction*, Value*> ValueMapping; in DuplicateCondBranchOnPHIIntoPred() local
1724 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in DuplicateCondBranchOnPHIIntoPred()
1733 DenseMap<Instruction*, Value*>::iterator I = ValueMapping.find(Inst); in DuplicateCondBranchOnPHIIntoPred()
[all …]