Home
last modified time | relevance | path

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

12

/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/include/llvm/Support/
DConstantFolder.h155 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function
171 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
174 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
177 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
DTargetFolder.h167 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function
183 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
186 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
189 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
DNoFolder.h202 Instruction *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function
218 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
221 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
224 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
DIRBuilder.h917 return CreateCast(Instruction::Trunc, V, DestTy, Name);
920 return CreateCast(Instruction::ZExt, V, DestTy, Name);
923 return CreateCast(Instruction::SExt, V, DestTy, Name);
926 return CreateCast(Instruction::FPToUI, V, DestTy, Name);
929 return CreateCast(Instruction::FPToSI, V, DestTy, Name);
932 return CreateCast(Instruction::UIToFP, V, DestTy, Name);
935 return CreateCast(Instruction::SIToFP, V, DestTy, Name);
939 return CreateCast(Instruction::FPTrunc, V, DestTy, Name);
942 return CreateCast(Instruction::FPExt, V, DestTy, Name);
946 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-7.0/llvm/include/llvm/IR/
DConstantFolder.h181 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function
205 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
209 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
213 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
DNoFolder.h250 Instruction *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function
269 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
273 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
277 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
DIRBuilder.h1553 return CreateCast(Instruction::Trunc, V, DestTy, Name);
1557 return CreateCast(Instruction::ZExt, V, DestTy, Name);
1561 return CreateCast(Instruction::SExt, V, DestTy, Name);
1595 return CreateCast(Instruction::FPToUI, V, DestTy, Name);
1599 return CreateCast(Instruction::FPToSI, V, DestTy, Name);
1603 return CreateCast(Instruction::UIToFP, V, DestTy, Name);
1607 return CreateCast(Instruction::SIToFP, V, DestTy, Name);
1612 return CreateCast(Instruction::FPTrunc, V, DestTy, Name);
1616 return CreateCast(Instruction::FPExt, V, DestTy, Name);
1621 return CreateCast(Instruction::PtrToInt, V, DestTy, Name);
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetFolder.h167 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast() function
190 return CreateCast(Instruction::BitCast, C, DestTy); in CreateBitCast()
193 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
196 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
/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/swiftshader/third_party/llvm-7.0/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/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp121 Builder.CreateCast((Instruction::CastOps)OpCode, in createReplacementInstr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp121 Builder.CreateCast((Instruction::CastOps)OpCode, in createReplacementInstr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp307 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/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp333 NewCast = IC.Builder->CreateCast(opcode, SIOp0, CastDstTy, in InstCombineStoreToCast()
DInstCombineCalls.cpp1144 Args.push_back(Builder->CreateCast(opcode, *AI, ParamTy)); in transformConstExprCastCall()
1170 Args.push_back(Builder->CreateCast(opcode, *AI, PTy)); in transformConstExprCastCall()
DInstructionCombining.cpp522 return IC->Builder->CreateCast(CI->getOpcode(), SO, I.getType()); in FoldOperationIntoSelectOperand()
712 InV = Builder->CreateCast(CI->getOpcode(), in FoldOpIntoPhi()
/external/clang/include/clang/Sema/
DInitialization.h504 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DScalarizer.cpp602 Res[I] = Builder.CreateCast(CI.getOpcode(), Op0[I], VT->getElementType(), in visitCastInst()
/external/clang/lib/Sema/
DSemaCast.cpp335 : InitializationKind::CreateCast(/*type range?*/ range); in tryDiagnoseOverloadedCast()
1512 : InitializationKind::CreateCast(OpRange); in TryStaticImplicitCast()

12