Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DCloning.h53 std::unique_ptr<Module> CloneModule(const Module &M, ValueToValueMapTy &VMap);
60 CloneModule(const Module &M, ValueToValueMapTy &VMap,
112 BasicBlock *CloneBasicBlock(const BasicBlock *BB, ValueToValueMapTy &VMap,
129 Function *CloneFunction(Function *F, ValueToValueMapTy &VMap,
142 ValueToValueMapTy &VMap, bool ModuleLevelChanges,
151 ValueToValueMapTy &VMap, bool ModuleLevelChanges,
168 ValueToValueMapTy &VMap, bool ModuleLevelChanges,
250 Loop *OrigLoop, ValueToValueMapTy &VMap,
257 ValueToValueMapTy &VMap);
268 ValueToValueMapTy &ValueMapping,
DValueMapper.h34 using ValueToValueMapTy = ValueMap<const Value *, WeakTrackingVH>; variable
146 ValueMapper(ValueToValueMapTy &VM, RemapFlags Flags = RF_None,
160 registerAlternateMappingContext(ValueToValueMapTy &VM,
206 inline Value *MapValue(const Value *V, ValueToValueMapTy &VM,
228 inline Metadata *MapMetadata(const Metadata *MD, ValueToValueMapTy &VM,
236 inline MDNode *MapMetadata(const MDNode *MD, ValueToValueMapTy &VM,
251 inline void RemapInstruction(Instruction *I, ValueToValueMapTy &VM,
264 inline void RemapFunction(Function &F, ValueToValueMapTy &VM,
272 inline Constant *MapValue(const Constant *V, ValueToValueMapTy &VM,
/external/llvm/include/llvm/Transforms/Utils/
DCloning.h54 std::unique_ptr<Module> CloneModule(const Module *M, ValueToValueMapTy &VMap);
61 CloneModule(const Module *M, ValueToValueMapTy &VMap,
113 BasicBlock *CloneBasicBlock(const BasicBlock *BB, ValueToValueMapTy &VMap,
129 Function *CloneFunction(Function *F, ValueToValueMapTy &VMap,
142 ValueToValueMapTy &VMap, bool ModuleLevelChanges,
151 ValueToValueMapTy &VMap, bool ModuleLevelChanges,
168 ValueToValueMapTy &VMap, bool ModuleLevelChanges,
225 Loop *OrigLoop, ValueToValueMapTy &VMap,
232 ValueToValueMapTy &VMap);
DValueMapper.h24 typedef ValueMap<const Value *, WeakVH> ValueToValueMapTy; typedef
142 ValueMapper(ValueToValueMapTy &VM, RemapFlags Flags = RF_None,
152 registerAlternateMappingContext(ValueToValueMapTy &VM,
198 inline Value *MapValue(const Value *V, ValueToValueMapTy &VM,
220 inline Metadata *MapMetadata(const Metadata *MD, ValueToValueMapTy &VM,
228 inline MDNode *MapMetadata(const MDNode *MD, ValueToValueMapTy &VM,
243 inline void RemapInstruction(Instruction *I, ValueToValueMapTy &VM,
256 inline void RemapFunction(Function &F, ValueToValueMapTy &VM,
264 inline Constant *MapValue(const Constant *V, ValueToValueMapTy &VM,
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DValueMapperTest.cpp27 ValueToValueMapTy VM; in TEST()
54 ValueToValueMapTy VM; in TEST()
61 ValueToValueMapTy VM; in TEST()
95 ValueToValueMapTy VM; in TEST()
112 ValueToValueMapTy VM; in TEST()
122 ValueToValueMapTy VM; in TEST()
127 ValueToValueMapTy VM; in TEST()
139 ValueToValueMapTy VM; in TEST()
152 ValueToValueMapTy VM; in TEST()
165 ValueToValueMapTy VM; in TEST()
[all …]
/external/llvm/unittests/Transforms/Utils/
DValueMapperTest.cpp27 ValueToValueMapTy VM; in TEST()
54 ValueToValueMapTy VM; in TEST()
61 ValueToValueMapTy VM; in TEST()
95 ValueToValueMapTy VM; in TEST()
112 ValueToValueMapTy VM; in TEST()
122 ValueToValueMapTy VM; in TEST()
127 ValueToValueMapTy VM; in TEST()
139 ValueToValueMapTy VM; in TEST()
152 ValueToValueMapTy VM; in TEST()
165 ValueToValueMapTy VM; in TEST()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/
DCloning.h50 Module *CloneModule(const Module *M, ValueToValueMapTy &VMap);
106 ValueToValueMapTy &VMap,
123 ValueToValueMapTy &VMap,
130 ValueToValueMapTy VMap;
144 ValueToValueMapTy &VMap,
162 ValueToValueMapTy &VMap,
DValueMapper.h23 typedef ValueMap<const Value *, TrackingVH<Value> > ValueToValueMapTy; typedef
56 Value *MapValue(const Value *V, ValueToValueMapTy &VM,
60 void RemapInstruction(Instruction *I, ValueToValueMapTy &VM,
66 inline MDNode *MapValue(const MDNode *V, ValueToValueMapTy &VM,
71 inline Constant *MapValue(const Constant *V, ValueToValueMapTy &VM,
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLoopUnroll.cpp42 ValueToValueMapTy &VMap) { in RemapInstruction()
45 ValueToValueMapTy::iterator It = VMap.find(Op); in RemapInstruction()
52 ValueToValueMapTy::iterator It = VMap.find(PN->getIncomingBlock(i)); in RemapInstruction()
223 ValueToValueMapTy LastValueMap; in UnrollLoop()
248 ValueToValueMapTy VMap; in UnrollLoop()
267 for (ValueToValueMapTy::iterator VI = VMap.begin(), VE = VMap.end(); in UnrollLoop()
281 ValueToValueMapTy::iterator It = LastValueMap.find(Incoming); in UnrollLoop()
DCloneFunction.cpp35 ValueToValueMapTy &VMap, in CloneBasicBlock()
75 ValueToValueMapTy &VMap, in CloneFunctionInto()
140 Function *llvm::CloneFunction(const Function *F, ValueToValueMapTy &VMap, in CloneFunction()
182 ValueToValueMapTy &VMap;
190 ValueToValueMapTy &valueMap, in PruningFunctionCloner()
348 ValueToValueMapTy &VMap, in CloneAndPruneFunctionInto()
DValueMapper.cpp26 Value *llvm::MapValue(const Value *V, ValueToValueMapTy &VM, RemapFlags Flags, in MapValue()
28 ValueToValueMapTy::iterator I = VM.find(V); in MapValue()
160 void llvm::RemapInstruction(Instruction *I, ValueToValueMapTy &VMap, in RemapInstruction()
DCloneModule.cpp30 ValueToValueMapTy VMap; in CloneModule()
34 Module *llvm::CloneModule(const Module *M, ValueToValueMapTy &VMap) { in CloneModule()
/external/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp165 ValueToValueMapTy *VMap) { in cloneFunctionDecl()
183 void moveFunctionBody(Function &OrigF, ValueToValueMapTy &VMap, in moveFunctionBody()
203 ValueToValueMapTy *VMap) { in cloneGlobalVariableDecl()
216 ValueToValueMapTy &VMap, in moveGlobalVariableInitializer()
234 ValueToValueMapTy &VMap) { in cloneGlobalAliasDecl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp267 ValueToValueMapTy *VMap) { in cloneFunctionDecl()
284 void moveFunctionBody(Function &OrigF, ValueToValueMapTy &VMap, in moveFunctionBody()
304 ValueToValueMapTy *VMap) { in cloneGlobalVariableDecl()
316 ValueToValueMapTy &VMap, in moveGlobalVariableInitializer()
334 ValueToValueMapTy &VMap) { in cloneGlobalAliasDecl()
345 ValueToValueMapTy &VMap) { in cloneModuleFlagsMetadata()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DIndirectionUtils.h348 ValueToValueMapTy *VMap = nullptr);
358 void moveFunctionBody(Function &OrigF, ValueToValueMapTy &VMap,
364 ValueToValueMapTy *VMap = nullptr);
375 ValueToValueMapTy &VMap,
381 ValueToValueMapTy &VMap);
385 ValueToValueMapTy &VMap);
/external/llvm/lib/Transforms/Utils/
DCloneFunction.cpp40 ValueToValueMapTy &VMap, in CloneBasicBlock()
79 ValueToValueMapTy &VMap, in CloneFunctionInto()
182 Function *llvm::CloneFunction(Function *F, ValueToValueMapTy &VMap, in CloneFunction()
223 ValueToValueMapTy &VMap;
230 ValueToValueMapTy &valueMap, bool moduleLevelChanges, in PruningFunctionCloner()
394 ValueToValueMapTy &VMap, in CloneAndPruneIntoFromInst()
630 ValueToValueMapTy &VMap, in CloneAndPruneFunctionInto()
642 const SmallVectorImpl<BasicBlock *> &Blocks, ValueToValueMapTy &VMap) { in remapInstructionsInBlocks()
656 Loop *OrigLoop, ValueToValueMapTy &VMap, in cloneLoopWithPreheader()
DLoopUnroll.cpp56 ValueToValueMapTy &VMap) { in remapInstruction()
59 ValueToValueMapTy::iterator It = VMap.find(Op); in remapInstruction()
66 ValueToValueMapTy::iterator It = VMap.find(PN->getIncomingBlock(i)); in remapInstruction()
363 ValueToValueMapTy LastValueMap; in UnrollLoop()
391 ValueToValueMapTy VMap; in UnrollLoop()
438 for (ValueToValueMapTy::iterator VI = VMap.begin(), VE = VMap.end(); in UnrollLoop()
449 ValueToValueMapTy::iterator It = LastValueMap.find(Incoming); in UnrollLoop()
DCloneModule.cpp30 ValueToValueMapTy VMap; in CloneModule()
35 ValueToValueMapTy &VMap) { in CloneModule()
40 const Module *M, ValueToValueMapTy &VMap, in CloneModule()
DValueMapper.cpp88 ValueToValueMapTy *VM;
92 explicit MappingContext(ValueToValueMapTy &VM, in MappingContext()
114 Mapper(ValueToValueMapTy &VM, RemapFlags Flags, in Mapper()
125 registerAlternateMappingContext(ValueToValueMapTy &VM, in registerAlternateMappingContext()
165 void remapFunction(Function &F, ValueToValueMapTy &VM);
167 ValueToValueMapTy &getVM() { return *MCs[CurrentMCID].VM; } in getVM()
340 ValueToValueMapTy::iterator I = getVM().find(V); in mapValue()
767 ValueToValueMapTy &VM;
769 MapMetadataDisabler(ValueToValueMapTy &VM) : VM(VM) { in MapMetadataDisabler()
1059 ValueMapper::ValueMapper(ValueToValueMapTy &VM, RemapFlags Flags, in ValueMapper()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DCloneFunction.cpp40 BasicBlock *llvm::CloneBasicBlock(const BasicBlock *BB, ValueToValueMapTy &VMap, in CloneBasicBlock()
85 ValueToValueMapTy &VMap, in CloneFunctionInto()
222 Function *llvm::CloneFunction(Function *F, ValueToValueMapTy &VMap, in CloneFunction()
263 ValueToValueMapTy &VMap;
270 ValueToValueMapTy &valueMap, bool moduleLevelChanges, in PruningFunctionCloner()
435 ValueToValueMapTy &VMap, in CloneAndPruneIntoFromInst()
712 ValueToValueMapTy &VMap, in CloneAndPruneFunctionInto()
724 const SmallVectorImpl<BasicBlock *> &Blocks, ValueToValueMapTy &VMap) { in remapInstructionsInBlocks()
738 Loop *OrigLoop, ValueToValueMapTy &VMap, in cloneLoopWithPreheader()
801 ValueToValueMapTy &ValueMapping, in DuplicateInstructionsInSplitBetween()
DValueMapper.cpp99 ValueToValueMapTy *VM;
103 explicit MappingContext(ValueToValueMapTy &VM, in MappingContext()
124 Mapper(ValueToValueMapTy &VM, RemapFlags Flags, in Mapper()
135 registerAlternateMappingContext(ValueToValueMapTy &VM, in registerAlternateMappingContext()
177 void remapFunction(Function &F, ValueToValueMapTy &VM);
179 ValueToValueMapTy &getVM() { return *MCs[CurrentMCID].VM; } in getVM()
341 ValueToValueMapTy::iterator I = getVM().find(V); in mapValue()
781 ValueToValueMapTy &VM;
783 MapMetadataDisabler(ValueToValueMapTy &VM) : VM(VM) { in MapMetadataDisabler()
1080 ValueMapper::ValueMapper(ValueToValueMapTy &VM, RemapFlags Flags, in ValueMapper()
[all …]
DLoopUnroll.cpp66 void llvm::remapInstruction(Instruction *I, ValueToValueMapTy &VMap) { in remapInstruction()
83 ValueToValueMapTy::iterator It = VMap.find(Op); in remapInstruction()
90 ValueToValueMapTy::iterator It = VMap.find(PN->getIncomingBlock(i)); in remapInstruction()
564 ValueToValueMapTy LastValueMap; in UnrollLoop()
608 ValueToValueMapTy VMap; in UnrollLoop()
634 for (ValueToValueMapTy::iterator VI = VMap.begin(), VE = VMap.end(); in UnrollLoop()
644 ValueToValueMapTy::iterator It = LastValueMap.find(Incoming); in UnrollLoop()
DCloneModule.cpp38 ValueToValueMapTy VMap; in CloneModule()
43 ValueToValueMapTy &VMap) { in CloneModule()
48 const Module &M, ValueToValueMapTy &VMap, in CloneModule()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DIndirectionUtils.h382 ValueToValueMapTy *VMap = nullptr);
392 void moveFunctionBody(Function &OrigF, ValueToValueMapTy &VMap,
398 ValueToValueMapTy *VMap = nullptr);
409 ValueToValueMapTy &VMap,
415 ValueToValueMapTy &VMap);
/external/llvm/lib/Target/NVPTX/
DNVPTXInferAddressSpaces.cpp254 const ValueToValueMapTy &ValueWithNewAddrSpace, in operandWithNewAddressSpaceOrCreateUndef()
276 const ValueToValueMapTy &ValueWithNewAddrSpace, in cloneInstructionWithNewAddressSpace()
334 const ValueToValueMapTy &ValueWithNewAddrSpace) { in cloneConstantExprWithNewAddressSpace()
382 const ValueToValueMapTy &ValueWithNewAddrSpace, in cloneValueWithNewAddressSpace()
516 ValueToValueMapTy ValueWithNewAddrSpace; in rewriteWithNewAddressSpaces()

1234