/netbsd-src/external/apache2/llvm/dist/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 | 1971 return CreateCast(Instruction::Trunc, V, DestTy, Name); 1975 return CreateCast(Instruction::ZExt, V, DestTy, Name); 1979 return CreateCast(Instruction::SExt, V, DestTy, Name); 2016 return CreateCast(Instruction::FPToUI, V, DestTy, Name); 2023 return CreateCast(Instruction::FPToSI, V, DestTy, Name); 2030 return CreateCast(Instruction::UIToFP, V, DestTy, Name); 2037 return CreateCast(Instruction::SIToFP, V, DestTy, Name); 2046 return CreateCast(Instruction::FPTrunc, V, DestTy, Name); 2053 return CreateCast(Instruction::FPExt, V, DestTy, Name); 2058 return CreateCast(Instruction::PtrToInt, V, DestTy, Name); [all …]
|
H A D | IRBuilderFolder.h | 98 virtual Value *CreateCast(Instruction::CastOps Op, Constant *C,
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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 | 81 Ret = Builder.CreateCast(Op, V, Ty, V->getName()); in ReuseOrCreateCast()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | ReplaceConstant.cpp | 65 Builder.CreateCast((Instruction::CastOps)OpCode, CE->getOperand(0), in createReplacementInstr()
|
H A D | Core.cpp | 3850 return wrap(unwrap(B)->CreateCast(Instruction::CastOps(map_from_llvmopcode(Op)), unwrap(Val), in LLVMBuildCast()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/ |
H A D | NVPTXGenericToNVVM.cpp | 306 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
H A D | Initialization.h | 642 static InitializationKind CreateCast(SourceRange TypeRange) { in CreateCast() function
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | Scalarizer.cpp | 688 Res[I] = Builder.CreateCast(CI.getOpcode(), Op0[I], VT->getElementType(), in visitCastInst()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaCast.cpp | 436 : InitializationKind::CreateCast(/*type range?*/ range); in tryDiagnoseOverloadedCast() 1838 : InitializationKind::CreateCast(OpRange); in TryStaticImplicitCast()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 2271 Start = Builder.CreateCast(Instruction::Trunc, Start, TruncType); in createVectorIntOrFpInductionPHI() 2425 : Builder.CreateCast(Instruction::SIToFP, Induction, in widenIntOrFpInduction() 3520 Value *CRD = B.CreateCast(CastOp, VectorTripCount, StepType, "cast.crd"); in createInductionResumeValues() 3531 B.CreateCast(CastOp, AdditionalBypass.second, StepType, "cast.crd"); in createInductionResumeValues() 3756 ? B.CreateCast(Instruction::SIToFP, CountMinusOne, in fixupIVUsers() 5036 Value *Cast = Builder.CreateCast(CI->getOpcode(), A, DestTy); in widenInstruction()
|
H A D | SLPVectorizer.cpp | 5046 Value *V = Builder.CreateCast(CI->getOpcode(), InVec, VecTy); in vectorizeTree() 5367 V0 = Builder.CreateCast( in vectorizeTree() 5369 V1 = Builder.CreateCast( in vectorizeTree()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 933 return Builder.CreateCast(Cast->getOpcode(), SO, I.getType()); in foldOperationIntoSelectOperand() 1196 InV = Builder.CreateCast(CI->getOpcode(), PN->getIncomingValue(i), in foldOpIntoPhi()
|
H A D | InstCombineCasts.cpp | 720 Value *NarrowOp = Builder.CreateCast(Opcode, ScalarOp, DestScalarTy); in shrinkInsertElt()
|
H A D | InstCombineCalls.cpp | 2662 NewArg = Builder.CreateCast(opcode, *AI, PTy); in transformConstExprCastCall()
|
H A D | InstCombineCompares.cpp | 4438 X = Builder.CreateCast(CastOp0->getOpcode(), X, YTy); in foldICmpWithZextOrSext() 4440 Y = Builder.CreateCast(CastOp0->getOpcode(), Y, XTy); in foldICmpWithZextOrSext()
|
H A D | InstCombineSelect.cpp | 2968 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | AtomicExpandPass.cpp | 994 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType), in expandAtomicRMWToMaskedIntrinsic()
|
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/go/llvm/ |
H A D | ir.go | 1787 func (b Builder) CreateCast(val Value, op Opcode, t Type, name string) (v Value) { func
|