Home
last modified time | relevance | path

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

12

/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/
DBlotMapVector.h29 using VectorTy = std::vector<std::pair<KeyT, ValueT>>; variable
30 VectorTy Vector;
41 for (typename VectorTy::const_iterator I = Vector.begin(), E = Vector.end(); in ~BlotMapVector()
48 using iterator = typename VectorTy::iterator;
49 using const_iterator = typename VectorTy::const_iterator;
DObjCARC.h86 template<class PHINodeTy, class VectorTy>
87 void getEquivalentPHIs(PHINodeTy &PN, VectorTy &PHIList) { in getEquivalentPHIs()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/
Ddebuginfo.c110 LLVMMetadataRef VectorTy = in llvm_test_dibuilder() local
115 LLVMMetadataRef ParamTypes[] = {Int64Ty, Int64Ty, VectorTy}; in llvm_test_dibuilder()
151 42, VectorTy, true, 0); in llvm_test_dibuilder()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp307 auto *VectorTy = VectorType::get(Ty, VF); in hasIrregularType() local
308 return VF * DL.getTypeAllocSize(Ty) != DL.getTypeStoreSize(VectorTy); in hasIrregularType()
1467 unsigned getInstructionCost(Instruction *I, unsigned VF, Type *&VectorTy);
5733 Type *VectorTy = ToVectorTy(ValTy, VF); in getConsecutiveMemOpCost() local
5743 Cost += TTI.getMaskedMemoryOpCost(I->getOpcode(), VectorTy, Alignment, AS); in getConsecutiveMemOpCost()
5745 Cost += TTI.getMemoryOpCost(I->getOpcode(), VectorTy, Alignment, AS, I); in getConsecutiveMemOpCost()
5749 Cost += TTI.getShuffleCost(TargetTransformInfo::SK_Reverse, VectorTy, 0); in getConsecutiveMemOpCost()
5757 Type *VectorTy = ToVectorTy(ValTy, VF); in getUniformMemOpCost() local
5763 TTI.getShuffleCost(TargetTransformInfo::SK_Broadcast, VectorTy); in getUniformMemOpCost()
5769 Type *VectorTy = ToVectorTy(ValTy, VF); in getGatherScatterCost() local
[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 __anonafddda8d0211::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 __anon1f24f85e0111::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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp399 VectorType *VectorTy = arrayTypeToVecType(AllocaTy); in tryPromoteAllocaToVector() local
402 << *VectorTy << '\n'); in tryPromoteAllocaToVector()
409 Type *VecPtrTy = VectorTy->getPointerTo(AS.PRIVATE_ADDRESS); in tryPromoteAllocaToVector()
421 Type *VecPtrTy = VectorTy->getPointerTo(AS.PRIVATE_ADDRESS); in tryPromoteAllocaToVector()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/FuzzMutate/
DOperationsTest.cpp341 Type *VectorTy = VectorType::get(Int32Ty, 2); in TEST() local
351 Constant *VVal = UndefValue::get(VectorTy); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h843 if (VectorType *VectorTy = dyn_cast<VectorType>(DstTy)) in getInstructionLatency() local
844 DstTy = VectorTy->getElementType(); in getInstructionLatency()
/external/llvm/lib/Target/ARM/
DARMISelLowering.h471 bool canCombineStoreAndExtract(Type *VectorTy, Value *Idx,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMISelLowering.h542 bool canCombineStoreAndExtract(Type *VectorTy, Value *Idx,
/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/swiftshader/third_party/llvm-7.0/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c561 CAMLprim value llvm_vector_size(LLVMTypeRef VectorTy) { in llvm_vector_size() argument
562 return Val_int(LLVMGetVectorSize(VectorTy)); in llvm_vector_size()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm-c/
DCore.h1316 unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy);
/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()

12