Home
last modified time | relevance | path

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

123

/external/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp117 Value *ShortDivisorV = FastBuilder.CreateCast(Instruction::Trunc, Divisor, in insertFastDiv()
119 Value *ShortDividendV = FastBuilder.CreateCast(Instruction::Trunc, Dividend, in insertFastDiv()
127 Value *FastQuotientV = FastBuilder.CreateCast(Instruction::ZExt, in insertFastDiv()
130 Value *FastRemainderV = FastBuilder.CreateCast(Instruction::ZExt, in insertFastDiv()
/external/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 …]
/external/llvm/include/llvm/IR/
DConstantFolder.h156 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function
178 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
181 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
184 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
DNoFolder.h215 Instruction *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function
231 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
234 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
237 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
DIRBuilder.h1264 return CreateCast(Instruction::Trunc, V, DestTy, Name);
1267 return CreateCast(Instruction::ZExt, V, DestTy, Name);
1270 return CreateCast(Instruction::SExt, V, DestTy, Name);
1301 return CreateCast(Instruction::FPToUI, V, DestTy, Name);
1304 return CreateCast(Instruction::FPToSI, V, DestTy, Name);
1307 return CreateCast(Instruction::UIToFP, V, DestTy, Name);
1310 return CreateCast(Instruction::SIToFP, V, DestTy, Name);
1314 return CreateCast(Instruction::FPTrunc, V, DestTy, Name);
1317 return CreateCast(Instruction::FPExt, V, DestTy, Name);
1321 return CreateCast(Instruction::PtrToInt, V, DestTy, Name);
[all …]
/external/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()
/external/llvm-project/llvm/include/llvm/IR/
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()
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()
DIRBuilder.h1984 return CreateCast(Instruction::Trunc, V, DestTy, Name);
1988 return CreateCast(Instruction::ZExt, V, DestTy, Name);
1992 return CreateCast(Instruction::SExt, V, DestTy, Name);
2029 return CreateCast(Instruction::FPToUI, V, DestTy, Name);
2036 return CreateCast(Instruction::FPToSI, V, DestTy, Name);
2043 return CreateCast(Instruction::UIToFP, V, DestTy, Name);
2050 return CreateCast(Instruction::SIToFP, V, DestTy, Name);
2059 return CreateCast(Instruction::FPTrunc, V, DestTy, Name);
2066 return CreateCast(Instruction::FPExt, V, DestTy, Name);
2071 return CreateCast(Instruction::PtrToInt, V, DestTy, Name);
[all …]
DIRBuilderFolder.h98 virtual Value *CreateCast(Instruction::CastOps Op, Constant *C,
/external/llvm/include/llvm/Analysis/
DTargetFolder.h168 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function
191 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
194 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
197 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
/external/llvm-project/llvm/include/llvm/Analysis/
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()
/external/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()
/external/llvm-project/llvm/lib/Transforms/Utils/
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()
/external/llvm-project/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp121 Builder.CreateCast((Instruction::CastOps)OpCode, in createReplacementInstr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp121 Builder.CreateCast((Instruction::CastOps)OpCode, in createReplacementInstr()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp121 Builder.CreateCast((Instruction::CastOps)OpCode, in createReplacementInstr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp306 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp306 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp357 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
/external/clang/include/clang/Sema/
DInitialization.h504 static InitializationKind CreateCast(SourceRange TypeRange) { in CreateCast() function
/external/llvm-project/clang/include/clang/Sema/
DInitialization.h642 static InitializationKind CreateCast(SourceRange TypeRange) { in CreateCast() function
/external/llvm/lib/Transforms/Scalar/
DScalarizer.cpp484 Res[I] = Builder.CreateCast(CI.getOpcode(), Op0[I], VT->getElementType(), in visitCastInst()

123