Home
last modified time | relevance | path

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

/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/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/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/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/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()