/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 397 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() 476 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, false, in getFoldedOffsetOf() 500 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, in getFoldedOffsetOf() 516 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedOffsetOf() 544 return ConstantExpr::getCast(newOpc, CE->getOperand(0), DestTy); in ConstantFoldCastInstruction() 576 res.push_back(ConstantExpr::getCast(opc, C, DstEltTy)); in ConstantFoldCastInstruction() 641 Idx = ConstantExpr::getCast(CastInst::getCastOpcode(Idx, true, in ConstantFoldCastInstruction() 1980 if (ConstantExpr::getCast(CE1->getOpcode(), C2Inverse, in ConstantFoldCompareInstruction()
|
D | Constants.cpp | 1151 return ConstantExpr::getCast(getOpcode(), Ops[0], Ty, OnlyIfReduced); in getWithOperands() 1457 Constant *ConstantExpr::getCast(unsigned oc, Constant *C, Type *Ty, in getCast() function in ConstantExpr 1549 return getCast(opcode, C, Ty); in getIntegerCast() 1561 return getCast(opcode, C, Ty); in getFPCast()
|
/external/llvm/lib/Analysis/ |
D | LoopUnrollAnalyzer.cpp | 152 ConstantExpr::getCast(I.getOpcode(), COp, I.getType())) { in visitCastInst()
|
D | ConstantFolding.cpp | 524 return ConstantExpr::getCast(Cast, C, DestTy); in ConstantFoldLoadThroughBitcast() 704 NewIdxs.push_back(ConstantExpr::getCast(CastInst::getCastOpcode(Ops[i], in CastGEPIndices() 1205 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand() 1225 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand() 1236 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand()
|
D | PHITransAddr.cpp | 201 return AddAsInput(ConstantExpr::getCast(Cast->getOpcode(), in PHITranslateSubExpr()
|
D | InstructionSimplify.cpp | 1637 return ConstantExpr::getCast(CastOpc, V, ResultType); in SimplifyAndInst() 1639 return ConstantExpr::getCast(CastOpc, V, ResultType); in SimplifyAndInst() 2492 Constant *RExt = ConstantExpr::getCast(CastInst::ZExt, Trunc, DstTy); in SimplifyICmpInst() 2551 Constant *RExt = ConstantExpr::getCast(CastInst::SExt, Trunc, DstTy); in SimplifyICmpInst()
|
D | InlineCost.cpp | 532 if (Constant *C = ConstantExpr::getCast(I.getOpcode(), COp, I.getType())) { in visitCastInst()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | ConstantFold.cpp | 380 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedSizeOf() 397 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedAlignOf() 446 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedAlignOf() 461 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, false, in getFoldedOffsetOf() 485 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, in getFoldedOffsetOf() 501 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedOffsetOf() 532 return ConstantExpr::getCast(newOpc, CE->getOperand(0), DestTy); in ConstantFoldCastInstruction() 559 res.push_back(ConstantExpr::getCast(opc, in ConstantFoldCastInstruction() 617 Idx = ConstantExpr::getCast(CastInst::getCastOpcode(Idx, true, in ConstantFoldCastInstruction()
|
D | Constants.cpp | 816 return ConstantExpr::getCast(getOpcode(), Op, getType()); in getWithOperandReplaced() 884 return ConstantExpr::getCast(getOpcode(), Ops[0], Ty); in getWithOperands() 1230 Constant *ConstantExpr::getCast(unsigned oc, Constant *C, Type *Ty) { in getCast() function in ConstantExpr 1293 return getCast(opcode, C, Ty); in getIntegerCast() 1305 return getCast(opcode, C, Ty); in getFPCast() 2114 Replacement = ConstantExpr::getCast(getOpcode(), To, getType()); in replaceUsesOfWithOnConstant()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ConstantFolding.cpp | 558 NewIdxs.push_back(ConstantExpr::getCast(CastInst::getCastOpcode(Ops[i], in CastGEPIndices() 856 return ConstantExpr::getCast(Opcode, Ops[0], DestTy); in ConstantFoldInstOperands() 867 return ConstantExpr::getCast(Opcode, Ops[0], DestTy); in ConstantFoldInstOperands() 877 return ConstantExpr::getCast(Opcode, Ops[0], DestTy); in ConstantFoldInstOperands()
|
D | PHITransAddr.cpp | 199 return AddAsInput(ConstantExpr::getCast(Cast->getOpcode(), in PHITranslateSubExpr()
|
D | InstructionSimplify.cpp | 1653 Constant *RExt = ConstantExpr::getCast(CastInst::ZExt, Trunc, DstTy); in SimplifyICmpInst() 1713 Constant *RExt = ConstantExpr::getCast(CastInst::SExt, Trunc, DstTy); in SimplifyICmpInst()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | IndirectionUtils.cpp | 78 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal, in createIRTypedAddress()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | ConstantFolder.h | 157 return ConstantExpr::getCast(Op, C, DestTy); in CreateCast()
|
D | TargetFolder.h | 171 return Fold(ConstantExpr::getCast(Op, C, DestTy)); in CreateCast()
|
/external/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 158 return ConstantExpr::getCast(Op, C, DestTy); in CreateCast()
|
D | Constants.h | 979 static Constant *getCast(unsigned ops, Constant *C, Type *Ty,
|
/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 | 333 Constant *Init = ConstantExpr::getCast(Instruction::IntToPtr, in addLogicalModule()
|
/external/llvm/lib/Transforms/Utils/ |
D | Evaluator.cpp | 286 InstResult = ConstantExpr::getCast(CI->getOpcode(), in EvaluateBlock()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | SanitizerCoverage.cpp | 476 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty); in InjectTraceForSwitch()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Constants.h | 708 static Constant *getCast(
|
/external/llvm/lib/Transforms/Scalar/ |
D | SeparateConstOffsetFromGEP.cpp | 578 Current = ConstantExpr::getCast((*I)->getOpcode(), C, (*I)->getType()); in applyExts()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 739 ConstantExpr::getCast(CI->getOpcode(), in OptimizeAwayTrappingUsesOfValue() 2397 InstResult = ConstantExpr::getCast(CI->getOpcode(), in EvaluateFunction()
|