| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | CallSiteSplitting.cpp | 240 Instruction *NewCI) { in copyMustTailReturn() argument 252 Value *V = NewCI; in copyMustTailReturn() 331 auto *NewCI = in splitCallSite() local 333 addConditions(*NewCI, Preds[i].second); in splitCallSite() 340 NewCI->setArgOperand(ArgNo, PN.getIncomingValueForBlock(SplitBlock)); in splitCallSite() 345 LLVM_DEBUG(dbgs() << " " << *NewCI << " in " << SplitBlock->getName() in splitCallSite() 348 CallPN->addIncoming(NewCI, SplitBlock); in splitCallSite() 352 copyMustTailReturn(SplitBlock, &CB, NewCI); in splitCallSite()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | PreISelIntrinsicLowering.cpp | 151 CallInst *NewCI = Builder.CreateCall(FCache, Args, BundleList); in lowerObjCCall() local 152 NewCI->setName(CI->getName()); in lowerObjCCall() 162 NewCI->setTailCallKind(std::max(TCK, OverridingTCK)); in lowerObjCCall() 171 NewCI->addParamAttr(Index - AttributeList::FirstArgIndex, in lowerObjCCall() 175 CI->replaceAllUsesWith(NewCI); in lowerObjCCall()
|
| H A D | IntrinsicLowering.cpp | 45 CallInst *NewCI = Builder.CreateCall(FCache, Args); in ReplaceCallWith() local 46 NewCI->setName(CI->getName()); in ReplaceCallWith() 48 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith() 49 return NewCI; in ReplaceCallWith()
|
| H A D | AtomicExpandPass.cpp | 1006 AtomicCmpXchgInst *NewCI = Builder.CreateAtomicCmpXchg( in expandPartwordCmpXchg() local 1009 NewCI->setVolatile(CI->isVolatile()); in expandPartwordCmpXchg() 1015 NewCI->setWeak(CI->isWeak()); in expandPartwordCmpXchg() 1017 Value *OldVal = Builder.CreateExtractValue(NewCI, 0); in expandPartwordCmpXchg() 1018 Value *Success = Builder.CreateExtractValue(NewCI, 1); in expandPartwordCmpXchg() 1183 auto *NewCI = Builder.CreateAtomicCmpXchg( in convertCmpXchgToIntegerType() local 1186 NewCI->setVolatile(CI->isVolatile()); in convertCmpXchgToIntegerType() 1187 NewCI->setWeak(CI->isWeak()); in convertCmpXchgToIntegerType() 1190 Value *OldVal = Builder.CreateExtractValue(NewCI, 0); in convertCmpXchgToIntegerType() 1191 Value *Succ = Builder.CreateExtractValue(NewCI, 1); in convertCmpXchgToIntegerType() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 334 NewCI->getContext(), {NewCI->getAttributes(), Old.getAttributes()})); in mergeAttributesAndFlags() 335 NewCI->removeRetAttrs(AttributeFuncs::typeIncompatible(NewCI->getType())); in mergeAttributesAndFlags() 336 return copyFlags(Old, NewCI); in mergeAttributesAndFlags() 709 CallInst *NewCI = in optimizeStrCpy() local 712 mergeAttributesAndFlags(NewCI, *CI); in optimizeStrCpy() 744 mergeAttributesAndFlags(NewCI, *CI); in optimizeStpCpy() 885 NewCI->setAttributes(NewCI->getAttributes().addParamAttributes( in optimizeStringNCpy() 887 copyFlags(*CI, NewCI); in optimizeStringNCpy() 1671 CallInst *NewCI = in optimizeMemPCpy() local 3906 CallInst *NewCI = in optimizeMemCpyChk() local [all …]
|
| H A D | InlineFunction.cpp | 2488 CallInst *NewCI = CallInst::Create( in InlineFunction() local 2490 NewCI->setDebugLoc(CI->getDebugLoc()); in InlineFunction() 2491 NewCI->setAttributes(Attrs); in InlineFunction() 2492 NewCI->setCallingConv(CI->getCallingConv()); in InlineFunction() 2493 CI->replaceAllUsesWith(NewCI); in InlineFunction() 2495 CI = NewCI; in InlineFunction()
|
| H A D | Local.cpp | 243 if (auto *NewCI = dyn_cast<ConstantInt>(SI->getCondition())) { in ConstantFoldTerminator() local 244 CI = NewCI; in ConstantFoldTerminator()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | TruncInstCombine.cpp | 418 if (auto *NewCI = dyn_cast<TruncInst>(Res)) in ReduceExpressionGraph() local 419 *Entry = NewCI; in ReduceExpressionGraph() 422 } else if (auto *NewCI = dyn_cast<TruncInst>(Res)) in ReduceExpressionGraph() local 423 Worklist.push_back(NewCI); in ReduceExpressionGraph()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombinePHI.cpp | 483 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in foldPHIArgBinOpIntoPHI() local 485 PHIArgMergedDebugLoc(NewCI, PN); in foldPHIArgBinOpIntoPHI() 486 return NewCI; in foldPHIArgBinOpIntoPHI() 952 CastInst *NewCI = CastInst::Create(FirstCI->getOpcode(), PhiVal, in foldPHIArgOpIntoPHI() local 954 PHIArgMergedDebugLoc(NewCI, PN); in foldPHIArgOpIntoPHI() 955 return NewCI; in foldPHIArgOpIntoPHI() 970 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in foldPHIArgOpIntoPHI() local 972 PHIArgMergedDebugLoc(NewCI, PN); in foldPHIArgOpIntoPHI() 973 return NewCI; in foldPHIArgOpIntoPHI()
|
| H A D | InstCombineCasts.cpp | 1832 CallInst *NewCI = in visitFPTrunc() local 1834 NewCI->copyFastMathFlags(II); in visitFPTrunc() 1835 return NewCI; in visitFPTrunc()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 485 CallInst *NewCI = Builder.CreateCall(SetJmp3, Args, OpBundles); in rewriteSetJmpCall() local 486 NewCI->setTailCallKind(CI->getTailCallKind()); in rewriteSetJmpCall() 487 NewCall = NewCI; in rewriteSetJmpCall()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instructions.cpp | 743 auto *NewCI = CallInst::Create(CI->getFunctionType(), CI->getCalledOperand(), in Create() local 745 NewCI->setTailCallKind(CI->getTailCallKind()); in Create() 746 NewCI->setCallingConv(CI->getCallingConv()); in Create() 747 NewCI->SubclassOptionalData = CI->SubclassOptionalData; in Create() 748 NewCI->setAttributes(CI->getAttributes()); in Create() 749 NewCI->setDebugLoc(CI->getDebugLoc()); in Create() 750 return NewCI; in Create()
|
| H A D | AutoUpgrade.cpp | 4224 Value *NewCI = Builder.CreateCall(NewFn, Args); in UpgradeIntrinsicCall() local 4227 Value *Elem = Builder.CreateExtractValue(NewCI, Idx); in UpgradeIntrinsicCall()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 1197 CallInst *NewCI = in runEHOnFunction() local 1199 CI->replaceAllUsesWith(NewCI); in runEHOnFunction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | OpenMPOpt.cpp | 1264 CallInst *NewCI = CallInst::Create(FT, Callee, Args, "", CI); in mergeParallelRegions() local 1266 NewCI->setDebugLoc(CI->getDebugLoc()); in mergeParallelRegions() 1272 NewCI->addParamAttr( in mergeParallelRegions() 1280 InsertPointTy(NewCI->getParent(), in mergeParallelRegions() 1281 NewCI->getNextNode()->getIterator()), in mergeParallelRegions()
|
| H A D | WholeProgramDevirt.cpp | 862 auto *NewCI = CallInst::Create( in updatePublicTypeTestCalls() local 865 CI->replaceAllUsesWith(NewCI); in updatePublicTypeTestCalls()
|
| H A D | Attributor.cpp | 3124 auto *NewCI = CallInst::Create(NewFn, NewArgOperands, OperandBundleDefs, in rewriteFunctionSignatures() local 3126 NewCI->setTailCallKind(cast<CallInst>(OldCB)->getTailCallKind()); in rewriteFunctionSignatures() 3127 NewCB = NewCI; in rewriteFunctionSignatures()
|