Home
last modified time | relevance | path

Searched refs:VectorTy (Results 1 – 10 of 10) sorted by relevance

/external/llvm/lib/Target/R600/
DAMDGPUPromoteAlloca.cpp193 VectorType *VectorTy = arrayTypeToVecType(AllocaTy); in tryPromoteAllocaToVector() local
196 << *AllocaTy << " -> " << *VectorTy << '\n'); in tryPromoteAllocaToVector()
206 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); in tryPromoteAllocaToVector()
216 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); in tryPromoteAllocaToVector()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp292 VectorType *VectorTy; member in __anoncd097cef0211::ConvertToScalarInfo
308 ScalarKind(Unknown), VectorTy(nullptr), HadNonMemTransferAccess(false), in ConvertToScalarInfo()
344 if (ScalarKind == Vector && VectorTy->getBitWidth() != AllocaSize * 8) in TryConvert()
355 assert(VectorTy && "Missing type for vector scalar."); in TryConvert()
357 << *VectorTy << '\n'); in TryConvert()
358 NewTy = VectorTy; // Use the vector type. in TryConvert()
426 (!VectorTy || EltSize == VectorTy->getElementType() in MergeInTypeForLoadOrStore()
428 if (!VectorTy) { in MergeInTypeForLoadOrStore()
430 VectorTy = VectorType::get(In, AllocaSize/EltSize); in MergeInTypeForLoadOrStore()
451 if (!VectorTy) in MergeInVectorType()
[all …]
DSROA.cpp1306 } else if (VectorType *VectorTy = dyn_cast<VectorType>(ElementTy)) { in getNaturalGEPWithType() local
1307 ElementTy = VectorTy->getElementType(); in getNaturalGEPWithType()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp5664 Type *VectorTy = ToVectorTy(RetTy, VF); in getInstructionCost() local
5718 return TTI.getArithmeticInstrCost(I->getOpcode(), VectorTy, Op1VK, Op2VK); in getInstructionCost()
5728 return TTI.getCmpSelInstrCost(I->getOpcode(), VectorTy, CondTy); in getInstructionCost()
5733 VectorTy = ToVectorTy(ValTy, VF); in getInstructionCost()
5734 return TTI.getCmpSelInstrCost(I->getOpcode(), VectorTy); in getInstructionCost()
5742 VectorTy = ToVectorTy(ValTy, VF); in getInstructionCost()
5752 return TTI.getAddressComputationCost(VectorTy) + in getInstructionCost()
5753 TTI.getMemoryOpCost(I->getOpcode(), VectorTy, Alignment, AS); in getInstructionCost()
5759 unsigned VectorElementSize = DL->getTypeStoreSize(VectorTy)/VF; in getInstructionCost()
5774 VectorTy, i); in getInstructionCost()
[all …]
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCOpts.cpp60 typedef std::vector<std::pair<KeyT, ValueT> > VectorTy; typedef in __anon7892a6a40111::MapVector
62 VectorTy Vector;
65 typedef typename VectorTy::iterator iterator;
66 typedef typename VectorTy::const_iterator const_iterator;
80 for (typename VectorTy::const_iterator I = Vector.begin(), in ~MapVector()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c431 CAMLprim value llvm_vector_size(LLVMTypeRef VectorTy) { in llvm_vector_size() argument
432 return Val_int(LLVMGetVectorSize(VectorTy)); in llvm_vector_size()
/external/llvm/include/llvm-c/
DCore.h1087 unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy);
/external/llvm/lib/IR/
DCore.cpp494 unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy) { in LLVMGetVectorSize() argument
495 return unwrap<VectorType>(VectorTy)->getNumElements(); in LLVMGetVectorSize()
/external/clang/lib/Sema/
DSemaExpr.cpp5155 bool Sema::CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty, in CheckVectorCast() argument
5157 assert(VectorTy->isVectorType() && "Not a vector type!"); in CheckVectorCast()
5160 if (!VectorTypesMatch(*this, Ty, VectorTy)) in CheckVectorCast()
5165 << VectorTy << Ty << R; in CheckVectorCast()
5169 << VectorTy << Ty << R; in CheckVectorCast()
/external/clang/include/clang/Sema/
DSema.h7868 bool CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty,