Searched refs:ValueMapping (Results 1 – 3 of 3) sorted by relevance
/external/llvm/tools/verify-uselistorder/ |
D | verify-uselistorder.cpp | 83 struct ValueMapping { struct 98 ValueMapping(const Module &M); 181 ValueMapping::ValueMapping(const Module &M) { in ValueMapping() function in ValueMapping 230 void ValueMapping::map(const Value *V) { in map() 244 static void dumpMapping(const ValueMapping &VM) { in dumpMapping() 252 static void debugValue(const ValueMapping &M, unsigned I, StringRef Desc) { in debugValue() 263 static void debugUserMismatch(const ValueMapping &L, const ValueMapping &R, in debugUserMismatch() 275 static void debugSizeMismatch(const ValueMapping &L, const ValueMapping &R) { in debugSizeMismatch() 285 static bool matches(const ValueMapping &LM, const ValueMapping &RM) { in matches() 298 const ValueMapping &M) { in matches() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 1434 DenseMap<Instruction*, Value*> ValueMapping; in ThreadEdge() local 1443 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in ThreadEdge() 1451 ValueMapping[BI] = New; in ThreadEdge() 1456 DenseMap<Instruction*, Value*>::iterator I = ValueMapping.find(Inst); in ThreadEdge() 1457 if (I != ValueMapping.end()) in ThreadEdge() 1469 AddPHINodeEntriesForMappedBlock(SuccBB, BB, NewBB, ValueMapping); in ThreadEdge() 1502 SSAUpdate.AddAvailableValue(NewBB, ValueMapping[I]); in ThreadEdge() 1583 DenseMap<Instruction*, Value*> ValueMapping; in DuplicateCondBranchOnPHIIntoPred() local 1587 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in DuplicateCondBranchOnPHIIntoPred() 1596 DenseMap<Instruction*, Value*>::iterator I = ValueMapping.find(Inst); in DuplicateCondBranchOnPHIIntoPred() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | SSAUpdater.cpp | 66 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()
|