reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Transforms/Utils/ValueMapper.h
   33 using ValueToValueMapTy = ValueMap<const Value *, WeakTrackingVH>;

References

include/llvm/Analysis/MemorySSAUpdater.h
  121                            const ValueToValueMapTy &VM,
  126                                     const ValueToValueMapTy &VM);
  130                                      const ValueToValueMapTy &VMap,
  134       ArrayRef<std::unique_ptr<ValueToValueMapTy>> VMaps, DominatorTree &DT);
  298                         const ValueToValueMapTy &VMap, PhiToDefMap &MPhiMap,
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
  451     ValueToValueMapTy VMap;
  642     ValueToValueMapTy VMap;
include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
  450                             ValueToValueMapTy *VMap = nullptr);
  460 void moveFunctionBody(Function &OrigF, ValueToValueMapTy &VMap,
  466                                         ValueToValueMapTy *VMap = nullptr);
  477                                    ValueToValueMapTy &VMap,
  483                                   ValueToValueMapTy &VMap);
  487                               ValueToValueMapTy &VMap);
include/llvm/Transforms/Utils/Cloning.h
   53 std::unique_ptr<Module> CloneModule(const Module &M, ValueToValueMapTy &VMap);
   60 CloneModule(const Module &M, ValueToValueMapTy &VMap,
  109 BasicBlock *CloneBasicBlock(const BasicBlock *BB, ValueToValueMapTy &VMap,
  126 Function *CloneFunction(Function *F, ValueToValueMapTy &VMap,
  139                        ValueToValueMapTy &VMap, bool ModuleLevelChanges,
  148                                ValueToValueMapTy &VMap, bool ModuleLevelChanges,
  165                                ValueToValueMapTy &VMap, bool ModuleLevelChanges,
  247                              Loop *OrigLoop, ValueToValueMapTy &VMap,
  254                                ValueToValueMapTy &VMap);
  265                                                 ValueToValueMapTy &ValueMapping,
include/llvm/Transforms/Utils/LoopVersioning.h
  122   ValueToValueMapTy VMap;
include/llvm/Transforms/Utils/UnrollLoop.h
  122 void remapInstruction(Instruction *I, ValueToValueMapTy &VMap);
include/llvm/Transforms/Utils/ValueMapper.h
  145   ValueMapper(ValueToValueMapTy &VM, RemapFlags Flags = RF_None,
  159   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,
lib/Analysis/MemorySSAUpdater.cpp
  546                                                   const ValueToValueMapTy &VMap,
  583                                         const ValueToValueMapTy &VMap,
  655                                            const ValueToValueMapTy &VMap,
  730     BasicBlock *BB, BasicBlock *P1, const ValueToValueMapTy &VM) {
  752     for (const ValueToValueMapTy *VMap : make_range(ValuesBegin, ValuesEnd))
  761     ArrayRef<BasicBlock *> ExitBlocks, const ValueToValueMapTy &VMap,
  763   const ValueToValueMapTy *const Arr[] = {&VMap};
  770     ArrayRef<std::unique_ptr<ValueToValueMapTy>> VMaps, DominatorTree &DT) {
  775       mapped_iterator<const std::unique_ptr<ValueToValueMapTy> *,
lib/CodeGen/WinEHPrepare.cpp
  736     ValueToValueMapTy VMap;
  878             ValueToValueMapTy::iterator I = VMap.find(Inst);
  888     for (ValueToValueMapTy::value_type VT : VMap) {
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
  287                             ValueToValueMapTy *VMap) {
  304 void moveFunctionBody(Function &OrigF, ValueToValueMapTy &VMap,
  324                                         ValueToValueMapTy *VMap) {
  336                                    ValueToValueMapTy &VMap,
  354                                   ValueToValueMapTy &VMap) {
  365                               ValueToValueMapTy &VMap) {
lib/ExecutionEngine/Orc/ThreadSafeModule.cpp
   31       ValueToValueMapTy VMap;
lib/Linker/IRMover.cpp
  400   ValueToValueMapTy ValueMap;
  401   ValueToValueMapTy IndirectSymbolValueMap;
lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
  269   ValueToValueMapTy dummy;
lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp
  307     ValueToValueMapTy VMap;
lib/Target/NVPTX/NVPTXGenericToNVVM.cpp
  124   ValueToValueMapTy VM;
lib/Transforms/Coroutines/CoroSplit.cpp
   98   ValueToValueMapTy VMap;
  498                                  ValueToValueMapTy *VMap) {
lib/Transforms/IPO/FunctionImport.cpp
 1051   ValueToValueMapTy VMap;
lib/Transforms/IPO/PartialInlining.cpp
  972   ValueToValueMapTy VMap;
  997   ValueToValueMapTy VMap;
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  273   ValueToValueMapTy VMap;
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
  379                         ValueToValueMapTy &VMap);
  383                                  ValueToValueMapTy &VMap);
 1731   ValueToValueMapTy VMap;
 1766                            ValueToValueMapTy &VMap) {
 1818                                     ValueToValueMapTy &VMap) {
lib/Transforms/Scalar/CallSiteSplitting.cpp
  327   ValueToValueMapTy ValueToValueMaps[2];
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  510     ValueToValueMapTy Map;
  553                                   ValueToValueMapTy &VM, bool IsSubloop);
 1365                                                  ValueToValueMapTy &VM,
lib/Transforms/Scalar/InferAddressSpaces.cpp
  199     const ValueToValueMapTy &ValueWithNewAddrSpace,
  415     const ValueToValueMapTy &ValueWithNewAddrSpace,
  443     const ValueToValueMapTy &ValueWithNewAddrSpace,
  505   const ValueToValueMapTy &ValueWithNewAddrSpace) {
  585   const ValueToValueMapTy &ValueWithNewAddrSpace,
  879   ValueToValueMapTy ValueWithNewAddrSpace;
lib/Transforms/Scalar/JumpThreading.cpp
 2716   ValueToValueMapTy UnguardedMapping, GuardedMapping;
lib/Transforms/Scalar/LoopDistribute.cpp
  206   ValueToValueMapTy &getVMap() { return VMap; }
  273   ValueToValueMapTy VMap;
lib/Transforms/Scalar/LoopUnswitch.cpp
  166                    const ValueToValueMapTy &VMap);
  357                                 const ValueToValueMapTy &VMap) {
  907 static Loop *CloneLoop(Loop *L, Loop *PL, ValueToValueMapTy &VM,
 1279   ValueToValueMapTy VMap;
 1322       ValueToValueMapTy::iterator It = VMap.find(V);
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  974     ValueToValueMapTy &VMap,
 1142                            const ValueToValueMapTy &VMap, LoopInfo &LI) {
 1201                              const ValueToValueMapTy &VMap, LoopInfo &LI,
 1451                        ArrayRef<std::unique_ptr<ValueToValueMapTy>> VMaps,
 2024   SmallVector<std::unique_ptr<ValueToValueMapTy>, 4> VMaps;
 2028     VMaps.emplace_back(new ValueToValueMapTy());
 2170   for (std::unique_ptr<ValueToValueMapTy> &VMap : VMaps)
lib/Transforms/Utils/BreakCriticalEdges.cpp
  407     ValueToValueMapTy VMap;
lib/Transforms/Utils/CloneFunction.cpp
   40 BasicBlock *llvm::CloneBasicBlock(const BasicBlock *BB, ValueToValueMapTy &VMap,
   85                              ValueToValueMapTy &VMap,
  237 Function *llvm::CloneFunction(Function *F, ValueToValueMapTy &VMap,
  278     ValueToValueMapTy &VMap;
  285                           ValueToValueMapTy &valueMap, bool moduleLevelChanges,
  450                                      ValueToValueMapTy &VMap,
  727                                      ValueToValueMapTy &VMap,
  739     const SmallVectorImpl<BasicBlock *> &Blocks, ValueToValueMapTy &VMap) {
  753                                    Loop *OrigLoop, ValueToValueMapTy &VMap,
  837     ValueToValueMapTy &ValueMapping, DomTreeUpdater &DTU) {
lib/Transforms/Utils/CloneModule.cpp
   37   ValueToValueMapTy VMap;
   42                                           ValueToValueMapTy &VMap) {
   47     const Module &M, ValueToValueMapTy &VMap,
lib/Transforms/Utils/InlineFunction.cpp
  771                                                 ValueToValueMapTy &VMap) {
  779   for (ValueToValueMapTy::iterator VMI = VMap.begin(), VMIE = VMap.end();
  813 static void CloneAliasScopeMetadata(CallSite CS, ValueToValueMapTy &VMap) {
  875   for (ValueToValueMapTy::iterator VMI = VMap.begin(), VMIE = VMap.end();
  919 static void AddAliasScopeMetadata(CallSite CS, ValueToValueMapTy &VMap,
  972   for (ValueToValueMapTy::iterator VMI = VMap.begin(), VMIE = VMap.end();
 1204     ValueToValueMapTy::iterator VMI = VMap.find(OrigCall);
 1451                             const ValueToValueMapTy &VMap,
 1479 static void updateCallProfile(Function *Callee, const ValueToValueMapTy &VMap,
 1676     ValueToValueMapTy VMap;
lib/Transforms/Utils/Local.cpp
 1455   ValueToValueMapTy DbgValueMap;
lib/Transforms/Utils/LoopRotationUtils.cpp
   85                                             ValueToValueMapTy &ValueMap,
  298   ValueToValueMapTy ValueMap, ValueMapMSSA;
lib/Transforms/Utils/LoopUnroll.cpp
   67 void llvm::remapInstruction(Instruction *I, ValueToValueMapTy &VMap) {
   84     ValueToValueMapTy::iterator It = VMap.find(Op);
   91       ValueToValueMapTy::iterator It = VMap.find(PN->getIncomingBlock(i));
  544   ValueToValueMapTy LastValueMap;
  607       ValueToValueMapTy VMap;
  633       for (ValueToValueMapTy::iterator VI = VMap.begin(), VE = VMap.end();
  643           ValueToValueMapTy::iterator It = LastValueMap.find(Incoming);
lib/Transforms/Utils/LoopUnrollAndJam.cpp
  282   ValueToValueMapTy LastValueMap;
  319       ValueToValueMapTy VMap;
  351       for (ValueToValueMapTy::iterator VI = VMap.begin(), VE = VMap.end();
lib/Transforms/Utils/LoopUnrollPeel.cpp
  472     ValueToValueMapTy &VMap, ValueToValueMapTy &LVMap, DominatorTree *DT,
  472     ValueToValueMapTy &VMap, ValueToValueMapTy &LVMap, DominatorTree *DT,
  681   ValueToValueMapTy LVMap;
  693     ValueToValueMapTy VMap;
lib/Transforms/Utils/LoopUnrollRuntime.cpp
   70                           ValueToValueMapTy &VMap, DominatorTree *DT,
  185                           ValueToValueMapTy &VMap, DominatorTree *DT,
  304                 ValueToValueMapTy &VMap, DominatorTree *DT, LoopInfo *LI) {
  775   ValueToValueMapTy VMap;
lib/Transforms/Utils/SimplifyCFG.cpp
 2727     ValueToValueMapTy VMap; // maps original values to cloned values
lib/Transforms/Utils/SplitModule.cpp
  272     ValueToValueMapTy VMap;
lib/Transforms/Utils/ValueMapper.cpp
   98   ValueToValueMapTy *VM;
  102   explicit MappingContext(ValueToValueMapTy &VM,
  123   Mapper(ValueToValueMapTy &VM, RemapFlags Flags,
  134   registerAlternateMappingContext(ValueToValueMapTy &VM,
  176   void remapFunction(Function &F, ValueToValueMapTy &VM);
  178   ValueToValueMapTy &getVM() { return *MCs[CurrentMCID].VM; }
  340   ValueToValueMapTy::iterator I = getVM().find(V);
 1077 ValueMapper::ValueMapper(ValueToValueMapTy &VM, RemapFlags Flags,
 1085 ValueMapper::registerAlternateMappingContext(ValueToValueMapTy &VM,
tools/bugpoint/BugDriver.h
  305                           ValueToValueMapTy &VMap);
tools/bugpoint/CrashDebugger.cpp
  147   ValueToValueMapTy VMap;
  241   ValueToValueMapTy VMap;
  444   ValueToValueMapTy VMap;
  563   ValueToValueMapTy VMap;
  667   ValueToValueMapTy VMap;
  759   ValueToValueMapTy VMap;
  834   ValueToValueMapTy VMap;
  913   ValueToValueMapTy VMap;
tools/bugpoint/ExtractFunction.cpp
  248                                 ValueToValueMapTy &VMap) {
  307                                 ValueToValueMapTy &VMap) {
  319   ValueToValueMapTy NewVMap;
tools/bugpoint/Miscompilation.cpp
  266   ValueToValueMapTy VMap;
  315     ValueToValueMapTy VMap;
  501   ValueToValueMapTy VMap;
  570   ValueToValueMapTy VMap;
  759   ValueToValueMapTy VMap;
 1030   ValueToValueMapTy VMap;
tools/clang/lib/CodeGen/CGVTables.cpp
  118                                     llvm::ValueToValueMapTy &VMap) {
  179   llvm::ValueToValueMapTy VMap;
tools/llvm-reduce/deltas/ReduceArguments.cpp
   62     ValueToValueMapTy VMap;
unittests/Transforms/Utils/CloningTest.cpp
  176   ValueToValueMapTy VMap;
  199   ValueToValueMapTy VMap;
  230   ValueToValueMapTy Mapping;
  280   ValueToValueMapTy Mapping;
  333   ValueToValueMapTy Mapping;
  430         ValueToValueMapTy VMap;
  535     ValueToValueMapTy VMap;
  699   ValueToValueMapTy VMap;
unittests/Transforms/Utils/ValueMapperTest.cpp
   26   ValueToValueMapTy VM;
   53     ValueToValueMapTy VM;
   60     ValueToValueMapTy VM;
   94   ValueToValueMapTy VM;
  111   ValueToValueMapTy VM;
  121     ValueToValueMapTy VM;
  126     ValueToValueMapTy VM;
  138   ValueToValueMapTy VM;
  151   ValueToValueMapTy VM;
  164   ValueToValueMapTy VM;
  179   ValueToValueMapTy VM;
  187   ValueToValueMapTy VM;
  205   ValueToValueMapTy VM;
  222   ValueToValueMapTy VM;
  241     ValueToValueMapTy VM;
  256   ValueToValueMapTy VM;
  277   ValueToValueMapTy VM;
  307   ValueToValueMapTy VM;
  337   ValueToValueMapTy VM;