| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 396 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedSizeOf() 411 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedAlignOf() 460 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedAlignOf() 473 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, false, in getFoldedOffsetOf() 497 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, in getFoldedOffsetOf() 513 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in getFoldedOffsetOf() 541 return ConstantExpr::getCast(newOpc, CE->getOperand(0), DestTy); in ConstantFoldCastInstruction() 580 res.push_back(ConstantExpr::getCast(opc, C, DstEltTy)); in ConstantFoldCastInstruction() 652 Idx = ConstantExpr::getCast(CastInst::getCastOpcode(Idx, true, in ConstantFoldCastInstruction() 2005 if (ConstantExpr::getCast(CE1->getOpcode(), C2Inverse, in ConstantFoldCompareInstruction()
|
| H A D | Constants.cpp | 1229 return ConstantExpr::getCast(getOpcode(), Ops[0], Ty, OnlyIfReduced); in getWithOperands() 1530 Constant *ConstantExpr::getCast(unsigned oc, Constant *C, Type *Ty, in getCast() function in ConstantExpr 1622 return getCast(opcode, C, Ty); in getIntegerCast() 1634 return getCast(opcode, C, Ty); in getFPCast()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | LoopUnrollAnalyzer.cpp | 157 ConstantExpr::getCast(I.getOpcode(), COp, I.getType())) { in visitCastInst()
|
| H A D | ConstantFolding.cpp | 340 return ConstantExpr::getCast(Cast, C, DestTy); in ConstantFoldLoadThroughBitcast() 763 NewIdxs.push_back(ConstantExpr::getCast(CastInst::getCastOpcode(Ops[i], in CastGEPIndices() 1301 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand() 1321 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand() 1332 return ConstantExpr::getCast(Opcode, C, DestTy); in ConstantFoldCastOperand()
|
| H A D | PHITransAddr.cpp | 199 return AddAsInput(ConstantExpr::getCast(Cast->getOpcode(), in PHITranslateSubExpr()
|
| H A D | InlineCost.cpp | 706 return ConstantExpr::getCast(I.getOpcode(), COps[0], I.getType()); in visitCastInst()
|
| H A D | InstructionSimplify.cpp | 1774 return ConstantExpr::getCast(Cast0->getOpcode(), C, Cast0->getType()); in simplifyAndOrOfCmps() 3406 Constant *RExt = ConstantExpr::getCast(CastInst::ZExt, Trunc, DstTy); in SimplifyICmpInst() 3465 Constant *RExt = ConstantExpr::getCast(CastInst::SExt, Trunc, DstTy); in SimplifyICmpInst()
|
| H A D | ScalarEvolutionExpander.cpp | 149 return ConstantExpr::getCast(Op, C, Ty); in InsertNoopCastOfTo()
|
| H A D | ValueTracking.cpp | 5074 ConstantExpr::getCast(*CastOp, CastedTo, C->getType(), true); in lookThroughCast()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/ |
| H A D | RenderScriptx86ABIFixups.cpp | 183 llvm::Constant *new_func_cast = llvm::ConstantExpr::getCast( in fixupX86StructRetCalls()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | ConstantFolder.h | 183 return ConstantExpr::getCast(Op, C, DestTy); in CreateCast()
|
| H A D | Constants.h | 1050 static Constant *getCast(unsigned ops, Constant *C, Type *Ty,
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | TargetFolder.h | 171 return Fold(ConstantExpr::getCast(Op, C, DestTy)); in CreateCast()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Orc/ |
| H A D | IndirectionUtils.cpp | 221 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal, in createIRTypedAddress()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | Evaluator.cpp | 385 InstResult = ConstantExpr::getCast(CI->getOpcode(), in EvaluateBlock()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | CompileOnDemandLayer.h | 472 Constant *Init = ConstantExpr::getCast(Instruction::IntToPtr, in addLogicalModule()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | SeparateConstOffsetFromGEP.cpp | 623 Current = ConstantExpr::getCast((*I)->getOpcode(), C, (*I)->getType()); in applyExts()
|
| H A D | JumpThreading.cpp | 665 R.first = ConstantExpr::getCast(CI->getOpcode(), R.first, CI->getType()); in ComputeValueKnownInPredecessorsImpl()
|
| H A D | LoopStrengthReduce.cpp | 5198 C = ConstantExpr::getCast(CastInst::getCastOpcode(C, false, in Expand()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 274 Constant *CastC2 = ConstantExpr::getCast(CastOpcode, C2, DestTy); in simplifyAssocCastAssoc() 1017 InV = ConstantExpr::getCast(CI->getOpcode(), InC, RetTy); in foldOpIntoPhi() 1528 if (ConstantExpr::getCast(CastOpc, NarrowC, BO.getType()) != WideC) in narrowMathIfNoOverflow()
|
| H A D | InstCombineSelect.cpp | 1310 Constant *ExtC = ConstantExpr::getCast(ExtOpcode, TruncC, SelType); in foldSelectExtConst() 1329 Constant *AllOnesOrOne = ConstantExpr::getCast(ExtOpcode, One, SelType); in foldSelectExtConst()
|
| H A D | InstCombineCompares.cpp | 3773 Constant *Res2 = ConstantExpr::getCast(LHSCI->getOpcode(), Res1, DestTy); in foldICmpWithCastAndCast()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | SanitizerCoverage.cpp | 684 C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty); in InjectTraceForSwitch()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 715 ConstantExpr::getCast(CI->getOpcode(), in OptimizeAwayTrappingUsesOfValue()
|
| /freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 2395 if (!V) V = ConstantExpr::getCast(Opc, Op, CurTy); in parseConstants()
|