Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DConstantFolder.h181 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function
205 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
209 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
213 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
H A DNoFolder.h250 Instruction *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function
269 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
273 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
277 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
H A DIRBuilder.h1656 return CreateCast(Instruction::Trunc, V, DestTy, Name);
1660 return CreateCast(Instruction::ZExt, V, DestTy, Name);
1664 return CreateCast(Instruction::SExt, V, DestTy, Name);
1698 return CreateCast(Instruction::FPToUI, V, DestTy, Name);
1702 return CreateCast(Instruction::FPToSI, V, DestTy, Name);
1706 return CreateCast(Instruction::UIToFP, V, DestTy, Name);
1710 return CreateCast(Instruction::SIToFP, V, DestTy, Name);
1715 return CreateCast(Instruction::FPTrunc, V, DestTy, Name);
1719 return CreateCast(Instruction::FPExt, V, DestTy, Name);
1734 return CreateCast(Instruction::BitCast, V, DestTy, Name);
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetFolder.h167 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function
190 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
193 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
196 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
/freebsd-12.1/contrib/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()
/freebsd-12.1/contrib/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp121 Builder.CreateCast((Instruction::CastOps)OpCode, in createReplacementInstr()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp307 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DInitialization.h622 static InitializationKind CreateCast(SourceRange TypeRange) { in CreateCast() function
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp619 Res[I] = Builder.CreateCast(CI.getOpcode(), Op0[I], VT->getElementType(), in visitCastInst()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCast.cpp365 : InitializationKind::CreateCast(/*type range?*/ range); in tryDiagnoseOverloadedCast()
1636 : InitializationKind::CreateCast(OpRange); in TryStaticImplicitCast()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp1524 Start = Builder.CreateCast(Instruction::Trunc, Start, TruncType); in createVectorIntOrFpInductionPHI()
1688 : Builder.CreateCast(Instruction::SIToFP, Induction, in widenIntOrFpInduction()
2841 Value *CRD = B.CreateCast(CastOp, CountRoundDown, StepType, "cast.crd"); in createVectorizedLoopSkeleton()
2949 ? B.CreateCast(Instruction::SIToFP, CountMinusOne, in fixupIVUsers()
4062 Value *Cast = Builder.CreateCast(CI->getOpcode(), A, DestTy); in widenInstruction()
H A DSLPVectorizer.cpp3195 Value *V = Builder.CreateCast(CI->getOpcode(), InVec, VecTy); in vectorizeTree()
3523 V0 = Builder.CreateCast( in vectorizeTree()
3525 V1 = Builder.CreateCast( in vectorizeTree()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp790 return Builder.CreateCast(Cast->getOpcode(), SO, I.getType()); in foldOperationIntoSelectOperand()
1019 InV = Builder.CreateCast(CI->getOpcode(), PN->getIncomingValue(i), in foldOpIntoPhi()
H A DInstCombineSelect.cpp1862 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst()
H A DInstCombineCasts.cpp678 Value *NarrowOp = Builder.CreateCast(Opcode, ScalarOp, DestScalarTy); in shrinkInsertElt()
H A DInstCombineCalls.cpp4509 NewArg = Builder.CreateCast(opcode, *AI, PTy); in transformConstExprCastCall()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp937 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType), in expandAtomicRMWToMaskedIntrinsic()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DCore.cpp3592 return wrap(unwrap(B)->CreateCast(Instruction::CastOps(map_from_llvmopcode(Op)), unwrap(Val), in LLVMBuildCast()