Home
last modified time | relevance | path

Searched refs:OldArg (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.h40 Value *OldArg = cast<CallInst>(CI)->getArgOperand(0); in EraseInstruction() local
48 IsNullOrUndef(OldArg->stripPointerCasts()))) && in EraseInstruction()
50 CI->replaceAllUsesWith(OldArg); in EraseInstruction()
56 RecursivelyDeleteTriviallyDeadInstructions(OldArg); in EraseInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp140 for (const Argument &OldArg : OldFunc->args()) { in CloneFunctionInto() local
141 if (Argument *NewArg = dyn_cast<Argument>(VMap[&OldArg])) { in CloneFunctionInto()
143 OldAttrs.getParamAttrs(OldArg.getArgNo()); in CloneFunctionInto()
H A DSCCPSolver.cpp994 Function::arg_iterator OldArg = Args[0].Formal->getParent()->arg_begin(); in setLatticeValueForSpecializationArguments() local
995 for (auto End = F->arg_end(); NewArg != End; ++NewArg, ++OldArg) { in setLatticeValueForSpecializationArguments()
1002 if (Iter != Args.end() && Iter->Formal == &*OldArg) { in setLatticeValueForSpecializationArguments()
1016 NewValue = StructValueState[{&*OldArg, I}]; in setLatticeValueForSpecializationArguments()
1020 NewValue = ValueState[&*OldArg]; in setLatticeValueForSpecializationArguments()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerBufferFatPointers.cpp1696 for (auto [I, OldArg, NewArg] : enumerate(OldF->args(), NewF->args())) { in moveFunctionAdaptingType()
1697 CloneMap[&NewArg] = &OldArg; in moveFunctionAdaptingType()
1698 NewArg.takeName(&OldArg); in moveFunctionAdaptingType()
1699 Type *OldArgTy = OldArg.getType(), *NewArgTy = NewArg.getType(); in moveFunctionAdaptingType()
1702 OldArg.replaceAllUsesWith(&NewArg); in moveFunctionAdaptingType()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfoMetadata.cpp1890 uint64_t OldArg, uint64_t NewArg) { in replaceArg() argument
1896 if (Op.getOp() != dwarf::DW_OP_LLVM_arg || Op.getArg(0) < OldArg) { in replaceArg()
1901 uint64_t Arg = Op.getArg(0) == OldArg ? NewArg : Op.getArg(0); in replaceArg()
1904 if (Arg > OldArg) in replaceArg()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h3053 static DIExpression *replaceArg(const DIExpression *Expr, uint64_t OldArg,