Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/ObjCARC/
DBlotMapVector.h22 typedef std::vector<std::pair<KeyT, ValueT>> VectorTy; typedef
24 VectorTy Vector;
27 typedef typename VectorTy::iterator iterator;
28 typedef typename VectorTy::const_iterator const_iterator;
42 for (typename VectorTy::const_iterator I = Vector.begin(), E = Vector.end(); in ~BlotMapVector()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1681 unsigned getInstructionCost(Instruction *I, unsigned VF, Type *&VectorTy);
5805 Type *VectorTy; in getInstructionCost() local
5806 unsigned C = getInstructionCost(I, VF, VectorTy); in getInstructionCost()
5809 VF > 1 && !VectorTy->isVoidTy() && TTI.getNumberOfParts(VectorTy) < VF; in getInstructionCost()
5815 Type *&VectorTy) { in getInstructionCost() argument
5819 VectorTy = ToVectorTy(RetTy, VF); in getInstructionCost()
5839 VectorTy, VF - 1, VectorTy); in getInstructionCost()
5894 return TTI.getArithmeticInstrCost(I->getOpcode(), VectorTy, Op1VK, Op2VK, in getInstructionCost()
5905 return TTI.getCmpSelInstrCost(I->getOpcode(), VectorTy, CondTy); in getInstructionCost()
5914 VectorTy = ToVectorTy(ValTy, VF); in getInstructionCost()
[all …]
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp436 VectorType *VectorTy = arrayTypeToVecType(AllocaTy); in tryPromoteAllocaToVector() local
439 << *AllocaTy << " -> " << *VectorTy << '\n'); in tryPromoteAllocaToVector()
448 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); in tryPromoteAllocaToVector()
458 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); in tryPromoteAllocaToVector()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DScalarReplAggregates.cpp259 VectorType *VectorTy; member in __anon84ce49010211::ConvertToScalarInfo
269 VectorTy(0), HadNonMemTransferAccess(false) { } in ConvertToScalarInfo()
301 if (ScalarKind == Vector && VectorTy->getBitWidth() != AllocaSize * 8) in TryConvert()
312 assert(VectorTy && "Missing type for vector scalar."); in TryConvert()
314 << *VectorTy << '\n'); in TryConvert()
315 NewTy = VectorTy; // Use the vector type. in TryConvert()
371 (!VectorTy || EltSize == VectorTy->getElementType() in MergeInTypeForLoadOrStore()
373 if (!VectorTy) { in MergeInTypeForLoadOrStore()
375 VectorTy = VectorType::get(In, AllocaSize/EltSize); in MergeInTypeForLoadOrStore()
396 if (!VectorTy) in MergeInVectorType()
[all …]
DObjCARC.cpp64 typedef std::vector<std::pair<KeyT, ValueT> > VectorTy; typedef in __anoncd58da520111::MapVector
65 VectorTy Vector;
68 typedef typename VectorTy::iterator iterator;
69 typedef typename VectorTy::const_iterator const_iterator;
83 for (typename VectorTy::const_iterator I = Vector.begin(), in ~MapVector()
/external/llvm/lib/Target/ARM/
DARMISelLowering.h471 bool canCombineStoreAndExtract(Type *VectorTy, Value *Idx,
DARMISelLowering.cpp12451 bool ARMTargetLowering::canCombineStoreAndExtract(Type *VectorTy, Value *Idx, in canCombineStoreAndExtract() argument
12461 if (VectorTy->isFPOrFPVectorTy()) in canCombineStoreAndExtract()
12469 assert(VectorTy->isVectorTy() && "VectorTy is not a vector type"); in canCombineStoreAndExtract()
12470 unsigned BitWidth = cast<VectorType>(VectorTy)->getBitWidth(); in canCombineStoreAndExtract()
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/
Dllvm_ocaml.c374 CAMLprim value llvm_vector_size(LLVMTypeRef VectorTy) { in llvm_vector_size() argument
375 return Val_int(LLVMGetVectorSize(VectorTy)); in llvm_vector_size()
/external/clang/lib/Sema/
DSemaExpr.cpp5848 bool Sema::CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty, in CheckVectorCast() argument
5850 assert(VectorTy->isVectorType() && "Not a vector type!"); in CheckVectorCast()
5853 if (!areLaxCompatibleVectorTypes(Ty, VectorTy)) in CheckVectorCast()
5858 << VectorTy << Ty << R; in CheckVectorCast()
5862 << VectorTy << Ty << R; in CheckVectorCast()
5868 ExprResult Sema::prepareVectorSplat(QualType VectorTy, Expr *SplattedExpr) { in prepareVectorSplat() argument
5869 QualType DestElemTy = VectorTy->castAs<VectorType>()->getElementType(); in prepareVectorSplat()
5878 if (VectorTy->isExtVectorType() && SplattedExpr->getType()->isBooleanType()) { in prepareVectorSplat()
6494 QualType VectorTy = S.Context.getExtVectorType(ResTy, NumElements); in OpenCLConvertScalarsToVectors() local
6511 LHS = S.ImpCastExprToType(LHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
[all …]
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c478 CAMLprim value llvm_vector_size(LLVMTypeRef VectorTy) { in llvm_vector_size() argument
479 return Val_int(LLVMGetVectorSize(VectorTy)); in llvm_vector_size()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DCore.cpp373 unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy) { in LLVMGetVectorSize() argument
374 return unwrap<VectorType>(VectorTy)->getNumElements(); in LLVMGetVectorSize()
/external/swiftshader/third_party/LLVM/include/llvm-c/
DCore.h431 unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy);
/external/llvm/include/llvm-c/
DCore.h1143 unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy);
/external/llvm/include/llvm/Target/
DTargetLowering.h366 virtual bool canCombineStoreAndExtract(Type *VectorTy, Value *Idx, in canCombineStoreAndExtract() argument
/external/llvm/lib/IR/
DCore.cpp592 unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy) { in LLVMGetVectorSize() argument
593 return unwrap<VectorType>(VectorTy)->getNumElements(); in LLVMGetVectorSize()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1356 } else if (VectorType *VectorTy = dyn_cast<VectorType>(ElementTy)) { in getNaturalGEPWithType() local
1357 ElementTy = VectorTy->getElementType(); in getNaturalGEPWithType()
/external/clang/include/clang/Sema/
DSema.h8890 bool CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty,
8895 ExprResult prepareVectorSplat(QualType VectorTy, Expr *SplattedExpr);