Home
last modified time | relevance | path

Searched refs:CreateCast (Results 1 – 16 of 16) 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.h1176 return CreateCast(Instruction::Trunc, V, DestTy, Name);
1179 return CreateCast(Instruction::ZExt, V, DestTy, Name);
1182 return CreateCast(Instruction::SExt, V, DestTy, Name);
1213 return CreateCast(Instruction::FPToUI, V, DestTy, Name);
1216 return CreateCast(Instruction::FPToSI, V, DestTy, Name);
1219 return CreateCast(Instruction::UIToFP, V, DestTy, Name);
1222 return CreateCast(Instruction::SIToFP, V, DestTy, Name);
1226 return CreateCast(Instruction::FPTrunc, V, DestTy, Name);
1229 return CreateCast(Instruction::FPExt, V, DestTy, Name);
1233 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.cpp364 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.cpp475 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()
1499 : InitializationKind::CreateCast(OpRange); in TryStaticImplicitCast()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp656 return IC->Builder->CreateCast(CI->getOpcode(), SO, I.getType()); in FoldOperationIntoSelectOperand()
853 InV = Builder->CreateCast(CI->getOpcode(), in FoldOpIntoPhi()
DInstCombineCalls.cpp1660 Args.push_back(Builder->CreateCast(opcode, *AI, PTy)); in transformConstExprCastCall()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp3284 Value *ScalarCast = Builder.CreateCast(CI->getOpcode(), Induction, in vectorizeBlockInLoop()
3302 Entry[Part] = Builder.CreateCast(CI->getOpcode(), A[Part], DestTy); in vectorizeBlockInLoop()
DSLPVectorizer.cpp2184 Value *V = Builder.CreateCast(CI->getOpcode(), InVec, VecTy); in vectorizeTree()
/external/llvm/lib/IR/
DCore.cpp2635 return wrap(unwrap(B)->CreateCast(Instruction::CastOps(map_from_llvmopcode(Op)), unwrap(Val), in LLVMBuildCast()
/external/llvm/bindings/go/llvm/
Dir.go1609 func (b Builder) CreateCast(val Value, op Opcode, t Type, name string) (v Value) { func