| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ConstantFolder.h | 188 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 D | NoFolder.h | 222 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 D | IRBuilder.h | 2018 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 D | IRBuilderFolder.h | 98 virtual Value *CreateCast(Instruction::CastOps Op, Constant *C,
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetFolder.h | 176 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 D | BypassSlowDivision.cpp | 295 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 D | ScalarEvolutionExpander.cpp | 87 Ret = Builder.CreateCast(Op, V, Ty, V->getName()); in ReuseOrCreateCast()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXGenericToNVVM.cpp | 306 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Initialization.h | 642 static InitializationKind CreateCast(SourceRange TypeRange) { in CreateCast() function
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Scalarizer.cpp | 693 Res[I] = Builder.CreateCast(CI.getOpcode(), Op0[I], VT->getElementType(), in visitCastInst()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCast.cpp | 445 : 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 D | InstCombineCasts.cpp | 335 Value *CastX = Builder.CreateCast(CI.getOpcode(), X, DestTy); in commonCastTransforms() 738 Value *NarrowOp = Builder.CreateCast(Opcode, ScalarOp, DestScalarTy); in shrinkInsertElt()
|
| H A D | InstructionCombining.cpp | 958 return Builder.CreateCast(Cast->getOpcode(), SO, I.getType()); in foldOperationIntoSelectOperand() 1237 InV = Builder.CreateCast(CI->getOpcode(), PN->getIncomingValue(i), in foldOpIntoPhi()
|
| H A D | InstCombineCompares.cpp | 4506 X = Builder.CreateCast(CastOp0->getOpcode(), X, YTy); in foldICmpWithZextOrSext() 4508 Y = Builder.CreateCast(CastOp0->getOpcode(), Y, XTy); in foldICmpWithZextOrSext()
|
| H A D | InstCombineCalls.cpp | 2758 NewArg = Builder.CreateCast(opcode, *AI, PTy); in transformConstExprCastCall()
|
| H A D | InstCombineSelect.cpp | 3011 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 2290 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 D | SLPVectorizer.cpp | 5297 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 D | AtomicExpandPass.cpp | 1033 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType), in expandAtomicRMWToMaskedIntrinsic()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Core.cpp | 3861 return wrap(unwrap(B)->CreateCast(Instruction::CastOps(map_from_llvmopcode(Op)), unwrap(Val), in LLVMBuildCast()
|