| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | BypassSlowDivision.cpp | 292 Builder.CreateCast(Instruction::Trunc, Divisor, BypassType); in createFastBB() 294 Builder.CreateCast(Instruction::Trunc, Dividend, BypassType); in createFastBB() 300 Builder.CreateCast(Instruction::ZExt, ShortQV, getSlowType()); in createFastBB() 302 Builder.CreateCast(Instruction::ZExt, ShortRV, getSlowType()); in createFastBB()
|
| H A D | ScalarEvolutionExpander.cpp | 138 Ret = Builder.CreateCast(Op, V, Ty, V->getName()); in ReuseOrCreateCast()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | IRBuilder.h | 2100 return CreateCast(Instruction::SExt, V, DestTy, Name); 2137 return CreateCast(Instruction::FPToUI, V, DestTy, Name); 2144 return CreateCast(Instruction::FPToSI, V, DestTy, Name); 2164 return CreateCast(Instruction::SIToFP, V, DestTy, Name); 2178 return CreateCast(Instruction::FPTrunc, V, DestTy, Name, FPMathTag, 2192 return CreateCast(Instruction::FPExt, V, DestTy, Name, FPMathTag, 2198 return CreateCast(Instruction::PtrToInt, V, DestTy, Name); 2203 return CreateCast(Instruction::IntToPtr, V, DestTy, Name); 2208 return CreateCast(Instruction::BitCast, V, DestTy, Name); 2213 return CreateCast(Instruction::AddrSpaceCast, V, DestTy, Name); [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXGenericToNVVM.cpp | 266 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 536 Value *LHS = Builder.CreateCast(Cast, Arg0, ExtTy); in simplifyX86pmulh() 537 Value *RHS = Builder.CreateCast(Cast, Arg1, ExtTy); in simplifyX86pmulh() 600 LHSLo = Builder.CreateCast(LHSCast, LHSLo, ResTy); in simplifyX86pmadd() 601 LHSHi = Builder.CreateCast(LHSCast, LHSHi, ResTy); in simplifyX86pmadd() 602 RHSLo = Builder.CreateCast(Instruction::CastOps::SExt, RHSLo, ResTy); in simplifyX86pmadd() 603 RHSHi = Builder.CreateCast(Instruction::CastOps::SExt, RHSHi, ResTy); in simplifyX86pmadd()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ExpandVectorPredication.cpp | 403 Builder.CreateCast(Instruction::CastOps(CastOpcode), VPI.getOperand(0), in expandPredicationToCastIntrinsic()
|
| H A D | ExpandFp.cpp | 587 Value *Cast = Builder.CreateCast(cast<CastInst>(I)->getOpcode(), Ext, in scalarize()
|
| H A D | AtomicExpandPass.cpp | 1210 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType), in expandAtomicRMWToMaskedIntrinsic()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Initialization.h | 662 static InitializationKind CreateCast(SourceRange TypeRange) { in CreateCast() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 3656 Res = Builder.CreateCast(cast<CastInst>(Arg)->getOpcode(), Res, in visitCallInst() 3720 Res = Builder.CreateCast(cast<CastInst>(Arg)->getOpcode(), Res, in visitCallInst() 3783 Res = Builder.CreateCast(cast<CastInst>(Arg)->getOpcode(), Res, in visitCallInst() 3829 Res = Builder.CreateCast(ExtOpc, Res, II->getType()); in visitCallInst() 4557 NewArg = Builder.CreateCast(opcode, *AI, PTy); in transformConstExprCastCall()
|
| H A D | InstCombineCasts.cpp | 223 Value *CastX = Builder.CreateCast(CI.getOpcode(), X, DestTy); in commonCastTransforms() 746 Value *NarrowOp = Builder.CreateCast(Opcode, ScalarOp, DestScalarTy); in shrinkInsertElt()
|
| H A D | InstCombineAndOrXor.cpp | 1864 X = Builder.CreateCast(CastOpcode, X, Y->getType()); in foldCastedBitwiseLogic() 1866 Y = Builder.CreateCast(CastOpcode, Y, X->getType()); in foldCastedBitwiseLogic()
|
| H A D | InstCombineVectorOps.cpp | 1989 return Builder.CreateCast(cast<CastInst>(I)->getOpcode(), NewOps[0], in buildNew()
|
| H A D | InstCombineCompares.cpp | 6319 X = Builder.CreateCast(CastOpcode, X, YTy); in foldICmpWithZextOrSext() 6321 Y = Builder.CreateCast(CastOpcode, Y, XTy); in foldICmpWithZextOrSext()
|
| H A D | InstCombineSelect.cpp | 4197 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VectorCombine.cpp | 2388 Value *Cast = Builder.CreateCast(Opcode, Shuf, ShuffleDstTy); in foldShuffleOfCastops() 2767 auto *Value = Builder.CreateCast((Instruction::CastOps)CI->getOpcode(), in generateNewInstTree() 3126 Value *NewCast = Builder.CreateCast(CastOpc, NewReduction, ResultTy); in foldCastFromReductions()
|
| H A D | VPlanRecipes.cpp | 1221 Value *Cast = State.Builder.CreateCast(Instruction::CastOps(getOpcode()), in execute() 2035 Value *Cast = Builder.CreateCast(Instruction::CastOps(Opcode), A, DestTy); in execute()
|
| H A D | LoopVectorize.cpp | 2126 : B.CreateCast(Instruction::SIToFP, Index, StepTy); in emitTransformedIndex()
|
| H A D | SLPVectorizer.cpp | 17980 : Builder.CreateCast(VecOpcode, InVec, VecTy); in vectorizeTree() 18534 V0 = Builder.CreateCast( in vectorizeTree() 18536 V1 = Builder.CreateCast( in vectorizeTree()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCast.cpp | 490 : InitializationKind::CreateCast(/*type range?*/ range); in tryDiagnoseOverloadedCast() 1933 : InitializationKind::CreateCast(OpRange); in TryStaticImplicitCast()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Scalarizer.cpp | 926 Builder.CreateCast(CI.getOpcode(), Op0[I], DestVS->getFragmentType(I), in visitCastInst()
|
| H A D | LowerMatrixIntrinsics.cpp | 2362 Result.addVector(Builder.CreateCast(Inst->getOpcode(), Vector, NewVTy)); in VisitCastInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | NumericalStabilitySanitizer.cpp | 1713 return Builder.CreateCast(Cast->getOpcode(), Cast->getOperand(0), in createShadowValueWithOperandsAvailable()
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Instruction.cpp | 1423 Builder.CreateCast(getLLVMCastOp(Op), Operand->Val, DestTy->LLVMTy, Name); in create()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Core.cpp | 4231 return wrap(unwrap(B)->CreateCast(Instruction::CastOps(map_from_llvmopcode(Op)), unwrap(Val), in LLVMBuildCast()
|