| /llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/ |
| H A D | RenderScriptx86ABIFixups.cpp | 173 llvm::Constant *new_func_cast = llvm::ConstantExpr::getCast( in fixupX86StructRetCalls()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | ConstantFolder.h | 179 return ConstantExpr::getCast(Op, C, DestTy); in CreateCast()
|
| H A D | Constants.h | 1129 static Constant *getCast(unsigned ops, Constant *C, Type *Ty,
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetFolder.h | 192 return Fold(ConstantExpr::getCast(Op, C, DestTy)); in CreateCast()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | PHITransAddr.cpp | 198 return AddAsInput(ConstantExpr::getCast(Cast->getOpcode(), in PHITranslateSubExpr()
|
| H A D | ConstantFolding.cpp | 380 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() 1458 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand() 1478 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand() 1489 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand()
|
| H A D | InstructionSimplify.cpp | 2013 return ConstantExpr::getCast(Cast0->getOpcode(), C, Cast0->getType()); in simplifyAndOrOfCmps() 3701 Constant *RExt = ConstantExpr::getCast(CastInst::ZExt, Trunc, DstTy); in simplifyICmpInst() 3770 Constant *RExt = ConstantExpr::getCast(CastInst::SExt, Trunc, DstTy); in simplifyICmpInst()
|
| H A D | ValueTracking.cpp | 6338 ConstantExpr::getCast(*CastOp, CastedTo, C->getType(), true); in lookThroughCast()
|
| /llvm-project-15.0.7/llvm/unittests/Linker/ |
| H A D | LinkModulesTest.cpp | 54 Constant *OnePtr = ConstantExpr::getCast(Instruction::IntToPtr, One, in SetUp()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/ |
| H A D | IndirectionUtils.cpp | 240 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal, in createIRTypedAddress()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 375 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() 1895 if (ConstantExpr::getCast(CE1->getOpcode(), C2Inverse, in ConstantFoldCompareInstruction()
|
| H A D | Constants.cpp | 1479 return ConstantExpr::getCast(getOpcode(), Ops[0], Ty, OnlyIfReduced); in getWithOperands() 1943 Constant *ConstantExpr::getCast(unsigned oc, Constant *C, Type *Ty, in getCast() function in ConstantExpr 2046 return getCast(opcode, C, Ty); in getIntegerCast() 2058 return getCast(opcode, C, Ty); in getFPCast()
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | SparsePropagation.cpp | 517 ConstantExpr::getCast(Instruction::BitCast, P, Builder.getInt8PtrTy()); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 1252 auto getCast = [&](IRBuilder<> &Builder, Value *Val, in createHvxIntrinsic() local 1278 IntOps.push_back(getCast(Builder, A, getTypeForIntrin(A->getType()))); in createHvxIntrinsic() 1288 return getCast(Builder, Call, RetTy); in createHvxIntrinsic()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | SeparateConstOffsetFromGEP.cpp | 654 Current = ConstantExpr::getCast(I->getOpcode(), C, I->getType()); in applyExts()
|
| H A D | JumpThreading.cpp | 707 R.first = ConstantExpr::getCast(CI->getOpcode(), R.first, CI->getType()); in computeValueKnownInPredecessorsImpl()
|
| H A D | LoopStrengthReduce.cpp | 5448 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in Expand()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | SanitizerCoverage.cpp | 816 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty); in InjectTraceForSwitch()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 359 Constant *CastC2 = ConstantExpr::getCast(CastOpcode, C2, DestTy); in simplifyAssocCastAssoc() 1293 InV = ConstantExpr::getCast(CI->getOpcode(), InC, RetTy); in foldOpIntoPhi() 1910 if (ConstantExpr::getCast(CastOpc, NarrowC, BO.getType()) != WideC) in narrowMathIfNoOverflow()
|
| H A D | InstCombineSelect.cpp | 1981 Constant *ExtC = ConstantExpr::getCast(ExtOpcode, TruncC, SelType); in foldSelectExtConst() 2000 Constant *AllOnesOrOne = ConstantExpr::getCast(ExtOpcode, One, SelType); in foldSelectExtConst()
|
| H A D | InstCombineCompares.cpp | 4902 Constant *Res2 = ConstantExpr::getCast(CastOp0->getOpcode(), Res1, DestTy); in foldICmpWithZextOrSext()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 736 ConstantExpr::getCast(CI->getOpcode(), in OptimizeAwayTrappingUsesOfValue()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.cpp | 208 return ConstantExpr::getCast(Op, C, Ty); in InsertNoopCastOfTo()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 1451 C = ConstantExpr::getCast(BC->Opcode, ConstOps[0], BC->getType()); in materializeValue()
|
| /llvm-project-15.0.7/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 3475 ID.ConstantVal = ConstantExpr::getCast((Instruction::CastOps)Opc, in parseValID()
|