Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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.h1971 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 DIRBuilderFolder.h98 virtual Value *CreateCast(Instruction::CastOps Op, Constant *C,
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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.cpp81 Ret = Builder.CreateCast(Op, V, Ty, V->getName()); in ReuseOrCreateCast()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DReplaceConstant.cpp65 Builder.CreateCast((Instruction::CastOps)OpCode, CE->getOperand(0), in createReplacementInstr()
H A DCore.cpp3850 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 DNVPTXGenericToNVVM.cpp306 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DInitialization.h642 static InitializationKind CreateCast(SourceRange TypeRange) { in CreateCast() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp688 Res[I] = Builder.CreateCast(CI.getOpcode(), Op0[I], VT->getElementType(), in visitCastInst()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCast.cpp436 : 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 DLoopVectorize.cpp2271 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 DSLPVectorizer.cpp5046 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 DInstructionCombining.cpp933 return Builder.CreateCast(Cast->getOpcode(), SO, I.getType()); in foldOperationIntoSelectOperand()
1196 InV = Builder.CreateCast(CI->getOpcode(), PN->getIncomingValue(i), in foldOpIntoPhi()
H A DInstCombineCasts.cpp720 Value *NarrowOp = Builder.CreateCast(Opcode, ScalarOp, DestScalarTy); in shrinkInsertElt()
H A DInstCombineCalls.cpp2662 NewArg = Builder.CreateCast(opcode, *AI, PTy); in transformConstExprCastCall()
H A DInstCombineCompares.cpp4438 X = Builder.CreateCast(CastOp0->getOpcode(), X, YTy); in foldICmpWithZextOrSext()
4440 Y = Builder.CreateCast(CastOp0->getOpcode(), Y, XTy); in foldICmpWithZextOrSext()
H A DInstCombineSelect.cpp2968 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp994 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType), in expandAtomicRMWToMaskedIntrinsic()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/go/llvm/
H A Dir.go1787 func (b Builder) CreateCast(val Value, op Opcode, t Type, name string) (v Value) { func