Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptx86ABIFixups.cpp173 llvm::Constant *new_func_cast = llvm::ConstantExpr::getCast( in fixupX86StructRetCalls()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DConstantFolder.h179 return ConstantExpr::getCast(Op, C, DestTy); in CreateCast()
H A DConstants.h1154 static Constant *getCast(unsigned ops, Constant *C, Type *Ty,
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DTargetFolder.h192 return Fold(ConstantExpr::getCast(Op, C, DestTy)); in CreateCast()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DPHITransAddr.cpp198 return AddAsInput(ConstantExpr::getCast(Cast->getOpcode(), in PHITranslateSubExpr()
H A DConstantFolding.cpp380 return ConstantExpr::getCast(Cast, C, DestTy); in ConstantFoldLoadThroughBitcast()
581 Res = ConstantExpr::getCast(Instruction::IntToPtr, Res, LoadTy); in FoldReinterpretLoadFromConst()
844 NewIdxs.push_back(ConstantExpr::getCast(CastInst::getCastOpcode(Ops[i], in CastGEPIndices()
1457 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand()
1477 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand()
1488 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand()
H A DInstructionSimplify.cpp2032 return ConstantExpr::getCast(Cast0->getOpcode(), C, Cast0->getType()); in simplifyAndOrOfCmps()
3771 Constant *RExt = ConstantExpr::getCast(CastInst::ZExt, Trunc, DstTy); in simplifyICmpInst()
3840 Constant *RExt = ConstantExpr::getCast(CastInst::SExt, Trunc, DstTy); in simplifyICmpInst()
H A DValueTracking.cpp6530 ConstantExpr::getCast(*CastOp, CastedTo, C->getType(), true); in lookThroughCast()
H A DScalarEvolution.cpp10058 C = ConstantExpr::getCast( in computeSCEVAtScope()
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DIndirectionUtils.cpp251 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal, in createIRTypedAddress()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DConstantFold.cpp375 return ConstantExpr::getCast(newOpc, CE->getOperand(0), DestTy); in ConstantFoldCastInstruction()
414 ConstantExpr::getCast(opc, Splat, DstEltTy)); in ConstantFoldCastInstruction()
423 res.push_back(ConstantExpr::getCast(opc, C, DstEltTy)); in ConstantFoldCastInstruction()
1898 if (ConstantExpr::getCast(CE1->getOpcode(), C2Inverse, in ConstantFoldCompareInstruction()
H A DConstants.cpp1487 return ConstantExpr::getCast(getOpcode(), Ops[0], Ty, OnlyIfReduced); in getWithOperands()
1973 Constant *ConstantExpr::getCast(unsigned oc, Constant *C, Type *Ty, in getCast() function in ConstantExpr
2076 return getCast(opcode, C, Ty); in getIntegerCast()
2088 return getCast(opcode, C, Ty); in getFPCast()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp654 Current = ConstantExpr::getCast(I->getOpcode(), C, I->getType()); in applyExts()
H A DJumpThreading.cpp730 R.first = ConstantExpr::getCast(CI->getOpcode(), R.first, CI->getType()); in computeValueKnownInPredecessorsImpl()
H A DLoopStrengthReduce.cpp5482 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in Expand()
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp2140 auto getCast = [&](IRBuilderBase &Builder, Value *Val, in createHvxIntrinsic() local
2171 IntrArgs.push_back(getCast(Builder, A, T)); in createHvxIntrinsic()
2183 return getCast(Builder, Call, RetTy); in createHvxIntrinsic()
/openbsd/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp845 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty); in InjectTraceForSwitch()
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2039 Constant *ExtC = ConstantExpr::getCast(ExtOpcode, TruncC, SelType); in foldSelectExtConst()
2058 Constant *AllOnesOrOne = ConstantExpr::getCast(ExtOpcode, One, SelType); in foldSelectExtConst()
H A DInstructionCombining.cpp362 Constant *CastC2 = ConstantExpr::getCast(CastOpcode, C2, DestTy); in simplifyAssocCastAssoc()
1925 if (ConstantExpr::getCast(CastOpc, NarrowC, BO.getType()) != WideC) in narrowMathIfNoOverflow()
H A DInstCombineCompares.cpp4900 Constant *Res2 = ConstantExpr::getCast(CastOp0->getOpcode(), Res1, DestTy); in foldICmpWithZextOrSext()
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp740 ConstantExpr::getCast(CI->getOpcode(), in OptimizeAwayTrappingUsesOfValue()
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp209 return ConstantExpr::getCast(Op, C, Ty); in InsertNoopCastOfTo()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6214 ValMap[C] = ConstantExpr::getCast(Instruction::BitCast, C, ConvertTy); in optimizePhiType()
/openbsd/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1475 C = ConstantExpr::getCast(BC->Opcode, ConstOps[0], BC->getType()); in materializeValue()
/openbsd/gnu/llvm/llvm/lib/AsmParser/
H A DLLParser.cpp3756 ID.ConstantVal = ConstantExpr::getCast((Instruction::CastOps)Opc, in parseValID()