| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 408 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedSizeOfImpl() 437 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedAlignOf() 486 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedAlignOf() 499 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, false, in getFoldedOffsetOf() 523 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, in getFoldedOffsetOf() 539 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedOffsetOf() 570 return ConstantExpr::getCast(newOpc, CE->getOperand(0), DestTy); in ConstantFoldCastInstruction() 609 ConstantExpr::getCast(opc, Splat, DstEltTy)); in ConstantFoldCastInstruction() 618 res.push_back(ConstantExpr::getCast(opc, C, DstEltTy)); in ConstantFoldCastInstruction() 690 Idx = ConstantExpr::getCast(CastInst::getCastOpcode(Idx, true, in ConstantFoldCastInstruction() [all …]
|
| H A D | Constants.cpp | 1548 return ConstantExpr::getCast(getOpcode(), Ops[0], Ty, OnlyIfReduced); in getWithOperands() 1976 Constant *ConstantExpr::getCast(unsigned oc, Constant *C, Type *Ty, in getCast() function in ConstantExpr 2068 return getCast(opcode, C, Ty); in getIntegerCast() 2080 return getCast(opcode, C, Ty); in getFPCast()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | LoopUnrollAnalyzer.cpp | 162 ConstantExpr::getCast(I.getOpcode(), COp, I.getType())) { in visitCastInst()
|
| H A D | ConstantFolding.cpp | 388 return ConstantExpr::getCast(Cast, C, DestTy); in ConstantFoldLoadThroughBitcast() 594 Res = ConstantExpr::getCast(Instruction::IntToPtr, Res, LoadTy); in FoldReinterpretLoadFromConstPtr() 820 NewIdxs.push_back(ConstantExpr::getCast(CastInst::getCastOpcode(Ops[i], in CastGEPIndices() 1357 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand() 1377 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand() 1388 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand()
|
| H A D | PHITransAddr.cpp | 198 return AddAsInput(ConstantExpr::getCast(Cast->getOpcode(), in PHITranslateSubExpr()
|
| H A D | InlineCost.cpp | 1338 return ConstantExpr::getCast(I.getOpcode(), COps[0], I.getType()); in visitCastInst()
|
| H A D | InstructionSimplify.cpp | 1946 return ConstantExpr::getCast(Cast0->getOpcode(), C, Cast0->getType()); in simplifyAndOrOfCmps() 3446 Constant *RExt = ConstantExpr::getCast(CastInst::ZExt, Trunc, DstTy); in SimplifyICmpInst() 3514 Constant *RExt = ConstantExpr::getCast(CastInst::SExt, Trunc, DstTy); in SimplifyICmpInst()
|
| H A D | ValueTracking.cpp | 6099 ConstantExpr::getCast(*CastOp, CastedTo, C->getType(), true); in lookThroughCast()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | ConstantFolder.h | 190 return ConstantExpr::getCast(Op, C, DestTy); in CreateCast()
|
| H A D | Constants.h | 1102 static Constant *getCast(unsigned ops, Constant *C, Type *Ty,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | TargetFolder.h | 180 return Fold(ConstantExpr::getCast(Op, C, DestTy)); in CreateCast()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/ |
| H A D | IndirectionUtils.cpp | 224 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal, in createIRTypedAddress()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 1238 auto getCast = [&](IRBuilder<> &Builder, Value *Val, in createHvxIntrinsic() local 1264 IntOps.push_back(getCast(Builder, A, getTypeForIntrin(A->getType()))); in createHvxIntrinsic() 1274 return getCast(Builder, Call, RetTy); in createHvxIntrinsic()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | Evaluator.cpp | 408 InstResult = ConstantExpr::getCast(CI->getOpcode(), in EvaluateBlock()
|
| H A D | ScalarEvolutionExpander.cpp | 204 return ConstantExpr::getCast(Op, C, Ty); in InsertNoopCastOfTo()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | SeparateConstOffsetFromGEP.cpp | 655 Current = ConstantExpr::getCast((*I)->getOpcode(), C, (*I)->getType()); in applyExts()
|
| H A D | JumpThreading.cpp | 718 R.first = ConstantExpr::getCast(CI->getOpcode(), R.first, CI->getType()); in computeValueKnownInPredecessorsImpl()
|
| H A D | LoopStrengthReduce.cpp | 5363 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in Expand()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 342 Constant *CastC2 = ConstantExpr::getCast(CastOpcode, C2, DestTy); in simplifyAssocCastAssoc() 1194 InV = ConstantExpr::getCast(CI->getOpcode(), InC, RetTy); in foldOpIntoPhi() 1790 if (ConstantExpr::getCast(CastOpc, NarrowC, BO.getType()) != WideC) in narrowMathIfNoOverflow()
|
| H A D | InstCombineSelect.cpp | 1941 Constant *ExtC = ConstantExpr::getCast(ExtOpcode, TruncC, SelType); in foldSelectExtConst() 1960 Constant *AllOnesOrOne = ConstantExpr::getCast(ExtOpcode, One, SelType); in foldSelectExtConst()
|
| H A D | InstCombineCompares.cpp | 4469 Constant *Res2 = ConstantExpr::getCast(CastOp0->getOpcode(), Res1, DestTy); in foldICmpWithZextOrSext()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| H A D | SanitizerCoverage.cpp | 809 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty); in InjectTraceForSwitch()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 766 ConstantExpr::getCast(CI->getOpcode(), in OptimizeAwayTrappingUsesOfValue()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 2663 if (!V) V = ConstantExpr::getCast(Opc, Op, CurTy); in parseConstants()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 3629 ID.ConstantVal = ConstantExpr::getCast((Instruction::CastOps)Opc, in parseValID()
|