Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstantFold.cpp396 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedSizeOf()
411 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedAlignOf()
460 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedAlignOf()
473 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, false, in getFoldedOffsetOf()
497 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, in getFoldedOffsetOf()
513 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedOffsetOf()
541 return ConstantExpr::getCast(newOpc, CE->getOperand(0), DestTy); in ConstantFoldCastInstruction()
580 res.push_back(ConstantExpr::getCast(opc, C, DstEltTy)); in ConstantFoldCastInstruction()
652 Idx = ConstantExpr::getCast(CastInst::getCastOpcode(Idx, true, in ConstantFoldCastInstruction()
2005 if (ConstantExpr::getCast(CE1->getOpcode(), C2Inverse, in ConstantFoldCompareInstruction()
H A DConstants.cpp1229 return ConstantExpr::getCast(getOpcode(), Ops[0], Ty, OnlyIfReduced); in getWithOperands()
1530 Constant *ConstantExpr::getCast(unsigned oc, Constant *C, Type *Ty, in getCast() function in ConstantExpr
1622 return getCast(opcode, C, Ty); in getIntegerCast()
1634 return getCast(opcode, C, Ty); in getFPCast()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DLoopUnrollAnalyzer.cpp157 ConstantExpr::getCast(I.getOpcode(), COp, I.getType())) { in visitCastInst()
H A DConstantFolding.cpp340 return ConstantExpr::getCast(Cast, C, DestTy); in ConstantFoldLoadThroughBitcast()
763 NewIdxs.push_back(ConstantExpr::getCast(CastInst::getCastOpcode(Ops[i], in CastGEPIndices()
1301 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand()
1321 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand()
1332 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand()
H A DPHITransAddr.cpp199 return AddAsInput(ConstantExpr::getCast(Cast->getOpcode(), in PHITranslateSubExpr()
H A DInlineCost.cpp706 return ConstantExpr::getCast(I.getOpcode(), COps[0], I.getType()); in visitCastInst()
H A DInstructionSimplify.cpp1774 return ConstantExpr::getCast(Cast0->getOpcode(), C, Cast0->getType()); in simplifyAndOrOfCmps()
3406 Constant *RExt = ConstantExpr::getCast(CastInst::ZExt, Trunc, DstTy); in SimplifyICmpInst()
3465 Constant *RExt = ConstantExpr::getCast(CastInst::SExt, Trunc, DstTy); in SimplifyICmpInst()
H A DScalarEvolutionExpander.cpp149 return ConstantExpr::getCast(Op, C, Ty); in InsertNoopCastOfTo()
H A DValueTracking.cpp5074 ConstantExpr::getCast(*CastOp, CastedTo, C->getType(), true); in lookThroughCast()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptx86ABIFixups.cpp183 llvm::Constant *new_func_cast = llvm::ConstantExpr::getCast( in fixupX86StructRetCalls()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DConstantFolder.h183 return ConstantExpr::getCast(Op, C, DestTy); in CreateCast()
H A DConstants.h1050 static Constant *getCast(unsigned ops, Constant *C, Type *Ty,
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetFolder.h171 return Fold(ConstantExpr::getCast(Op, C, DestTy)); in CreateCast()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Orc/
H A DIndirectionUtils.cpp221 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal, in createIRTypedAddress()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp385 InstResult = ConstantExpr::getCast(CI->getOpcode(), in EvaluateBlock()
/freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/Orc/
H A DCompileOnDemandLayer.h472 Constant *Init = ConstantExpr::getCast(Instruction::IntToPtr, in addLogicalModule()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp623 Current = ConstantExpr::getCast((*I)->getOpcode(), C, (*I)->getType()); in applyExts()
H A DJumpThreading.cpp665 R.first = ConstantExpr::getCast(CI->getOpcode(), R.first, CI->getType()); in ComputeValueKnownInPredecessorsImpl()
H A DLoopStrengthReduce.cpp5198 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in Expand()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp274 Constant *CastC2 = ConstantExpr::getCast(CastOpcode, C2, DestTy); in simplifyAssocCastAssoc()
1017 InV = ConstantExpr::getCast(CI->getOpcode(), InC, RetTy); in foldOpIntoPhi()
1528 if (ConstantExpr::getCast(CastOpc, NarrowC, BO.getType()) != WideC) in narrowMathIfNoOverflow()
H A DInstCombineSelect.cpp1310 Constant *ExtC = ConstantExpr::getCast(ExtOpcode, TruncC, SelType); in foldSelectExtConst()
1329 Constant *AllOnesOrOne = ConstantExpr::getCast(ExtOpcode, One, SelType); in foldSelectExtConst()
H A DInstCombineCompares.cpp3773 Constant *Res2 = ConstantExpr::getCast(LHSCI->getOpcode(), Res1, DestTy); in foldICmpWithCastAndCast()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp684 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty); in InjectTraceForSwitch()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp715 ConstantExpr::getCast(CI->getOpcode(), in OptimizeAwayTrappingUsesOfValue()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2395 if (!V) V = ConstantExpr::getCast(Opc, Op, CurTy); in parseConstants()

12