Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DCallSiteSplitting.cpp240 Instruction *NewCI) { in copyMustTailReturn() argument
252 Value *V = NewCI; in copyMustTailReturn()
331 Instruction *NewCI = in splitCallSite() local
333 CallSite NewCS(NewCI); in splitCallSite()
346 LLVM_DEBUG(dbgs() << " " << *NewCI << " in " << SplitBlock->getName() in splitCallSite()
349 CallPN->addIncoming(NewCI, SplitBlock); in splitCallSite()
353 copyMustTailReturn(SplitBlock, Instr, NewCI); in splitCallSite()
/external/spirv-llvm/lib/SPIRV/
DOCL20ToSPIRV.cpp583 CallInst *NewCI = nullptr; in visitCallAtomicCmpXchg() local
596 NewCI = NCI; in visitCallAtomicCmpXchg()
602 return NewCI; in visitCallAtomicCmpXchg()
982 [=](CallInst *NewCI) -> Instruction * { in transBuiltin() argument
983 if (NewCI->getType()->isIntegerTy() && CI->getType()->isIntegerTy()) in transBuiltin()
984 return CastInst::CreateIntegerCast(NewCI, CI->getType(), in transBuiltin()
988 NewCI, CI->getType(), "", CI); in transBuiltin()
1289 [=](CallInst *NewCI) -> Instruction * { in visitCallRelational() argument
1291 if (NewCI->getType()->isVectorTy()) { in visitCallRelational()
1293 if (cast<VectorType>(NewCI->getOperand(0)->getType()) in visitCallRelational()
[all …]
DSPIRVReader.cpp1054 auto NewCI = CallInst::Create(newF, Args, CI->getName(), CI); in postProcessOCLBuiltinReturnStruct() local
1055 NewCI->setCallingConv(CI->getCallingConv()); in postProcessOCLBuiltinReturnStruct()
1167 [=](CallInst *NewCI) -> Instruction * { in postProcessOCLReadImage() argument
1170 UndefValue::get(VectorType::get(NewCI->getType(), 4)), NewCI, in postProcessOCLReadImage()
1171 getSizet(M, 0), "", NewCI->getParent()); in postProcessOCLReadImage()
1172 return NewCI; in postProcessOCLReadImage()
1225 [=](CallInst *NewCI) -> Instruction * { in postProcessGroupAllAny() argument
1227 return CastInst::CreateTruncOrBitCast(NewCI, RetTy, "", in postProcessGroupAllAny()
1228 NewCI->getNextNode()); in postProcessGroupAllAny()
2679 [=](CallInst *NewCI) -> Instruction * { in transOCLAllAny() argument
[all …]
DSPIRVUtil.cpp654 auto NewCI = addCallInst(M, NewName, CI->getType(), Args, Attrs, CI, Mangle, in mutateCallInst() local
656 DEBUG(dbgs() << " => " << *NewCI << '\n'); in mutateCallInst()
657 CI->replaceAllUsesWith(NewCI); in mutateCallInst()
660 return NewCI; in mutateCallInst()
679 auto NewCI = addCallInst(M, NewName, RetTy, Args, Attrs, in mutateCallInst() local
681 auto NewI = RetMutate(NewCI); in mutateCallInst()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombinePHI.cpp114 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in FoldPHIArgBinOpIntoPHI() local
116 NewCI->setDebugLoc(FirstInst->getDebugLoc()); in FoldPHIArgBinOpIntoPHI()
117 return NewCI; in FoldPHIArgBinOpIntoPHI()
484 CastInst *NewCI = CastInst::Create(FirstCI->getOpcode(), PhiVal, in FoldPHIArgOpIntoPHI() local
486 NewCI->setDebugLoc(FirstInst->getDebugLoc()); in FoldPHIArgOpIntoPHI()
487 return NewCI; in FoldPHIArgOpIntoPHI()
500 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in FoldPHIArgOpIntoPHI() local
502 NewCI->setDebugLoc(FirstInst->getDebugLoc()); in FoldPHIArgOpIntoPHI()
503 return NewCI; in FoldPHIArgOpIntoPHI()
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp102 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in FoldPHIArgBinOpIntoPHI() local
104 NewCI->setDebugLoc(FirstInst->getDebugLoc()); in FoldPHIArgBinOpIntoPHI()
105 return NewCI; in FoldPHIArgBinOpIntoPHI()
550 CastInst *NewCI = CastInst::Create(FirstCI->getOpcode(), PhiVal, in FoldPHIArgOpIntoPHI() local
552 NewCI->setDebugLoc(FirstInst->getDebugLoc()); in FoldPHIArgOpIntoPHI()
553 return NewCI; in FoldPHIArgOpIntoPHI()
568 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in FoldPHIArgOpIntoPHI() local
570 NewCI->setDebugLoc(FirstInst->getDebugLoc()); in FoldPHIArgOpIntoPHI()
571 return NewCI; in FoldPHIArgOpIntoPHI()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp336 if (auto *NewCI = dyn_cast<TruncInst>(Res)) in ReduceExpressionDag() local
337 *Entry = NewCI; in ReduceExpressionDag()
340 } else if (auto *NewCI = dyn_cast<TruncInst>(Res)) in ReduceExpressionDag() local
341 Worklist.push_back(NewCI); in ReduceExpressionDag()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp358 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in FoldPHIArgBinOpIntoPHI() local
360 PHIArgMergedDebugLoc(NewCI, PN); in FoldPHIArgBinOpIntoPHI()
361 return NewCI; in FoldPHIArgBinOpIntoPHI()
806 CastInst *NewCI = CastInst::Create(FirstCI->getOpcode(), PhiVal, in FoldPHIArgOpIntoPHI() local
808 PHIArgMergedDebugLoc(NewCI, PN); in FoldPHIArgOpIntoPHI()
809 return NewCI; in FoldPHIArgOpIntoPHI()
824 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in FoldPHIArgOpIntoPHI() local
826 PHIArgMergedDebugLoc(NewCI, PN); in FoldPHIArgOpIntoPHI()
827 return NewCI; in FoldPHIArgOpIntoPHI()
DInstCombineCasts.cpp1628 CallInst *NewCI = CallInst::Create(Overload, { InnerTrunc }, OpBundles, in visitFPTrunc() local
1630 NewCI->copyFastMathFlags(II); in visitFPTrunc()
1631 return NewCI; in visitFPTrunc()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DAtomicExpandPass.cpp818 AtomicCmpXchgInst *NewCI = Builder.CreateAtomicCmpXchg( in expandPartwordCmpXchg() local
821 NewCI->setVolatile(CI->isVolatile()); in expandPartwordCmpXchg()
827 NewCI->setWeak(CI->isWeak()); in expandPartwordCmpXchg()
829 Value *OldVal = Builder.CreateExtractValue(NewCI, 0); in expandPartwordCmpXchg()
830 Value *Success = Builder.CreateExtractValue(NewCI, 1); in expandPartwordCmpXchg()
940 auto *NewCI = Builder.CreateAtomicCmpXchg(NewAddr, NewCmp, NewNewVal, in convertCmpXchgToIntegerType() local
944 NewCI->setVolatile(CI->isVolatile()); in convertCmpXchgToIntegerType()
945 NewCI->setWeak(CI->isWeak()); in convertCmpXchgToIntegerType()
946 LLVM_DEBUG(dbgs() << "Replaced " << *CI << " with " << *NewCI << "\n"); in convertCmpXchgToIntegerType()
948 Value *OldVal = Builder.CreateExtractValue(NewCI, 0); in convertCmpXchgToIntegerType()
[all …]
DIntrinsicLowering.cpp80 CallInst *NewCI = Builder.CreateCall(FCache, Args); in ReplaceCallWith() local
81 NewCI->setName(CI->getName()); in ReplaceCallWith()
83 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith()
84 return NewCI; in ReplaceCallWith()
/external/llvm/lib/CodeGen/
DAtomicExpandPass.cpp809 AtomicCmpXchgInst *NewCI = Builder.CreateAtomicCmpXchg( in expandPartwordCmpXchg() local
812 NewCI->setVolatile(CI->isVolatile()); in expandPartwordCmpXchg()
818 NewCI->setWeak(CI->isWeak()); in expandPartwordCmpXchg()
820 Value *OldVal = Builder.CreateExtractValue(NewCI, 0); in expandPartwordCmpXchg()
821 Value *Success = Builder.CreateExtractValue(NewCI, 1); in expandPartwordCmpXchg()
931 auto *NewCI = Builder.CreateAtomicCmpXchg(NewAddr, NewCmp, NewNewVal, in convertCmpXchgToIntegerType() local
935 NewCI->setVolatile(CI->isVolatile()); in convertCmpXchgToIntegerType()
936 NewCI->setWeak(CI->isWeak()); in convertCmpXchgToIntegerType()
937 DEBUG(dbgs() << "Replaced " << *CI << " with " << *NewCI << "\n"); in convertCmpXchgToIntegerType()
939 Value *OldVal = Builder.CreateExtractValue(NewCI, 0); in convertCmpXchgToIntegerType()
[all …]
DIntrinsicLowering.cpp80 CallInst *NewCI = Builder.CreateCall(FCache, Args); in ReplaceCallWith() local
81 NewCI->setName(CI->getName()); in ReplaceCallWith()
83 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith()
84 return NewCI; in ReplaceCallWith()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DIntrinsicLowering.cpp80 CallInst *NewCI = Builder.CreateCall(FCache, Args); in ReplaceCallWith() local
81 NewCI->setName(CI->getName()); in ReplaceCallWith()
83 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith()
84 return NewCI; in ReplaceCallWith()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DAutoUpgrade.cpp316 CallInst *NewCI = CallInst::Create(NewFn, Operands, in UpgradeIntrinsicCall() local
318 NewCI->setTailCall(CI->isTailCall()); in UpgradeIntrinsicCall()
319 NewCI->setCallingConv(CI->getCallingConv()); in UpgradeIntrinsicCall()
324 CI->replaceAllUsesWith(NewCI); in UpgradeIntrinsicCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86WinEHState.cpp500 CallInst *NewCI = Builder.CreateCall(SetJmp3, Args, OpBundles); in rewriteSetJmpCallSite() local
501 NewCI->setTailCallKind(CI->getTailCallKind()); in rewriteSetJmpCallSite()
502 NewCS = NewCI; in rewriteSetJmpCallSite()
/external/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1863 CallInst *NewCI = in InlineFunction() local
1867 NewCI->setDebugLoc(CI->getDebugLoc()); in InlineFunction()
1868 NewCI->setAttributes(Attrs); in InlineFunction()
1869 NewCI->setCallingConv(CI->getCallingConv()); in InlineFunction()
1870 CI->replaceAllUsesWith(NewCI); in InlineFunction()
1872 CI = NewCI; in InlineFunction()
DSimplifyLibCalls.cpp2110 Value *NewCI = emitFPutC(Char, CI->getArgOperand(3), B, TLI); in optimizeFWrite() local
2111 return NewCI ? ConstantInt::get(CI->getType(), 1) : nullptr; in optimizeFWrite()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolutionExpander.cpp45 Instruction *NewCI = CastInst::Create(Op, V, Ty, "", IP); in ReuseOrCreateCast() local
46 NewCI->takeName(CI); in ReuseOrCreateCast()
47 CI->replaceAllUsesWith(NewCI); in ReuseOrCreateCast()
49 rememberInstruction(NewCI); in ReuseOrCreateCast()
50 return NewCI; in ReuseOrCreateCast()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp872 CallInst *NewCI = in runEHOnFunction() local
874 CI->replaceAllUsesWith(NewCI); in runEHOnFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp377 auto *NewCI = CallInst::Create(CI->getCalledValue(), Args, OpB, CI->getName(), in Create() local
379 NewCI->setTailCallKind(CI->getTailCallKind()); in Create()
380 NewCI->setCallingConv(CI->getCallingConv()); in Create()
381 NewCI->SubclassOptionalData = CI->SubclassOptionalData; in Create()
382 NewCI->setAttributes(CI->getAttributes()); in Create()
383 NewCI->setDebugLoc(CI->getDebugLoc()); in Create()
384 return NewCI; in Create()
/external/llvm/lib/IR/
DInstructions.cpp324 auto *NewCI = CallInst::Create(CI->getCalledValue(), Args, OpB, CI->getName(), in Create() local
326 NewCI->setTailCallKind(CI->getTailCallKind()); in Create()
327 NewCI->setCallingConv(CI->getCallingConv()); in Create()
328 NewCI->SubclassOptionalData = CI->SubclassOptionalData; in Create()
329 NewCI->setAttributes(CI->getAttributes()); in Create()
330 NewCI->setDebugLoc(CI->getDebugLoc()); in Create()
331 return NewCI; in Create()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1829 Value *NewCI = emitFPutC(Char, CI->getArgOperand(3), B, TLI); in optimizeFWrite() local
1830 return NewCI ? ConstantInt::get(CI->getType(), 1) : nullptr; in optimizeFWrite()