Home
last modified time | relevance | path

Searched refs:getCast (Results 1 – 25 of 26) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp398 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedSizeOf()
413 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedAlignOf()
462 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedAlignOf()
475 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, false, in getFoldedOffsetOf()
499 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, in getFoldedOffsetOf()
515 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedOffsetOf()
543 return ConstantExpr::getCast(newOpc, CE->getOperand(0), DestTy); in ConstantFoldCastInstruction()
582 res.push_back(ConstantExpr::getCast(opc, C, DstEltTy)); in ConstantFoldCastInstruction()
654 Idx = ConstantExpr::getCast(CastInst::getCastOpcode(Idx, true, in ConstantFoldCastInstruction()
2126 if (ConstantExpr::getCast(CE1->getOpcode(), C2Inverse, in ConstantFoldCompareInstruction()
DConstants.cpp1311 return ConstantExpr::getCast(getOpcode(), Ops[0], Ty, OnlyIfReduced); in getWithOperands()
1629 Constant *ConstantExpr::getCast(unsigned oc, Constant *C, Type *Ty, in getCast() function in ConstantExpr
1721 return getCast(opcode, C, Ty); in getIntegerCast()
1733 return getCast(opcode, C, Ty); in getFPCast()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp156 ConstantExpr::getCast(I.getOpcode(), COp, I.getType())) { in visitCastInst()
DConstantFolding.cpp345 return ConstantExpr::getCast(Cast, C, DestTy); in ConstantFoldLoadThroughBitcast()
542 Res = ConstantExpr::getCast(Instruction::IntToPtr, Res, LoadTy); in FoldReinterpretLoadFromConstPtr()
783 NewIdxs.push_back(ConstantExpr::getCast(CastInst::getCastOpcode(Ops[i], in CastGEPIndices()
1333 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand()
1353 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand()
1364 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand()
DPHITransAddr.cpp198 return AddAsInput(ConstantExpr::getCast(Cast->getOpcode(), in PHITranslateSubExpr()
DInlineCost.cpp992 return ConstantExpr::getCast(I.getOpcode(), COps[0], I.getType()); in visitCastInst()
DInstructionSimplify.cpp1866 return ConstantExpr::getCast(Cast0->getOpcode(), C, Cast0->getType()); in simplifyAndOrOfCmps()
3327 Constant *RExt = ConstantExpr::getCast(CastInst::ZExt, Trunc, DstTy); in SimplifyICmpInst()
3386 Constant *RExt = ConstantExpr::getCast(CastInst::SExt, Trunc, DstTy); in SimplifyICmpInst()
DScalarEvolutionExpander.cpp146 return ConstantExpr::getCast(Op, C, Ty); in InsertNoopCastOfTo()
DValueTracking.cpp5221 ConstantExpr::getCast(*CastOp, CastedTo, C->getType(), true); in lookThroughCast()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantFolder.h186 return ConstantExpr::getCast(Op, C, DestTy); in CreateCast()
DConstants.h1050 static Constant *getCast(unsigned ops, Constant *C, Type *Ty,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetFolder.h174 return Fold(ConstantExpr::getCast(Op, C, DestTy)); in CreateCast()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp226 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal, in createIRTypedAddress()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DEvaluator.cpp411 InstResult = ConstantExpr::getCast(CI->getOpcode(), in EvaluateBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DCompileOnDemandLayer.h488 Constant *Init = ConstantExpr::getCast(Instruction::IntToPtr, in addLogicalModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp623 Current = ConstantExpr::getCast((*I)->getOpcode(), C, (*I)->getType()); in applyExts()
DJumpThreading.cpp681 R.first = ConstantExpr::getCast(CI->getOpcode(), R.first, CI->getType()); in ComputeValueKnownInPredecessorsImpl()
DLoopStrengthReduce.cpp5292 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in Expand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp301 Constant *CastC2 = ConstantExpr::getCast(CastOpcode, C2, DestTy); in simplifyAssocCastAssoc()
1089 InV = ConstantExpr::getCast(CI->getOpcode(), InC, RetTy); in foldOpIntoPhi()
1626 if (ConstantExpr::getCast(CastOpc, NarrowC, BO.getType()) != WideC) in narrowMathIfNoOverflow()
DInstCombineSelect.cpp1900 Constant *ExtC = ConstantExpr::getCast(ExtOpcode, TruncC, SelType); in foldSelectExtConst()
1919 Constant *AllOnesOrOne = ConstantExpr::getCast(ExtOpcode, One, SelType); in foldSelectExtConst()
DInstCombineCompares.cpp4390 Constant *Res2 = ConstantExpr::getCast(CastOp0->getOpcode(), Res1, DestTy); in foldICmpWithZextOrSext()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp765 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty); in InjectTraceForSwitch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp729 ConstantExpr::getCast(CI->getOpcode(), in OptimizeAwayTrappingUsesOfValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2576 if (!V) V = ConstantExpr::getCast(Opc, Op, CurTy); in parseConstants()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.cpp3338 ID.ConstantVal = ConstantExpr::getCast((Instruction::CastOps)Opc, in ParseValID()

12