Home
last modified time | relevance | path

Searched refs:NewCI (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DPreISelIntrinsicLowering.cpp100 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()
DIntrinsicLowering.cpp46 CallInst *NewCI = Builder.CreateCall(FCache, Args); in ReplaceCallWith() local
47 NewCI->setName(CI->getName()); in ReplaceCallWith()
49 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith()
50 return NewCI; in ReplaceCallWith()
DAtomicExpandPass.cpp892 AtomicCmpXchgInst *NewCI = Builder.CreateAtomicCmpXchg( in expandPartwordCmpXchg() local
895 NewCI->setVolatile(CI->isVolatile()); in expandPartwordCmpXchg()
901 NewCI->setWeak(CI->isWeak()); in expandPartwordCmpXchg()
903 Value *OldVal = Builder.CreateExtractValue(NewCI, 0); in expandPartwordCmpXchg()
904 Value *Success = Builder.CreateExtractValue(NewCI, 1); in expandPartwordCmpXchg()
1070 auto *NewCI = Builder.CreateAtomicCmpXchg(NewAddr, NewCmp, NewNewVal, in convertCmpXchgToIntegerType() local
1074 NewCI->setVolatile(CI->isVolatile()); in convertCmpXchgToIntegerType()
1075 NewCI->setWeak(CI->isWeak()); in convertCmpXchgToIntegerType()
1076 LLVM_DEBUG(dbgs() << "Replaced " << *CI << " with " << *NewCI << "\n"); in convertCmpXchgToIntegerType()
1078 Value *OldVal = Builder.CreateExtractValue(NewCI, 0); in convertCmpXchgToIntegerType()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DCallSiteSplitting.cpp244 Instruction *NewCI) { in copyMustTailReturn() argument
256 Value *V = NewCI; in copyMustTailReturn()
337 Instruction *NewCI = in splitCallSite() local
339 CallSite NewCS(NewCI); in splitCallSite()
352 LLVM_DEBUG(dbgs() << " " << *NewCI << " in " << SplitBlock->getName() in splitCallSite()
355 CallPN->addIncoming(NewCI, SplitBlock); in splitCallSite()
359 copyMustTailReturn(SplitBlock, Instr, NewCI); in splitCallSite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp335 if (auto *NewCI = dyn_cast<TruncInst>(Res)) in ReduceExpressionDag() local
336 *Entry = NewCI; in ReduceExpressionDag()
339 } else if (auto *NewCI = dyn_cast<TruncInst>(Res)) in ReduceExpressionDag() local
340 Worklist.push_back(NewCI); in ReduceExpressionDag()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp369 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in FoldPHIArgBinOpIntoPHI() local
371 PHIArgMergedDebugLoc(NewCI, PN); in FoldPHIArgBinOpIntoPHI()
372 return NewCI; in FoldPHIArgBinOpIntoPHI()
819 CastInst *NewCI = CastInst::Create(FirstCI->getOpcode(), PhiVal, in FoldPHIArgOpIntoPHI() local
821 PHIArgMergedDebugLoc(NewCI, PN); in FoldPHIArgOpIntoPHI()
822 return NewCI; in FoldPHIArgOpIntoPHI()
837 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in FoldPHIArgOpIntoPHI() local
839 PHIArgMergedDebugLoc(NewCI, PN); in FoldPHIArgOpIntoPHI()
840 return NewCI; in FoldPHIArgOpIntoPHI()
DInstCombineCasts.cpp1691 CallInst *NewCI = in visitFPTrunc() local
1693 NewCI->copyFastMathFlags(II); in visitFPTrunc()
1694 return NewCI; in visitFPTrunc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp564 CallInst *NewCI = in optimizeStrCpy() local
567 NewCI->setAttributes(CI->getAttributes()); in optimizeStrCpy()
593 CallInst *NewCI = in optimizeStpCpy() local
595 NewCI->setAttributes(CI->getAttributes()); in optimizeStpCpy()
629 CallInst *NewCI = B.CreateMemSet(Dst, B.getInt8('\0'), Size, Align::None()); in optimizeStrNCpy() local
631 NewCI->setAttributes(NewCI->getAttributes().addParamAttributes( in optimizeStrNCpy()
642 CallInst *NewCI = B.CreateMemCpy(Dst, Align::None(), Src, Align::None(), in optimizeStrNCpy() local
644 NewCI->setAttributes(CI->getAttributes()); in optimizeStrNCpy()
1119 CallInst *NewCI = B.CreateMemCpy(CI->getArgOperand(0), Align::None(), in optimizeMemCpy() local
1121 NewCI->setAttributes(CI->getAttributes()); in optimizeMemCpy()
[all …]
DInlineFunction.cpp1934 CallInst *NewCI = CallInst::Create( in InlineFunction() local
1936 NewCI->setDebugLoc(CI->getDebugLoc()); in InlineFunction()
1937 NewCI->setAttributes(Attrs); in InlineFunction()
1938 NewCI->setCallingConv(CI->getCallingConv()); in InlineFunction()
1939 CI->replaceAllUsesWith(NewCI); in InlineFunction()
1941 CI = NewCI; in InlineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86WinEHState.cpp492 CallInst *NewCI = Builder.CreateCall(SetJmp3, Args, OpBundles); in rewriteSetJmpCallSite() local
493 NewCI->setTailCallKind(CI->getTailCallKind()); in rewriteSetJmpCallSite()
494 NewCS = NewCI; in rewriteSetJmpCallSite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp823 CallInst *NewCI = in runEHOnFunction() local
825 CI->replaceAllUsesWith(NewCI); in runEHOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp453 auto *NewCI = CallInst::Create(CI->getFunctionType(), CI->getCalledValue(), in Create() local
455 NewCI->setTailCallKind(CI->getTailCallKind()); in Create()
456 NewCI->setCallingConv(CI->getCallingConv()); in Create()
457 NewCI->SubclassOptionalData = CI->SubclassOptionalData; in Create()
458 NewCI->setAttributes(CI->getAttributes()); in Create()
459 NewCI->setDebugLoc(CI->getDebugLoc()); in Create()
460 return NewCI; in Create()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DAttributor.cpp6365 auto *NewCI = CallInst::Create(NewFn, NewArgOperands, OperandBundleDefs, in rewriteFunctionSignatures() local
6367 NewCI->setTailCallKind(cast<CallInst>(OldCB)->getTailCallKind()); in rewriteFunctionSignatures()
6368 NewCB = NewCI; in rewriteFunctionSignatures()