| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/ |
| H A D | ReduceArguments.cpp | 33 CallInst *NewCI = CallInst::Create(&NewF, Args); in replaceFunctionCalls() local 34 NewCI->setCallingConv(NewF.getCallingConv()); in replaceFunctionCalls() 36 CI->replaceAllUsesWith(NewCI); in replaceFunctionCalls() 37 ReplaceInstWithInst(CI, NewCI); in replaceFunctionCalls()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | CallSiteSplitting.cpp | 242 Instruction *NewCI) { in copyMustTailReturn() argument 254 Value *V = NewCI; in copyMustTailReturn() 334 auto *NewCI = in splitCallSite() local 336 addConditions(*NewCI, Preds[i].second); in splitCallSite() 343 NewCI->setArgOperand(ArgNo, PN.getIncomingValueForBlock(SplitBlock)); in splitCallSite() 348 LLVM_DEBUG(dbgs() << " " << *NewCI << " in " << SplitBlock->getName() in splitCallSite() 351 CallPN->addIncoming(NewCI, SplitBlock); in splitCallSite() 355 copyMustTailReturn(SplitBlock, &CB, NewCI); in splitCallSite()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 511 CallInst *NewCI = in optimizeStrCpy() local 514 NewCI->setAttributes(CI->getAttributes()); in optimizeStrCpy() 515 NewCI->removeAttributes(AttributeList::ReturnIndex, in optimizeStrCpy() 516 AttributeFuncs::typeIncompatible(NewCI->getType())); in optimizeStrCpy() 542 CallInst *NewCI = B.CreateMemCpy(Dst, Align(1), Src, Align(1), LenV); in optimizeStpCpy() local 543 NewCI->setAttributes(CI->getAttributes()); in optimizeStpCpy() 544 NewCI->removeAttributes(AttributeList::ReturnIndex, in optimizeStpCpy() 545 AttributeFuncs::typeIncompatible(NewCI->getType())); in optimizeStpCpy() 581 CallInst *NewCI = B.CreateMemSet(Dst, B.getInt8('\0'), Size, MemSetAlign); in optimizeStrNCpy() local 583 NewCI->setAttributes(NewCI->getAttributes().addParamAttributes( in optimizeStrNCpy() [all …]
|
| H A D | InlineFunction.cpp | 2145 CallInst *NewCI = CallInst::Create( in InlineFunction() local 2147 NewCI->setDebugLoc(CI->getDebugLoc()); in InlineFunction() 2148 NewCI->setAttributes(Attrs); in InlineFunction() 2149 NewCI->setCallingConv(CI->getCallingConv()); in InlineFunction() 2150 CI->replaceAllUsesWith(NewCI); in InlineFunction() 2152 CI = NewCI; in InlineFunction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | PreISelIntrinsicLowering.cpp | 100 CallInst *NewCI = Builder.CreateCall(FCache, Args); in lowerObjCCall() local 101 NewCI->setName(CI->getName()); in lowerObjCCall() 111 NewCI->setTailCallKind(std::max(TCK, OverridingTCK)); in lowerObjCCall() 114 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 | 922 AtomicCmpXchgInst *NewCI = Builder.CreateAtomicCmpXchg( in expandPartwordCmpXchg() local 925 NewCI->setVolatile(CI->isVolatile()); in expandPartwordCmpXchg() 931 NewCI->setWeak(CI->isWeak()); in expandPartwordCmpXchg() 933 Value *OldVal = Builder.CreateExtractValue(NewCI, 0); in expandPartwordCmpXchg() 934 Value *Success = Builder.CreateExtractValue(NewCI, 1); in expandPartwordCmpXchg() 1101 auto *NewCI = Builder.CreateAtomicCmpXchg( in convertCmpXchgToIntegerType() local 1104 NewCI->setVolatile(CI->isVolatile()); in convertCmpXchgToIntegerType() 1105 NewCI->setWeak(CI->isWeak()); in convertCmpXchgToIntegerType() 1106 LLVM_DEBUG(dbgs() << "Replaced " << *CI << " with " << *NewCI << "\n"); in convertCmpXchgToIntegerType() 1108 Value *OldVal = Builder.CreateExtractValue(NewCI, 0); in convertCmpXchgToIntegerType() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | TruncInstCombine.cpp | 346 if (auto *NewCI = dyn_cast<TruncInst>(Res)) in ReduceExpressionDag() local 347 *Entry = NewCI; in ReduceExpressionDag() 350 } else if (auto *NewCI = dyn_cast<TruncInst>(Res)) in ReduceExpressionDag() local 351 Worklist.push_back(NewCI); in ReduceExpressionDag()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombinePHI.cpp | 455 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in foldPHIArgBinOpIntoPHI() local 457 PHIArgMergedDebugLoc(NewCI, PN); in foldPHIArgBinOpIntoPHI() 458 return NewCI; in foldPHIArgBinOpIntoPHI() 910 CastInst *NewCI = CastInst::Create(FirstCI->getOpcode(), PhiVal, in foldPHIArgOpIntoPHI() local 912 PHIArgMergedDebugLoc(NewCI, PN); in foldPHIArgOpIntoPHI() 913 return NewCI; in foldPHIArgOpIntoPHI() 928 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in foldPHIArgOpIntoPHI() local 930 PHIArgMergedDebugLoc(NewCI, PN); in foldPHIArgOpIntoPHI() 931 return NewCI; in foldPHIArgOpIntoPHI()
|
| H A D | InstCombineCasts.cpp | 1838 CallInst *NewCI = in visitFPTrunc() local 1840 NewCI->copyFastMathFlags(II); in visitFPTrunc() 1841 return NewCI; in visitFPTrunc()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 489 CallInst *NewCI = Builder.CreateCall(SetJmp3, Args, OpBundles); in rewriteSetJmpCall() local 490 NewCI->setTailCallKind(CI->getTailCallKind()); in rewriteSetJmpCall() 491 NewCall = NewCI; in rewriteSetJmpCall()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| H A D | OpenMPOpt.cpp | 856 CallInst *NewCI = CallInst::Create(FT, Callee, Args, "", CI); in mergeParallelRegions() local 858 NewCI->setDebugLoc(CI->getDebugLoc()); in mergeParallelRegions() 864 NewCI->addParamAttr( in mergeParallelRegions() 872 InsertPointTy(NewCI->getParent(), in mergeParallelRegions() 873 NewCI->getNextNode()->getIterator()), in mergeParallelRegions()
|
| H A D | Attributor.cpp | 1819 auto *NewCI = CallInst::Create(NewFn, NewArgOperands, OperandBundleDefs, in rewriteFunctionSignatures() local 1821 NewCI->setTailCallKind(cast<CallInst>(OldCB)->getTailCallKind()); in rewriteFunctionSignatures() 1822 NewCB = NewCI; in rewriteFunctionSignatures()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 877 CallInst *NewCI = in runEHOnFunction() local 879 CI->replaceAllUsesWith(NewCI); in runEHOnFunction()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | Instructions.cpp | 548 auto *NewCI = CallInst::Create(CI->getFunctionType(), CI->getCalledOperand(), in Create() local 550 NewCI->setTailCallKind(CI->getTailCallKind()); in Create() 551 NewCI->setCallingConv(CI->getCallingConv()); in Create() 552 NewCI->SubclassOptionalData = CI->SubclassOptionalData; in Create() 553 NewCI->setAttributes(CI->getAttributes()); in Create() 554 NewCI->setDebugLoc(CI->getDebugLoc()); in Create() 555 return NewCI; in Create()
|