Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantFolder.h184 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function
208 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
212 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
216 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
DNoFolder.h253 Instruction *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function
272 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
276 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
280 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
DIRBuilder.h2006 return CreateCast(Instruction::Trunc, V, DestTy, Name);
2010 return CreateCast(Instruction::ZExt, V, DestTy, Name);
2014 return CreateCast(Instruction::SExt, V, DestTy, Name);
2051 return CreateCast(Instruction::FPToUI, V, DestTy, Name);
2058 return CreateCast(Instruction::FPToSI, V, DestTy, Name);
2065 return CreateCast(Instruction::UIToFP, V, DestTy, Name);
2072 return CreateCast(Instruction::SIToFP, V, DestTy, Name);
2081 return CreateCast(Instruction::FPTrunc, V, DestTy, Name);
2088 return CreateCast(Instruction::FPExt, V, DestTy, Name);
2093 return CreateCast(Instruction::PtrToInt, V, DestTy, Name);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetFolder.h170 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function
193 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
196 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
199 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp294 Builder.CreateCast(Instruction::Trunc, Divisor, BypassType); in createFastBB()
296 Builder.CreateCast(Instruction::Trunc, Dividend, BypassType); in createFastBB()
302 Builder.CreateCast(Instruction::ZExt, ShortQV, getSlowType()); in createFastBB()
304 Builder.CreateCast(Instruction::ZExt, ShortRV, getSlowType()); in createFastBB()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp121 Builder.CreateCast((Instruction::CastOps)OpCode, in createReplacementInstr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp306 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DScalarizer.cpp676 Res[I] = Builder.CreateCast(CI.getOpcode(), Op0[I], VT->getElementType(), in visitCastInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1699 Start = Builder.CreateCast(Instruction::Trunc, Start, TruncType); in createVectorIntOrFpInductionPHI()
1863 : Builder.CreateCast(Instruction::SIToFP, Induction, in widenIntOrFpInduction()
3057 Value *CRD = B.CreateCast(CastOp, CountRoundDown, StepType, "cast.crd"); in createVectorizedLoopSkeleton()
3181 ? B.CreateCast(Instruction::SIToFP, CountMinusOne, in fixupIVUsers()
4326 Value *Cast = Builder.CreateCast(CI->getOpcode(), A, DestTy); in widenInstruction()
DSLPVectorizer.cpp4203 Value *V = Builder.CreateCast(CI->getOpcode(), InVec, VecTy); in vectorizeTree()
4534 V0 = Builder.CreateCast( in vectorizeTree()
4536 V1 = Builder.CreateCast( in vectorizeTree()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp862 return Builder.CreateCast(Cast->getOpcode(), SO, I.getType()); in foldOperationIntoSelectOperand()
1091 InV = Builder.CreateCast(CI->getOpcode(), PN->getIncomingValue(i), in foldOpIntoPhi()
DInstCombineCasts.cpp678 Value *NarrowOp = Builder.CreateCast(Opcode, ScalarOp, DestScalarTy); in shrinkInsertElt()
DInstCombineSelect.cpp2586 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst()
DInstCombineCompares.cpp4359 X = Builder.CreateCast(CastOp0->getOpcode(), X, YTy); in foldICmpWithZextOrSext()
4361 Y = Builder.CreateCast(CastOp0->getOpcode(), Y, XTy); in foldICmpWithZextOrSext()
DInstCombineCalls.cpp4738 NewArg = Builder.CreateCast(opcode, *AI, PTy); in transformConstExprCastCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DAtomicExpandPass.cpp963 Builder.CreateCast(CastOp, AI->getValOperand(), PMV.WordType), in expandAtomicRMWToMaskedIntrinsic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp3790 return wrap(unwrap(B)->CreateCast(Instruction::CastOps(map_from_llvmopcode(Op)), unwrap(Val), in LLVMBuildCast()