Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp122 Value *ShortDivisorV = FastBuilder.CreateCast(Instruction::Trunc, Divisor, in insertFastDiv()
124 Value *ShortDividendV = FastBuilder.CreateCast(Instruction::Trunc, Dividend, in insertFastDiv()
132 Value *FastQuotientV = FastBuilder.CreateCast(Instruction::ZExt, in insertFastDiv()
135 Value *FastRemainderV = FastBuilder.CreateCast(Instruction::ZExt, in insertFastDiv()
/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.h1249 return CreateCast(Instruction::Trunc, V, DestTy, Name);
1252 return CreateCast(Instruction::ZExt, V, DestTy, Name);
1255 return CreateCast(Instruction::SExt, V, DestTy, Name);
1286 return CreateCast(Instruction::FPToUI, V, DestTy, Name);
1289 return CreateCast(Instruction::FPToSI, V, DestTy, Name);
1292 return CreateCast(Instruction::UIToFP, V, DestTy, Name);
1295 return CreateCast(Instruction::SIToFP, V, DestTy, Name);
1299 return CreateCast(Instruction::FPTrunc, V, DestTy, Name);
1302 return CreateCast(Instruction::FPExt, V, DestTy, Name);
1306 return CreateCast(Instruction::PtrToInt, V, DestTy, Name);
[all …]
/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/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp121 Builder.CreateCast((Instruction::CastOps)OpCode, in createReplacementInstr()
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp361 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
/external/clang/include/clang/Sema/
DInitialization.h503 static InitializationKind CreateCast(SourceRange TypeRange) { in CreateCast() function
/external/llvm/lib/Transforms/Scalar/
DScalarizer.cpp481 Res[I] = Builder.CreateCast(CI.getOpcode(), Op0[I], VT->getElementType(), in visitCastInst()
/external/clang/lib/Sema/
DSemaCast.cpp334 : InitializationKind::CreateCast(/*type range?*/ range); in tryDiagnoseOverloadedCast()
1512 : InitializationKind::CreateCast(OpRange); in TryStaticImplicitCast()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1089 Value *NewSI = Builder->CreateCast(CastOp, in visitSelectInst()
DInstructionCombining.cpp702 return IC->Builder->CreateCast(CI->getOpcode(), SO, I.getType()); in FoldOperationIntoSelectOperand()
913 InV = Builder->CreateCast(CI->getOpcode(), in FoldOpIntoPhi()
DInstCombineCalls.cpp2253 Args.push_back(Builder->CreateCast(opcode, *AI, PTy)); in transformConstExprCastCall()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp3852 Value *ScalarCast = Builder.CreateCast(CI->getOpcode(), Induction, in vectorizeBlockInLoop()
3870 Entry[Part] = Builder.CreateCast(CI->getOpcode(), A[Part], DestTy); in vectorizeBlockInLoop()
DSLPVectorizer.cpp2260 Value *V = Builder.CreateCast(CI->getOpcode(), InVec, VecTy); in vectorizeTree()
/external/llvm/lib/IR/
DCore.cpp2696 return wrap(unwrap(B)->CreateCast(Instruction::CastOps(map_from_llvmopcode(Op)), unwrap(Val), in LLVMBuildCast()
/external/llvm/bindings/go/llvm/
Dir.go1617 func (b Builder) CreateCast(val Value, op Opcode, t Type, name string) (v Value) { func