Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DConstantFold.cpp397 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedSizeOf()
414 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedAlignOf()
463 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedAlignOf()
478 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, false, in getFoldedOffsetOf()
502 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, in getFoldedOffsetOf()
518 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedOffsetOf()
545 return ConstantExpr::getCast(newOpc, CE->getOperand(0), DestTy); in ConstantFoldCastInstruction()
577 res.push_back(ConstantExpr::getCast(opc, C, DstEltTy)); in ConstantFoldCastInstruction()
642 Idx = ConstantExpr::getCast(CastInst::getCastOpcode(Idx, true, in ConstantFoldCastInstruction()
1963 if (ConstantExpr::getCast(CE1->getOpcode(), C2Inverse, in ConstantFoldCompareInstruction()
DConstants.cpp1202 return ConstantExpr::getCast(getOpcode(), Ops[0], Ty, OnlyIfReduced); in getWithOperands()
1526 Constant *ConstantExpr::getCast(unsigned oc, Constant *C, Type *Ty, in getCast() function in ConstantExpr
1619 return getCast(opcode, C, Ty); in getIntegerCast()
1631 return getCast(opcode, C, Ty); in getFPCast()
/external/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp29 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal, in createIRTypedAddress()
/external/llvm/include/llvm/IR/
DConstantFolder.h158 return ConstantExpr::getCast(Op, C, DestTy); in CreateCast()
DConstants.h1021 static Constant *getCast(unsigned ops, Constant *C, Type *Ty,
/external/llvm/lib/Analysis/
DConstantFolding.cpp507 return ConstantExpr::getCast(Cast, C, DestTy); in ConstantFoldLoadThroughBitcast()
692 NewIdxs.push_back(ConstantExpr::getCast(CastInst::getCastOpcode(Ops[i], in CastGEPIndices()
1049 return ConstantExpr::getCast(Opcode, Ops[0], DestTy); in ConstantFoldInstOperands()
1069 return ConstantExpr::getCast(Opcode, Ops[0], DestTy); in ConstantFoldInstOperands()
1080 return ConstantExpr::getCast(Opcode, Ops[0], DestTy); in ConstantFoldInstOperands()
DPHITransAddr.cpp201 return AddAsInput(ConstantExpr::getCast(Cast->getOpcode(), in PHITranslateSubExpr()
DInlineCost.cpp486 if (Constant *C = ConstantExpr::getCast(I.getOpcode(), COp, I.getType())) { in visitCastInst()
DScalarEvolutionExpander.cpp151 return ConstantExpr::getCast(Op, C, Ty); in InsertNoopCastOfTo()
DInstructionSimplify.cpp2466 Constant *RExt = ConstantExpr::getCast(CastInst::ZExt, Trunc, DstTy); in SimplifyICmpInst()
2525 Constant *RExt = ConstantExpr::getCast(CastInst::SExt, Trunc, DstTy); in SimplifyICmpInst()
DScalarEvolution.cpp6284 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in computeSCEVAtScope()
/external/llvm/include/llvm/Analysis/
DTargetFolder.h172 return Fold(ConstantExpr::getCast(Op, C, DestTy)); in CreateCast()
/external/llvm/unittests/Linker/
DLinkModulesTest.cpp55 Constant *OnePtr = ConstantExpr::getCast(Instruction::IntToPtr, One, in SetUp()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DCompileOnDemandLayer.h292 Constant *Init = ConstantExpr::getCast(Instruction::IntToPtr, in addLogicalModule()
/external/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp398 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty); in InjectTraceForSwitch()
/external/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp448 ConstantExpr::getCast(I.getOpcode(), COp, I.getType())) { in visitCastInst()
DSeparateConstOffsetFromGEP.cpp578 Current = ConstantExpr::getCast((*I)->getOpcode(), C, (*I)->getType()); in applyExts()
DSCCP.cpp761 markConstant(&I, ConstantExpr::getCast(I.getOpcode(), in visitCastInst()
DLoopStrengthReduce.cpp4616 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in Expand()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp712 ConstantExpr::getCast(CI->getOpcode(), in OptimizeAwayTrappingUsesOfValue()
2511 InstResult = ConstantExpr::getCast(CI->getOpcode(), in EvaluateBlock()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp911 InV = ConstantExpr::getCast(CI->getOpcode(), InC, RetTy); in FoldOpIntoPhi()
DInstCombineAndOrXor.cpp2695 (RHS == ConstantExpr::getCast(Opcode, Builder->getTrue(), in visitXor()
DInstCombineCompares.cpp2088 Constant *Res2 = ConstantExpr::getCast(LHSCI->getOpcode(), in visitICmpInstWithCastAndCast()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2744 if (!V) V = ConstantExpr::getCast(Opc, Op, CurTy); in parseConstants()
/external/llvm/lib/AsmParser/
DLLParser.cpp2781 ID.ConstantVal = ConstantExpr::getCast((Instruction::CastOps)Opc, in ParseValID()