Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/Transforms/Utils/
DValueMapper.h23 typedef ValueMap<const Value *, WeakVH> ValueToValueMapTy; typedef
69 Value *MapValue(const Value *V, ValueToValueMapTy &VM,
74 Metadata *MapMetadata(const Metadata *MD, ValueToValueMapTy &VM,
80 MDNode *MapMetadata(const MDNode *MD, ValueToValueMapTy &VM,
85 void RemapInstruction(Instruction *I, ValueToValueMapTy &VM,
91 inline Constant *MapValue(const Constant *V, ValueToValueMapTy &VM,
DCloning.h52 Module *CloneModule(const Module *M, ValueToValueMapTy &VMap);
98 BasicBlock *CloneBasicBlock(const BasicBlock *BB, ValueToValueMapTy &VMap,
114 Function *CloneFunction(const Function *F, ValueToValueMapTy &VMap,
128 ValueToValueMapTy &VMap, bool ModuleLevelChanges,
155 virtual CloningAction handleInstruction(ValueToValueMapTy &VMap,
165 ValueToValueMapTy &VMap, bool ModuleLevelChanges,
184 ValueToValueMapTy &VMap, bool ModuleLevelChanges,
/external/llvm/include/llvm/ExecutionEngine/Orc/
DCloneSubModule.h33 ValueToValueMapTy &)> HandleGlobalVariableFtor;
37 typedef std::function<void(Function &, const Function &, ValueToValueMapTy &)>
44 ValueToValueMapTy &VMap);
50 ValueToValueMapTy &VMap);
/external/llvm/lib/Transforms/Utils/
DValueMapper.cpp27 Value *llvm::MapValue(const Value *V, ValueToValueMapTy &VM, RemapFlags Flags, in MapValue()
30 ValueToValueMapTy::iterator I = VM.find(V); in MapValue()
147 static Metadata *mapToMetadata(ValueToValueMapTy &VM, const Metadata *Key, in mapToMetadata()
153 static Metadata *mapToSelf(ValueToValueMapTy &VM, const Metadata *MD) { in mapToSelf()
159 ValueToValueMapTy &VM, RemapFlags Flags,
164 ValueToValueMapTy &VM, RemapFlags Flags, in mapMetadataOp()
191 SmallVectorImpl<MDNode *> &Cycles, ValueToValueMapTy &VM, in remap()
223 ValueToValueMapTy &VM, RemapFlags Flags, in mapDistinctNode()
245 ValueToValueMapTy &VM, RemapFlags Flags, in mapUniquedNode()
263 ValueToValueMapTy &VM, RemapFlags Flags, in MapMetadataImpl()
[all …]
DLoopUnroll.cpp50 ValueToValueMapTy &VMap) { in RemapInstruction()
53 ValueToValueMapTy::iterator It = VMap.find(Op); in RemapInstruction()
60 ValueToValueMapTy::iterator It = VMap.find(PN->getIncomingBlock(i)); in RemapInstruction()
289 ValueToValueMapTy LastValueMap; in UnrollLoop()
316 ValueToValueMapTy VMap; in UnrollLoop()
363 for (ValueToValueMapTy::iterator VI = VMap.begin(), VE = VMap.end(); in UnrollLoop()
375 ValueToValueMapTy::iterator It = LastValueMap.find(Incoming); in UnrollLoop()
DCloneFunction.cpp39 ValueToValueMapTy &VMap, in CloneBasicBlock()
78 ValueToValueMapTy &VMap, in CloneFunctionInto()
180 ValueToValueMapTy &VMap) { in CloneDebugInfoMetadata()
214 Function *llvm::CloneFunction(const Function *F, ValueToValueMapTy &VMap, in CloneFunction()
258 ValueToValueMapTy &VMap;
268 ValueToValueMapTy &valueMap, bool moduleLevelChanges, in PruningFunctionCloner()
467 ValueToValueMapTy &VMap, in CloneAndPruneIntoFromInst()
711 ValueToValueMapTy &VMap, in CloneAndPruneFunctionInto()
DCloneModule.cpp31 ValueToValueMapTy VMap; in CloneModule()
35 Module *llvm::CloneModule(const Module *M, ValueToValueMapTy &VMap) { in CloneModule()
DLoopUnrollRuntime.cpp65 ValueToValueMapTy &VMap, AliasAnalysis *AA, in ConnectProlog()
145 LoopBlocksDFS &LoopBlocks, ValueToValueMapTy &VMap, in CloneLoopBlocks()
390 ValueToValueMapTy VMap; in UnrollRuntimeLoopProlog()
DInlineFunction.cpp288 static void CloneAliasScopeMetadata(CallSite CS, ValueToValueMapTy &VMap) { in CloneAliasScopeMetadata()
353 for (ValueToValueMapTy::iterator VMI = VMap.begin(), VMIE = VMap.end(); in CloneAliasScopeMetadata()
397 static void AddAliasScopeMetadata(CallSite CS, ValueToValueMapTy &VMap, in AddAliasScopeMetadata()
452 for (ValueToValueMapTy::iterator VMI = VMap.begin(), VMIE = VMap.end(); in AddAliasScopeMetadata()
665 ValueToValueMapTy &VMap, in UpdateCallGraphAfterInlining()
688 ValueToValueMapTy::iterator VMI = VMap.find(OrigCall); in UpdateCallGraphAfterInlining()
995 ValueToValueMapTy VMap; in InlineFunction()
/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp160 void remapEHValues(ValueToValueMapTy &VMap, Value *EHPtrValue,
180 CloningAction handleInstruction(ValueToValueMapTy &VMap,
184 virtual CloningAction handleBeginCatch(ValueToValueMapTy &VMap,
187 virtual CloningAction handleEndCatch(ValueToValueMapTy &VMap,
190 virtual CloningAction handleTypeIdFor(ValueToValueMapTy &VMap,
193 virtual CloningAction handleInvoke(ValueToValueMapTy &VMap,
196 virtual CloningAction handleResume(ValueToValueMapTy &VMap,
199 virtual CloningAction handleLandingPad(ValueToValueMapTy &VMap,
222 CloningAction handleBeginCatch(ValueToValueMapTy &VMap,
225 CloningAction handleEndCatch(ValueToValueMapTy &VMap, const Instruction *Inst,
[all …]
/external/llvm/lib/ExecutionEngine/Orc/
DCloneSubModule.cpp11 ValueToValueMapTy &VMap) { in copyGVInitializer()
17 ValueToValueMapTy &VMap) { in copyFunctionBody()
35 ValueToValueMapTy VMap; in CloneSubModule()
DIndirectionUtils.cpp94 ValueToValueMapTy &VMap) { in partition()
108 [&](Function &New, const Function &Orig, ValueToValueMapTy &VMap) { in partition()
/external/llvm/unittests/Transforms/Utils/
DValueMapperTest.cpp23 ValueToValueMapTy VM; in TEST()
DCloning.cpp172 ValueToValueMapTy VMap; in TEST_F()
195 ValueToValueMapTy VMap; in TEST_F()
275 ValueToValueMapTy VMap; in CreateNewFunc()
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp58 void remapNamedMDNode(ValueToValueMapTy &VM, NamedMDNode *N);
129 ValueToValueMapTy VM; in runOnModule()
372 void GenericToNVVM::remapNamedMDNode(ValueToValueMapTy &VM, NamedMDNode *N) { in remapNamedMDNode()
/external/llvm/tools/bugpoint/
DExtractFunction.cpp218 ValueToValueMapTy &VMap) { in SplitStaticCtorDtor()
281 ValueToValueMapTy &VMap) { in SplitFunctionsOutOfModule()
293 ValueToValueMapTy NewVMap; in SplitFunctionsOutOfModule()
DMiscompilation.cpp261 ValueToValueMapTy VMap; in TestFuncs()
310 ValueToValueMapTy VMap; in ExtractLoops()
500 ValueToValueMapTy VMap; in TestFuncs()
576 ValueToValueMapTy VMap; in ExtractBlocks()
759 ValueToValueMapTy VMap; in debugMiscompilation()
1036 ValueToValueMapTy VMap; in debugCodeGenerator()
DCrashDebugger.cpp131 ValueToValueMapTy VMap; in TestGlobalVariables()
205 ValueToValueMapTy VMap; in TestFuncs()
272 ValueToValueMapTy VMap; in TestBlocks()
381 ValueToValueMapTy VMap; in TestInsts()
DBugDriver.h333 ValueToValueMapTy &VMap);
/external/llvm/lib/Target/R600/
DAMDGPUAlwaysInlinePass.cpp48 ValueToValueMapTy VMap; in runOnModule()
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp126 const ValueToValueMapTy &VMap);
306 const ValueToValueMapTy &VMap) { in cloneData()
670 static Loop *CloneLoop(Loop *L, Loop *PL, ValueToValueMapTy &VM, in CloneLoop()
822 ValueToValueMapTy VMap; in UnswitchNontrivialCondition()
869 ValueToValueMapTy::iterator It = VMap.find(V); in UnswitchNontrivialCondition()
DLoopRotation.cpp140 ValueToValueMapTy &ValueMap) { in RewriteUsesOfClonedInstructions()
410 ValueToValueMapTy ValueMap; in rotateLoop()
/external/llvm/lib/Transforms/IPO/
DPartialInlining.cpp73 ValueToValueMapTy VMap; in unswitchFunction()
/external/llvm/tools/gold/
Dgold-plugin.cpp569 static Constant *mapConstantToLocalCopy(Constant *C, ValueToValueMapTy &VM, in mapConstantToLocalCopy()
702 ValueToValueMapTy VM; in getModuleForFile()
/external/clang/lib/CodeGen/
DCGVTables.cpp141 llvm::ValueToValueMapTy VMap; in GenerateVarArgsThunk()

12