Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroEarly.cpp32 void lowerCoroPromise(CoroPromiseInst *Intrin);
65 void Lowerer::lowerCoroPromise(CoroPromiseInst *Intrin) { in lowerCoroPromise() argument
66 Value *Operand = Intrin->getArgOperand(0); in lowerCoroPromise()
67 unsigned Alignement = Intrin->getAlignment(); in lowerCoroPromise()
75 if (Intrin->isFromPromise()) in lowerCoroPromise()
78 Builder.SetInsertPoint(Intrin); in lowerCoroPromise()
82 Intrin->replaceAllUsesWith(Replacement); in lowerCoroPromise()
83 Intrin->eraseFromParent(); in lowerCoroPromise()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUUnifyDivergentExitNodes.cpp125 if (IntrinsicInst *Intrin = llvm::dyn_cast<IntrinsicInst>(&I)) { in removeDoneExport() local
126 if (Intrin->getIntrinsicID() == Intrinsic::amdgcn_exp) { in removeDoneExport()
127 Intrin->setArgOperand(6, BoolFalse); // done in removeDoneExport()
128 } else if (Intrin->getIntrinsicID() == Intrinsic::amdgcn_exp_compr) { in removeDoneExport()
129 Intrin->setArgOperand(4, BoolFalse); // done in removeDoneExport()
DAMDGPUCodeGenPrepare.cpp498 FunctionCallee Intrin = Intrinsic::getDeclaration(Mod, IntrID); in replaceMulWithMul24() local
509 Value *Result = Builder.CreateCall(Intrin, {LHS, RHS}); in replaceMulWithMul24()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLocal.cpp2872 Intrinsic::ID Intrin; in recognizeBSwapOrBitReverseIdiom() local
2874 Intrin = Intrinsic::bswap; in recognizeBSwapOrBitReverseIdiom()
2876 Intrin = Intrinsic::bitreverse; in recognizeBSwapOrBitReverseIdiom()
2881 Function *F = Intrinsic::getDeclaration(I->getModule(), Intrin, DemandedTy); in recognizeBSwapOrBitReverseIdiom()
2898 Function *F = Intrinsic::getDeclaration(I->getModule(), Intrin, ITy); in recognizeBSwapOrBitReverseIdiom()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAutoUpgrade.cpp1123 Function *Intrin = Intrinsic::getDeclaration(CI.getModule(), IID, Ty); in UpgradeX86AddSubSatIntrinsics() local
1124 Value *Res = Builder.CreateCall(Intrin, {Op0, Op1}); in UpgradeX86AddSubSatIntrinsics()
1150 Function *Intrin = Intrinsic::getDeclaration(CI.getModule(), IID, Ty); in upgradeX86Rotate() local
1151 Value *Res = Builder.CreateCall(Intrin, {Src, Src, Amt}); in upgradeX86Rotate()
1220 Function *Intrin = Intrinsic::getDeclaration(CI.getModule(), IID, Ty); in upgradeX86ConcatShift() local
1221 Value *Res = Builder.CreateCall(Intrin, {Op0, Op1, Amt}); in upgradeX86ConcatShift()
1385 Function *Intrin = Intrinsic::getDeclaration(CI.getModule(), IID); in UpgradeX86MaskedShift() local
1386 Value *Rep = Builder.CreateCall(Intrin, in UpgradeX86MaskedShift()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceTargetLoweringX8632.cpp688 } else if (auto *Intrin = llvm::dyn_cast<InstIntrinsic>(CurInst)) { in doLoadOpt() local
692 Intrinsics::IntrinsicID ID = Intrin->getIntrinsicID(); in doLoadOpt()
694 (Intrin->getDest()->getType() != IceType_i64) && in doLoadOpt()
696 ID, getConstantMemoryOrder(Intrin->getArg(1)))) { in doLoadOpt()
697 LoadDest = Intrin->getDest(); in doLoadOpt()
699 LoadSrc = formMemoryOperand(Intrin->getArg(0), LoadDest->getType(), in doLoadOpt()
DIceTargetLoweringX8664.cpp699 } else if (auto *Intrin = llvm::dyn_cast<InstIntrinsic>(CurInst)) { in doLoadOpt() local
703 Intrinsics::IntrinsicID ID = Intrin->getIntrinsicID(); in doLoadOpt()
706 ID, getConstantMemoryOrder(Intrin->getArg(1)))) { in doLoadOpt()
707 LoadDest = Intrin->getDest(); in doLoadOpt()
709 LoadSrc = formMemoryOperand(Intrin->getArg(0), LoadDest->getType(), in doLoadOpt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp9516 static bool getVectorCompareInfo(SDValue Intrin, int &CompareOpc, in getVectorCompareInfo() argument
9519 cast<ConstantSDNode>(Intrin.getOperand(0))->getZExtValue(); in getVectorCompareInfo()
13459 MemIntrinsicSDNode *Intrin = cast<MemIntrinsicSDNode>(N); in expandVSXLoadForLE() local
13460 Chain = Intrin->getChain(); in expandVSXLoadForLE()
13463 Base = Intrin->getOperand(2); in expandVSXLoadForLE()
13464 MMO = Intrin->getMemOperand(); in expandVSXLoadForLE()
13529 MemIntrinsicSDNode *Intrin = cast<MemIntrinsicSDNode>(N); in expandVSXStoreForLE() local
13530 Chain = Intrin->getChain(); in expandVSXStoreForLE()
13532 Base = Intrin->getOperand(3); in expandVSXStoreForLE()
13533 MMO = Intrin->getMemOperand(); in expandVSXStoreForLE()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXIntrinsics.td1895 multiclass NG_TO_G<string Str, Intrinsic Intrin> {
1898 [(set Int32Regs:$result, (Intrin Int32Regs:$src))]>;
1901 [(set Int64Regs:$result, (Intrin Int64Regs:$src))]>;
1906 [(set Int64Regs:$result, (Intrin Int32Regs:$src))]>,
1910 multiclass G_TO_NG<string Str, Intrinsic Intrin> {
1913 [(set Int32Regs:$result, (Intrin Int32Regs:$src))]>;
1916 [(set Int64Regs:$result, (Intrin Int64Regs:$src))]>;
1921 [(set Int32Regs:$result, (Intrin Int64Regs:$src))]>,
DNVPTXISelLowering.cpp4913 SDValue Intrin = N->getOperand(1); in ReplaceINTRINSIC_W_CHAIN() local
4917 unsigned IntrinNo = cast<ConstantSDNode>(Intrin.getNode())->getZExtValue(); in ReplaceINTRINSIC_W_CHAIN()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1074 } else if (const auto *Intrin = dyn_cast<IntrinsicInst>(V)) { in foldAllocaCmp() local
1075 switch (Intrin->getIntrinsicID()) { in foldAllocaCmp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp7734 unsigned Intrin = in tryLowerToSLI() local
7738 DAG.getConstant(Intrin, DL, MVT::i32), X, Y, in tryLowerToSLI()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp36451 SDValue Intrin = DAG.getConstant(IntrinOp, DL, MVT::i32); in createMMXBuildVector() local
36453 Ops[i / 2] = DAG.getNode(ISD::INTRINSIC_WO_CHAIN, DL, MVT::x86mmx, Intrin, in createMMXBuildVector()