| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | NoFolder.h | 114 Instruction *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function 138 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast() 142 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr() 146 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
| H A D | ConstantFolder.h | 177 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function 201 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast() 205 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr() 209 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
| H A D | IRBuilder.h | 1857 return CreateCast(Instruction::Trunc, V, DestTy, Name); 1861 return CreateCast(Instruction::ZExt, V, DestTy, Name); 1865 return CreateCast(Instruction::SExt, V, DestTy, Name); 1902 return CreateCast(Instruction::FPToUI, V, DestTy, Name); 1909 return CreateCast(Instruction::FPToSI, V, DestTy, Name); 1916 return CreateCast(Instruction::UIToFP, V, DestTy, Name); 1923 return CreateCast(Instruction::SIToFP, V, DestTy, Name); 1932 return CreateCast(Instruction::FPTrunc, V, DestTy, Name); 1939 return CreateCast(Instruction::FPExt, V, DestTy, Name); 1954 return CreateCast(Instruction::BitCast, V, DestTy, Name); [all …]
|
| H A D | IRBuilderFolder.h | 77 virtual Value *CreateCast(Instruction::CastOps Op, Constant *C,
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetFolder.h | 188 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function 211 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast() 214 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr() 217 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
| H A D | InstSimplifyFolder.h | 119 Value *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function 123 return ConstFolder.CreateCast(Op, C, DestTy); in CreateCast()
|
| /llvm-project-15.0.7/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 | 85 Ret = Builder.CreateCast(Op, V, Ty, V->getName()); in ReuseOrCreateCast()
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXGenericToNVVM.cpp | 290 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Initialization.h | 648 static InitializationKind CreateCast(SourceRange TypeRange) { in CreateCast() function
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 2502 Res = Builder.CreateCast(cast<CastInst>(Arg)->getOpcode(), Res, in visitCallInst() 2552 Res = Builder.CreateCast(cast<CastInst>(Arg)->getOpcode(), Res, in visitCallInst() 2601 Res = Builder.CreateCast(cast<CastInst>(Arg)->getOpcode(), Res, in visitCallInst() 2640 Res = Builder.CreateCast(ExtOpc, Res, II->getType()); in visitCallInst() 3404 NewArg = Builder.CreateCast(opcode, *AI, PTy); in transformConstExprCastCall()
|
| H A D | InstCombineCasts.cpp | 337 Value *CastX = Builder.CreateCast(CI.getOpcode(), X, DestTy); in commonCastTransforms() 765 Value *NarrowOp = Builder.CreateCast(Opcode, ScalarOp, DestScalarTy); in shrinkInsertElt()
|
| H A D | InstructionCombining.cpp | 1018 return Builder.CreateCast(Cast->getOpcode(), SO, I.getType()); in foldOperationIntoSelectOperand() 1295 InV = Builder.CreateCast(CI->getOpcode(), PN->getIncomingValue(i), in foldOpIntoPhi()
|
| H A D | InstCombineSelect.cpp | 2994 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst()
|
| H A D | InstCombineCompares.cpp | 4871 X = Builder.CreateCast(CastOpcode, X, YTy); in foldICmpWithZextOrSext() 4873 Y = Builder.CreateCast(CastOpcode, Y, XTy); in foldICmpWithZextOrSext()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | Scalarizer.cpp | 736 Res[I] = Builder.CreateCast(CI.getOpcode(), Op0[I], VT->getElementType(), in visitCastInst()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanRecipes.cpp | 604 Value *Cast = Builder.CreateCast(CI->getOpcode(), A, DestTy); in execute()
|
| H A D | LoopVectorize.cpp | 3139 Value *VTC = B.CreateCast(CastOp, VectorTripCount, StepType, "cast.vtc"); in createInductionResumeValues() 3153 B.CreateCast(CastOp, AdditionalBypass.second, StepType, "cast.vtc"); in createInductionResumeValues() 3339 ? B.CreateCast(Instruction::SIToFP, CountMinusOne, in fixupIVUsers() 9265 Start = Builder.CreateCast(Instruction::Trunc, Start, TruncType); in execute() 9448 : State.Builder.CreateCast(Instruction::SIToFP, ScalarIV, Ty); in execute()
|
| H A D | SLPVectorizer.cpp | 8034 Value *V = Builder.CreateCast(CI->getOpcode(), InVec, VecTy); in vectorizeTree() 8371 V0 = Builder.CreateCast( in vectorizeTree() 8373 V1 = Builder.CreateCast( in vectorizeTree()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCast.cpp | 445 : InitializationKind::CreateCast(/*type range?*/ range); in tryDiagnoseOverloadedCast() 1850 : InitializationKind::CreateCast(OpRange); in TryStaticImplicitCast()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | BlockGenerators.cpp | 1162 VectorMap[Inst] = Builder.CreateCast(Cast->getOpcode(), NewOperand, DestType); in copyUnaryInst()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | AtomicExpandPass.cpp | 1039 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType), in expandAtomicRMWToMaskedIntrinsic()
|
| /llvm-project-15.0.7/llvm/bindings/go/llvm/ |
| H A D | ir.go | 1753 func (b Builder) CreateCast(val Value, op Opcode, t Type, name string) (v Value) { func
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Core.cpp | 3849 return wrap(unwrap(B)->CreateCast(Instruction::CastOps(map_from_llvmopcode(Op)), unwrap(Val), in LLVMBuildCast()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGStmtOpenMP.cpp | 6091 UpdateVal = CGF.Builder.CreateCast(llvm::Instruction::CastOps::UIToFP, IC, in emitOMPAtomicRMW()
|