Home
last modified time | relevance | path

Searched refs:CastOp (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp210 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/
Dop_node.h90 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;
Dop_register.h66 Register("Cast", OP_CREATOR(CastOp)); in OpRegistry()
Dop_node.cc293 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/
DValueTracking.h631 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/
DConstantRange.h294 ConstantRange castOp(Instruction::CastOps CastOp,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp378 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()
DValueTracking.cpp5136 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 …]
DScalarEvolution.cpp5906 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/
DAtomicExpandPass.cpp957 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/
DInstCombineCalls.cpp1536 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()
DInstCombineSelect.cpp2540 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/
DConstantRange.cpp626 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/
DBitcodeReader.cpp3945 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/
DLoopVectorize.cpp3055 Instruction::CastOps CastOp = in createVectorizedLoopSkeleton() local
3057 Value *CRD = B.CreateCast(CastOp, CountRoundDown, StepType, "cast.crd"); in createVectorizedLoopSkeleton()