Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantFolder.h188 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function
212 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
216 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
220 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
H A DNoFolder.h222 Instruction *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function
246 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
250 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
254 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
H A DIRBuilder.h2018 return CreateCast(Instruction::Trunc, V, DestTy, Name);
2022 return CreateCast(Instruction::ZExt, V, DestTy, Name);
2026 return CreateCast(Instruction::SExt, V, DestTy, Name);
2063 return CreateCast(Instruction::FPToUI, V, DestTy, Name);
2070 return CreateCast(Instruction::FPToSI, V, DestTy, Name);
2077 return CreateCast(Instruction::UIToFP, V, DestTy, Name);
2084 return CreateCast(Instruction::SIToFP, V, DestTy, Name);
2093 return CreateCast(Instruction::FPTrunc, V, DestTy, Name);
2100 return CreateCast(Instruction::FPExt, V, DestTy, Name);
2115 return CreateCast(Instruction::BitCast, V, DestTy, Name);
[all …]
H A DIRBuilderFolder.h98 virtual Value *CreateCast(Instruction::CastOps Op, Constant *C,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetFolder.h176 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function
199 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
202 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
205 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp295 Builder.CreateCast(Instruction::Trunc, Divisor, BypassType); in createFastBB()
297 Builder.CreateCast(Instruction::Trunc, Dividend, BypassType); in createFastBB()
303 Builder.CreateCast(Instruction::ZExt, ShortQV, getSlowType()); in createFastBB()
305 Builder.CreateCast(Instruction::ZExt, ShortRV, getSlowType()); in createFastBB()
H A DScalarEvolutionExpander.cpp87 Ret = Builder.CreateCast(Op, V, Ty, V->getName()); in ReuseOrCreateCast()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp306 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DInitialization.h642 static InitializationKind CreateCast(SourceRange TypeRange) { in CreateCast() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp693 Res[I] = Builder.CreateCast(CI.getOpcode(), Op0[I], VT->getElementType(), in visitCastInst()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp445 : InitializationKind::CreateCast(/*type range?*/ range); in tryDiagnoseOverloadedCast()
1848 : InitializationKind::CreateCast(OpRange); in TryStaticImplicitCast()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp335 Value *CastX = Builder.CreateCast(CI.getOpcode(), X, DestTy); in commonCastTransforms()
738 Value *NarrowOp = Builder.CreateCast(Opcode, ScalarOp, DestScalarTy); in shrinkInsertElt()
H A DInstructionCombining.cpp958 return Builder.CreateCast(Cast->getOpcode(), SO, I.getType()); in foldOperationIntoSelectOperand()
1237 InV = Builder.CreateCast(CI->getOpcode(), PN->getIncomingValue(i), in foldOpIntoPhi()
H A DInstCombineCompares.cpp4506 X = Builder.CreateCast(CastOp0->getOpcode(), X, YTy); in foldICmpWithZextOrSext()
4508 Y = Builder.CreateCast(CastOp0->getOpcode(), Y, XTy); in foldICmpWithZextOrSext()
H A DInstCombineCalls.cpp2758 NewArg = Builder.CreateCast(opcode, *AI, PTy); in transformConstExprCastCall()
H A DInstCombineSelect.cpp3011 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2290 Start = Builder.CreateCast(Instruction::Trunc, Start, TruncType); in createVectorIntOrFpInductionPHI()
2444 : Builder.CreateCast(Instruction::SIToFP, Induction, in widenIntOrFpInduction()
3562 Value *CRD = B.CreateCast(CastOp, VectorTripCount, StepType, "cast.crd"); in createInductionResumeValues()
3573 B.CreateCast(CastOp, AdditionalBypass.second, StepType, "cast.crd"); in createInductionResumeValues()
3802 ? B.CreateCast(Instruction::SIToFP, CountMinusOne, in fixupIVUsers()
4958 Value *Cast = Builder.CreateCast(CI->getOpcode(), A, DestTy); in widenInstruction()
H A DSLPVectorizer.cpp5297 Value *V = Builder.CreateCast(CI->getOpcode(), InVec, VecTy); in vectorizeTree()
5634 V0 = Builder.CreateCast( in vectorizeTree()
5636 V1 = Builder.CreateCast( in vectorizeTree()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp1033 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType), in expandAtomicRMWToMaskedIntrinsic()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp3861 return wrap(unwrap(B)->CreateCast(Instruction::CastOps(map_from_llvmopcode(Op)), unwrap(Val), in LLVMBuildCast()