/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | BypassSlowDivision.cpp | 293 Builder.CreateCast(Instruction::Trunc, Divisor, BypassType); in createFastBB() 295 Builder.CreateCast(Instruction::Trunc, Dividend, BypassType); in createFastBB() 301 Builder.CreateCast(Instruction::ZExt, ShortQV, getSlowType()); in createFastBB() 303 Builder.CreateCast(Instruction::ZExt, ShortRV, getSlowType()); in createFastBB()
|
H A D | ScalarEvolutionExpander.cpp | 125 Ret = Builder.CreateCast(Op, V, Ty, V->getName()); in ReuseOrCreateCast()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IRBuilder.h | 2039 return CreateCast(Instruction::SExt, V, DestTy, Name); 2076 return CreateCast(Instruction::FPToUI, V, DestTy, Name); 2083 return CreateCast(Instruction::FPToSI, V, DestTy, Name); 2103 return CreateCast(Instruction::SIToFP, V, DestTy, Name); 2112 return CreateCast(Instruction::FPTrunc, V, DestTy, Name); 2119 return CreateCast(Instruction::FPExt, V, DestTy, Name); 2124 return CreateCast(Instruction::PtrToInt, V, DestTy, Name); 2129 return CreateCast(Instruction::IntToPtr, V, DestTy, Name); 2134 return CreateCast(Instruction::BitCast, V, DestTy, Name); 2139 return CreateCast(Instruction::AddrSpaceCast, V, DestTy, Name); [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXGenericToNVVM.cpp | 267 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstCombineIntrinsic.cpp | 542 Value *LHS = Builder.CreateCast(Cast, Arg0, ExtTy); in simplifyX86pmulh() 543 Value *RHS = Builder.CreateCast(Cast, Arg1, ExtTy); in simplifyX86pmulh() 606 LHSLo = Builder.CreateCast(LHSCast, LHSLo, ResTy); in simplifyX86pmadd() 607 LHSHi = Builder.CreateCast(LHSCast, LHSHi, ResTy); in simplifyX86pmadd() 608 RHSLo = Builder.CreateCast(Instruction::CastOps::SExt, RHSLo, ResTy); in simplifyX86pmadd() 609 RHSHi = Builder.CreateCast(Instruction::CastOps::SExt, RHSHi, ResTy); in simplifyX86pmadd()
|
/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/CodeGen/ |
H A D | ExpandLargeFpConvert.cpp | 582 Value *Cast = Builder.CreateCast(cast<CastInst>(I)->getOpcode(), Ext, in scalarize()
|
H A D | AtomicExpandPass.cpp | 1161 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType), in expandAtomicRMWToMaskedIntrinsic()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 3375 Res = Builder.CreateCast(cast<CastInst>(Arg)->getOpcode(), Res, in visitCallInst() 3439 Res = Builder.CreateCast(cast<CastInst>(Arg)->getOpcode(), Res, in visitCallInst() 3502 Res = Builder.CreateCast(cast<CastInst>(Arg)->getOpcode(), Res, in visitCallInst() 3548 Res = Builder.CreateCast(ExtOpc, Res, II->getType()); in visitCallInst() 4273 NewArg = Builder.CreateCast(opcode, *AI, PTy); in transformConstExprCastCall()
|
H A D | InstCombineCasts.cpp | 221 Value *CastX = Builder.CreateCast(CI.getOpcode(), X, DestTy); in commonCastTransforms() 670 Value *NarrowOp = Builder.CreateCast(Opcode, ScalarOp, DestScalarTy); in shrinkInsertElt()
|
H A D | InstCombineAndOrXor.cpp | 1815 X = Builder.CreateCast(CastOpcode, X, Y->getType()); in foldCastedBitwiseLogic() 1817 Y = Builder.CreateCast(CastOpcode, Y, X->getType()); in foldCastedBitwiseLogic()
|
H A D | InstCombineVectorOps.cpp | 1911 return Builder.CreateCast(cast<CastInst>(I)->getOpcode(), NewOps[0], in buildNew()
|
H A D | InstCombineCompares.cpp | 5931 X = Builder.CreateCast(CastOpcode, X, YTy); in foldICmpWithZextOrSext() 5933 Y = Builder.CreateCast(CastOpcode, Y, XTy); in foldICmpWithZextOrSext()
|
H A D | InstCombineSelect.cpp | 3837 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VectorCombine.cpp | 1581 Value *Cast = Builder.CreateCast(Opcode, Shuf, ShuffleDstTy); in foldShuffleOfCastops() 1817 auto *Value = Builder.CreateCast((Instruction::CastOps)CI->getOpcode(), in generateNewInstTree() 2173 Value *NewCast = Builder.CreateCast(CastOpc, NewReduction, ResultTy); in foldCastFromReductions()
|
H A D | VPlanRecipes.cpp | 1168 Value *Cast = Builder.CreateCast(Instruction::CastOps(Opcode), A, DestTy); in execute() 1288 Start = Builder.CreateCast(Instruction::Trunc, Start, TruncType); in execute() 1898 return State.Builder.CreateCast(Instruction::CastOps(Opcode), Op, ResultTy); in generate()
|
H A D | SLPVectorizer.cpp | 13121 : Builder.CreateCast(VecOpcode, InVec, VecTy); in vectorizeTree() 13619 V0 = Builder.CreateCast( in vectorizeTree() 13621 V1 = Builder.CreateCast( in vectorizeTree()
|
H A D | LoopVectorize.cpp | 2223 : B.CreateCast(Instruction::SIToFP, Index, StepTy); in emitTransformedIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | Scalarizer.cpp | 875 Builder.CreateCast(CI.getOpcode(), Op0[I], DestVS->getFragmentType(I), in visitCastInst()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaCast.cpp | 446 : InitializationKind::CreateCast(/*type range?*/ range); in tryDiagnoseOverloadedCast() 1906 : InitializationKind::CreateCast(OpRange); in TryStaticImplicitCast()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | NumericalStabilitySanitizer.cpp | 1659 return Builder.CreateCast(Cast->getOpcode(), Cast->getOperand(0), in createShadowValueWithOperandsAvailable()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Core.cpp | 4155 return wrap(unwrap(B)->CreateCast(Instruction::CastOps(map_from_llvmopcode(Op)), unwrap(Val), in LLVMBuildCast()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGStmtOpenMP.cpp | 6258 UpdateVal = CGF.Builder.CreateCast(llvm::Instruction::CastOps::UIToFP, IC, in emitOMPAtomicRMW()
|