Home
last modified time | relevance | path

Searched refs:CreateCast (Results 1 – 19 of 19) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp293 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 DScalarEvolutionExpander.cpp86 Ret = Builder.CreateCast(Op, V, Ty, V->getName()); in ReuseOrCreateCast()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h2007 return CreateCast(Instruction::Trunc, V, DestTy, Name);
2023 return CreateCast(Instruction::SExt, V, DestTy, Name);
2060 return CreateCast(Instruction::FPToUI, V, DestTy, Name);
2067 return CreateCast(Instruction::FPToSI, V, DestTy, Name);
2074 return CreateCast(Instruction::UIToFP, V, DestTy, Name);
2097 return CreateCast(Instruction::FPExt, V, DestTy, Name);
2125 return CreateCast(CastOp, V, DestTy, Name);
2133 return CreateCast(CastOp, V, DestTy, Name);
2141 return CreateCast(CastOp, V, DestTy, Name);
2185 return CreateCast(CastOp, V, DestTy, Name);
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp275 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DInitialization.h662 static InitializationKind CreateCast(SourceRange TypeRange) { in CreateCast() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp3175 Res = Builder.CreateCast(cast<CastInst>(Arg)->getOpcode(), Res, in visitCallInst()
3225 Res = Builder.CreateCast(cast<CastInst>(Arg)->getOpcode(), Res, in visitCallInst()
3274 Res = Builder.CreateCast(cast<CastInst>(Arg)->getOpcode(), Res, in visitCallInst()
3313 Res = Builder.CreateCast(ExtOpc, Res, II->getType()); in visitCallInst()
4043 NewArg = Builder.CreateCast(opcode, *AI, PTy); in transformConstExprCastCall()
H A DInstCombineCasts.cpp215 Value *CastX = Builder.CreateCast(CI.getOpcode(), X, DestTy); in commonCastTransforms()
662 Value *NarrowOp = Builder.CreateCast(Opcode, ScalarOp, DestScalarTy); in shrinkInsertElt()
H A DInstCombineAndOrXor.cpp1734 X = Builder.CreateCast(CastOpcode, X, Y->getType()); in foldCastedBitwiseLogic()
1736 Y = Builder.CreateCast(CastOpcode, Y, X->getType()); in foldCastedBitwiseLogic()
H A DInstCombineVectorOps.cpp1903 return Builder.CreateCast(cast<CastInst>(I)->getOpcode(), NewOps[0], in buildNew()
H A DInstCombineSelect.cpp3617 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst()
H A DInstCombineCompares.cpp5602 X = Builder.CreateCast(CastOpcode, X, YTy); in foldICmpWithZextOrSext()
5604 Y = Builder.CreateCast(CastOpcode, Y, XTy); in foldICmpWithZextOrSext()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp875 Value *Cast = Builder.CreateCast(Instruction::CastOps(Opcode), A, DestTy); in execute()
995 Start = Builder.CreateCast(Instruction::Trunc, Start, TruncType); in execute()
H A DSLPVectorizer.cpp11403 : Builder.CreateCast(VecOpcode, InVec, VecTy); in vectorizeTree()
11749 V0 = Builder.CreateCast( in vectorizeTree()
11751 V1 = Builder.CreateCast( in vectorizeTree()
H A DLoopVectorize.cpp2348 : B.CreateCast(Instruction::SIToFP, Index, StepTy); in emitTransformedIndex()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp875 Builder.CreateCast(CI.getOpcode(), Op0[I], DestVS->getFragmentType(I), in visitCastInst()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp450 : InitializationKind::CreateCast(/*type range?*/ range); in tryDiagnoseOverloadedCast()
1897 : InitializationKind::CreateCast(OpRange); in TryStaticImplicitCast()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp1078 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType), in expandAtomicRMWToMaskedIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp3921 return wrap(unwrap(B)->CreateCast(Instruction::CastOps(map_from_llvmopcode(Op)), unwrap(Val), in LLVMBuildCast()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp6205 UpdateVal = CGF.Builder.CreateCast(llvm::Instruction::CastOps::UIToFP, IC, in emitOMPAtomicRMW()