/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Float2Int.cpp | 210 auto CastOp = (Instruction::CastOps)I->getOpcode(); in walkBackwards() local 211 seen(I, validateRange(Input.castOp(CastOp, MaxIntegerBW+1))); in walkBackwards() 285 auto CastOp = (Instruction::CastOps)I->getOpcode(); in walkForwards() local 286 return Ops[0].castOp(CastOp, MaxIntegerBW+1); in walkForwards()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/model/ |
D | op_node.h | 90 class CastOp : public ElemwiseOp { 92 CastOp(const std::string &op, const std::string &node_name) : ElemwiseOp("Cast", node_name) {} in CastOp() function 93 ~CastOp() = default;
|
D | op_register.h | 66 Register("Cast", OP_CREATOR(CastOp)); in OpRegistry()
|
D | op_node.cc | 293 TypeId CastOp::InferType(const NodePtrList &inputs, const DAttrs &attrs) { in InferType()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | ValueTracking.h | 631 Instruction::CastOps *CastOp = nullptr, 648 Instruction::CastOps *CastOp = nullptr, unsigned Depth = 0);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ConstantRange.h | 294 ConstantRange castOp(Instruction::CastOps CastOp,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | BasicAliasAnalysis.cpp | 378 Value *CastOp = cast<CastInst>(V)->getOperand(0); in GetLinearExpression() local 380 unsigned SmallWidth = CastOp->getType()->getPrimitiveSizeInBits(); in GetLinearExpression() 383 GetLinearExpression(CastOp, Scale, Offset, ZExtBits, SExtBits, DL, in GetLinearExpression() 403 Result = CastOp; in GetLinearExpression() 416 Result = CastOp; in GetLinearExpression()
|
D | ValueTracking.cpp | 5136 Instruction::CastOps *CastOp) { in lookThroughCast() argument 5141 *CastOp = Cast1->getOpcode(); in lookThroughCast() 5145 if (*CastOp == Cast2->getOpcode() && SrcTy == Cast2->getSrcTy()) in lookThroughCast() 5155 switch (*CastOp) { in lookThroughCast() 5221 ConstantExpr::getCast(*CastOp, CastedTo, C->getType(), true); in lookThroughCast() 5229 Instruction::CastOps *CastOp, in matchSelectPattern() argument 5244 CastOp, Depth); in matchSelectPattern() 5249 Instruction::CastOps *CastOp, unsigned Depth) { in matchDecomposedSelectPattern() argument 5262 if (CastOp && CmpLHS->getType() != TrueVal->getType()) { in matchDecomposedSelectPattern() 5263 if (Value *C = lookThroughCast(CmpI, TrueVal, FalseVal, CastOp)) { in matchDecomposedSelectPattern() [all …]
|
D | ScalarEvolution.cpp | 5906 Optional<unsigned> CastOp; in getRangeViaFactoring() local 5925 CastOp = SCast->getSCEVType(); in getRangeViaFactoring() 5944 if (CastOp.hasValue()) in getRangeViaFactoring() 5945 switch (*CastOp) { in getRangeViaFactoring() 8121 if (Constant *CastOp = BuildConstantFromSCEV(SS->getOperand())) in BuildConstantFromSCEV() local 8122 return ConstantExpr::getSExt(CastOp, SS->getType()); in BuildConstantFromSCEV() 8127 if (Constant *CastOp = BuildConstantFromSCEV(SZ->getOperand())) in BuildConstantFromSCEV() local 8128 return ConstantExpr::getZExt(CastOp, SZ->getType()); in BuildConstantFromSCEV() 8133 if (Constant *CastOp = BuildConstantFromSCEV(ST->getOperand())) in BuildConstantFromSCEV() local 8134 return ConstantExpr::getTrunc(CastOp, ST->getType()); in BuildConstantFromSCEV()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 957 Instruction::CastOps CastOp = Instruction::ZExt; in expandAtomicRMWToMaskedIntrinsic() local 960 CastOp = Instruction::SExt; in expandAtomicRMWToMaskedIntrinsic() 963 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType), in expandAtomicRMWToMaskedIntrinsic()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 1536 Optional<Instruction::CastOps> CastOp; in SimplifyNVVMIntrinsic() member 1549 SimplifyAction(Instruction::CastOps CastOp) : CastOp(CastOp) {} in SimplifyNVVMIntrinsic() 1736 if (Action.CastOp) in SimplifyNVVMIntrinsic() 1737 return CastInst::Create(*Action.CastOp, II->getArgOperand(0), II->getType(), in SimplifyNVVMIntrinsic()
|
D | InstCombineSelect.cpp | 2540 Instruction::CastOps CastOp; in visitSelectInst() local 2541 SelectPatternResult SPR = matchSelectPattern(&SI, LHS, RHS, &CastOp); in visitSelectInst() 2586 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantRange.cpp | 626 ConstantRange ConstantRange::castOp(Instruction::CastOps CastOp, in castOp() argument 628 switch (CastOp) { in castOp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 3945 auto CastOp = (Instruction::CastOps)Opc; in parseFunctionBody() local 3946 if (!CastInst::castIsValid(CastOp, Op, ResTy)) in parseFunctionBody() 3948 I = CastInst::Create(CastOp, Op, ResTy); in parseFunctionBody()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 3055 Instruction::CastOps CastOp = in createVectorizedLoopSkeleton() local 3057 Value *CRD = B.CreateCast(CastOp, CountRoundDown, StepType, "cast.crd"); in createVectorizedLoopSkeleton()
|