Home
last modified time | relevance | path

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

12

/external/llvm/lib/IR/
DConstantFold.cpp397 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()
DConstants.cpp1151 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/
DLoopUnrollAnalyzer.cpp152 ConstantExpr::getCast(I.getOpcode(), COp, I.getType())) { in visitCastInst()
DConstantFolding.cpp524 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()
DPHITransAddr.cpp201 return AddAsInput(ConstantExpr::getCast(Cast->getOpcode(), in PHITranslateSubExpr()
DInstructionSimplify.cpp1637 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()
DInlineCost.cpp532 if (Constant *C = ConstantExpr::getCast(I.getOpcode(), COp, I.getType())) { in visitCastInst()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp380 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()
DConstants.cpp816 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/
DConstantFolding.cpp558 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()
DPHITransAddr.cpp199 return AddAsInput(ConstantExpr::getCast(Cast->getOpcode(), in PHITranslateSubExpr()
DInstructionSimplify.cpp1653 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/
DIndirectionUtils.cpp78 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal, in createIRTypedAddress()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantFolder.h157 return ConstantExpr::getCast(Op, C, DestTy); in CreateCast()
DTargetFolder.h171 return Fold(ConstantExpr::getCast(Op, C, DestTy)); in CreateCast()
/external/llvm/include/llvm/IR/
DConstantFolder.h158 return ConstantExpr::getCast(Op, C, DestTy); in CreateCast()
DConstants.h979 static Constant *getCast(unsigned ops, Constant *C, Type *Ty,
/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.h333 Constant *Init = ConstantExpr::getCast(Instruction::IntToPtr, in addLogicalModule()
/external/llvm/lib/Transforms/Utils/
DEvaluator.cpp286 InstResult = ConstantExpr::getCast(CI->getOpcode(), in EvaluateBlock()
/external/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp476 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty); in InjectTraceForSwitch()
/external/swiftshader/third_party/LLVM/include/llvm/
DConstants.h708 static Constant *getCast(
/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp578 Current = ConstantExpr::getCast((*I)->getOpcode(), C, (*I)->getType()); in applyExts()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DGlobalOpt.cpp739 ConstantExpr::getCast(CI->getOpcode(), in OptimizeAwayTrappingUsesOfValue()
2397 InstResult = ConstantExpr::getCast(CI->getOpcode(), in EvaluateFunction()

12