Lines Matching refs:VMap
160 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,
227 CloningAction handleTypeIdFor(ValueToValueMapTy &VMap,
230 CloningAction handleInvoke(ValueToValueMapTy &VMap, const InvokeInst *Invoke,
232 CloningAction handleResume(ValueToValueMapTy &VMap, const ResumeInst *Resume,
234 CloningAction handleLandingPad(ValueToValueMapTy &VMap,
258 CloningAction handleBeginCatch(ValueToValueMapTy &VMap,
261 CloningAction handleEndCatch(ValueToValueMapTy &VMap, const Instruction *Inst,
263 CloningAction handleTypeIdFor(ValueToValueMapTy &VMap,
266 CloningAction handleInvoke(ValueToValueMapTy &VMap, const InvokeInst *Invoke,
268 CloningAction handleResume(ValueToValueMapTy &VMap, const ResumeInst *Resume,
270 CloningAction handleLandingPad(ValueToValueMapTy &VMap,
853 ValueToValueMapTy VMap; in outlineHandler() local
862 LPadMap.remapEHValues(VMap, UndefValue::get(Int8PtrType), in outlineHandler()
866 LPadMap.remapEHValues(VMap, UndefValue::get(Int8PtrType), in outlineHandler()
879 if (VMap.count(Val)) { in outlineHandler()
880 VMap[PN] = VMap[Val]; in outlineHandler()
886 VMap[PN] = UndefValue::get(PN->getType()); in outlineHandler()
894 CloneAndPruneIntoFromInst(Handler, SrcFn, II, VMap, in outlineHandler()
921 for (const auto MapEntry : VMap) { in outlineHandler()
1025 void LandingPadMap::remapEHValues(ValueToValueMapTy &VMap, Value *EHPtrValue, in remapEHValues() argument
1029 VMap[Extract] = EHPtrValue; in remapEHValues()
1031 VMap[Extract] = SelectorValue; in remapEHValues()
1035 ValueToValueMapTy &VMap, const Instruction *Inst, BasicBlock *NewBB) { in handleInstruction() argument
1047 return handleLandingPad(VMap, LPad, NewBB); in handleInstruction()
1051 return handleInvoke(VMap, Invoke, NewBB); in handleInstruction()
1054 return handleResume(VMap, Resume, NewBB); in handleInstruction()
1057 return handleBeginCatch(VMap, Inst, NewBB); in handleInstruction()
1059 return handleEndCatch(VMap, Inst, NewBB); in handleInstruction()
1061 return handleTypeIdFor(VMap, Inst, NewBB); in handleInstruction()
1068 ValueToValueMapTy &VMap, const LandingPadInst *LPad, BasicBlock *NewBB) { in handleLandingPad() argument
1074 VMap[LPad] = NewInst; in handleLandingPad()
1082 ValueToValueMapTy &VMap, const Instruction *Inst, BasicBlock *NewBB) { in handleBeginCatch() argument
1104 WinEHCatchDirector::handleEndCatch(ValueToValueMapTy &VMap, in handleEndCatch() argument
1147 ValueToValueMapTy &VMap, const Instruction *Inst, BasicBlock *NewBB) { in handleTypeIdFor() argument
1153 VMap[Inst] = ConstantInt::get(SelectorIDType, 1); in handleTypeIdFor()
1155 VMap[Inst] = ConstantInt::get(SelectorIDType, 0); in handleTypeIdFor()
1161 WinEHCatchDirector::handleInvoke(ValueToValueMapTy &VMap, in handleInvoke() argument
1167 WinEHCatchDirector::handleResume(ValueToValueMapTy &VMap, in handleResume() argument
1177 ValueToValueMapTy &VMap, const LandingPadInst *LPad, BasicBlock *NewBB) { in handleLandingPad() argument
1184 VMap[LPad] = NewInst; in handleLandingPad()
1191 ValueToValueMapTy &VMap, const Instruction *Inst, BasicBlock *NewBB) { in handleBeginCatch() argument
1201 ValueToValueMapTy &VMap, const Instruction *Inst, BasicBlock *NewBB) { in handleEndCatch() argument
1208 ValueToValueMapTy &VMap, const Instruction *Inst, BasicBlock *NewBB) { in handleTypeIdFor() argument
1221 VMap[Inst] = ConstantInt::get(SelectorIDType, 0); in handleTypeIdFor()
1226 ValueToValueMapTy &VMap, const InvokeInst *Invoke, BasicBlock *NewBB) { in handleInvoke() argument
1236 VMap[Invoke] = NewCall; in handleInvoke()
1239 llvm::RemapInstruction(NewCall, VMap, RF_None, nullptr, &Materializer); in handleInvoke()
1253 ValueToValueMapTy &VMap, const ResumeInst *Resume, BasicBlock *NewBB) { in handleResume() argument