/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 397 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()
|
D | Constants.cpp | 1202 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/ |
D | IndirectionUtils.cpp | 29 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal, in createIRTypedAddress()
|
/external/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 158 return ConstantExpr::getCast(Op, C, DestTy); in CreateCast()
|
D | Constants.h | 1021 static Constant *getCast(unsigned ops, Constant *C, Type *Ty,
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 507 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()
|
D | PHITransAddr.cpp | 201 return AddAsInput(ConstantExpr::getCast(Cast->getOpcode(), in PHITranslateSubExpr()
|
D | InlineCost.cpp | 486 if (Constant *C = ConstantExpr::getCast(I.getOpcode(), COp, I.getType())) { in visitCastInst()
|
D | ScalarEvolutionExpander.cpp | 151 return ConstantExpr::getCast(Op, C, Ty); in InsertNoopCastOfTo()
|
D | InstructionSimplify.cpp | 2466 Constant *RExt = ConstantExpr::getCast(CastInst::ZExt, Trunc, DstTy); in SimplifyICmpInst() 2525 Constant *RExt = ConstantExpr::getCast(CastInst::SExt, Trunc, DstTy); in SimplifyICmpInst()
|
D | ScalarEvolution.cpp | 6284 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in computeSCEVAtScope()
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 172 return Fold(ConstantExpr::getCast(Op, C, DestTy)); in CreateCast()
|
/external/llvm/unittests/Linker/ |
D | LinkModulesTest.cpp | 55 Constant *OnePtr = ConstantExpr::getCast(Instruction::IntToPtr, One, in SetUp()
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
D | CompileOnDemandLayer.h | 292 Constant *Init = ConstantExpr::getCast(Instruction::IntToPtr, in addLogicalModule()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | SanitizerCoverage.cpp | 398 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty); in InjectTraceForSwitch()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 448 ConstantExpr::getCast(I.getOpcode(), COp, I.getType())) { in visitCastInst()
|
D | SeparateConstOffsetFromGEP.cpp | 578 Current = ConstantExpr::getCast((*I)->getOpcode(), C, (*I)->getType()); in applyExts()
|
D | SCCP.cpp | 761 markConstant(&I, ConstantExpr::getCast(I.getOpcode(), in visitCastInst()
|
D | LoopStrengthReduce.cpp | 4616 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in Expand()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 712 ConstantExpr::getCast(CI->getOpcode(), in OptimizeAwayTrappingUsesOfValue() 2511 InstResult = ConstantExpr::getCast(CI->getOpcode(), in EvaluateBlock()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 911 InV = ConstantExpr::getCast(CI->getOpcode(), InC, RetTy); in FoldOpIntoPhi()
|
D | InstCombineAndOrXor.cpp | 2695 (RHS == ConstantExpr::getCast(Opcode, Builder->getTrue(), in visitXor()
|
D | InstCombineCompares.cpp | 2088 Constant *Res2 = ConstantExpr::getCast(LHSCI->getOpcode(), in visitICmpInstWithCastAndCast()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 2744 if (!V) V = ConstantExpr::getCast(Opc, Op, CurTy); in parseConstants()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 2781 ID.ConstantVal = ConstantExpr::getCast((Instruction::CastOps)Opc, in ParseValID()
|