/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | EquivalenceClasses.h | 58 template <class ElemTy> 74 ElemTy Data; 78 ECValue(const ElemTy &Elt) in ECValue() 108 const ElemTy &getData() const { return Data; } in getData() 164 iterator findValue(const ElemTy &V) const { in findValue() 171 const ElemTy &getLeaderValue(const ElemTy &V) const { in getLeaderValue() 180 const ElemTy &getOrInsertLeaderValue(const ElemTy &V) { in getOrInsertLeaderValue() 200 iterator insert(const ElemTy &Data) { in insert() 212 member_iterator findLeader(const ElemTy &V) const { in findLeader() 218 member_iterator unionSets(const ElemTy &V1, const ElemTy &V2) { in unionSets() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | EquivalenceClasses.h | 54 template <class ElemTy> 69 ElemTy Data; 72 ECValue(const ElemTy &Elt) in ECValue() 100 const ElemTy &getData() const { return Data; } in getData() 156 iterator findValue(const ElemTy &V) const { in findValue() 163 const ElemTy &getLeaderValue(const ElemTy &V) const { in getLeaderValue() 172 const ElemTy &getOrInsertLeaderValue(const ElemTy &V) { in getOrInsertLeaderValue() 193 iterator insert(const ElemTy &Data) { in insert() 206 member_iterator findLeader(const ElemTy &V) const { in findLeader() 213 member_iterator unionSets(const ElemTy &V1, const ElemTy &V2) { in unionSets() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | EquivalenceClasses.h | 57 template <class ElemTy> 72 ElemTy Data; 75 ECValue(const ElemTy &Elt) in ECValue() 103 const ElemTy &getData() const { return Data; } in getData() 159 iterator findValue(const ElemTy &V) const { in findValue() 166 const ElemTy &getLeaderValue(const ElemTy &V) const { in getLeaderValue() 175 const ElemTy &getOrInsertLeaderValue(const ElemTy &V) { in getOrInsertLeaderValue() 196 iterator insert(const ElemTy &Data) { in insert() 209 member_iterator findLeader(const ElemTy &V) const { in findLeader() 216 member_iterator unionSets(const ElemTy &V1, const ElemTy &V2) { in unionSets() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Type.cpp | 494 bool StructType::isValidElementType(Type *ElemTy) { in isValidElementType() argument 495 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() && in isValidElementType() 496 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy() && in isValidElementType() 497 !ElemTy->isTokenTy(); in isValidElementType() 580 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType() argument 581 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() && in isValidElementType() 582 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy() && in isValidElementType() 583 !ElemTy->isTokenTy(); in isValidElementType() 608 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType() argument 609 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy() || in isValidElementType() [all …]
|
D | DataLayout.cpp | 779 int64_t DataLayout::getIndexedOffsetInType(Type *ElemTy, in getIndexedOffsetInType() argument 784 GTI = gep_type_begin(ElemTy, Indices), in getIndexedOffsetInType() 785 GTE = gep_type_end(ElemTy, Indices); in getIndexedOffsetInType()
|
/external/llvm/lib/IR/ |
D | Type.cpp | 530 bool StructType::isValidElementType(Type *ElemTy) { in isValidElementType() argument 531 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() && in isValidElementType() 532 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy() && in isValidElementType() 533 !ElemTy->isTokenTy(); in isValidElementType() 620 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType() argument 621 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() && in isValidElementType() 622 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy() && in isValidElementType() 623 !ElemTy->isTokenTy(); in isValidElementType() 650 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType() argument 651 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy() || in isValidElementType() [all …]
|
D | DataLayout.cpp | 726 int64_t DataLayout::getIndexedOffsetInType(Type *ElemTy, in getIndexedOffsetInType() argument 734 GTI = gep_type_begin(ElemTy, AS, Indices), in getIndexedOffsetInType() 735 GTE = gep_type_end(ElemTy, AS, Indices); in getIndexedOffsetInType()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelLoweringHVX.cpp | 213 MVT ElemTy = Tys.first.getVectorElementType(); in typeJoin() local 214 return MVT::getVectorVT(ElemTy, Tys.first.getVectorNumElements() + in typeJoin() 229 MVT ElemTy = VecTy.getVectorElementType(); in typeExtElem() local 230 MVT NewElemTy = MVT::getIntegerVT(ElemTy.getSizeInBits() * Factor); in typeExtElem() 236 MVT ElemTy = VecTy.getVectorElementType(); in typeTruncElem() local 237 MVT NewElemTy = MVT::getIntegerVT(ElemTy.getSizeInBits() / Factor); in typeTruncElem() 242 HexagonTargetLowering::opCastElem(SDValue Vec, MVT ElemTy, in opCastElem() argument 244 if (ty(Vec).getVectorElementType() == ElemTy) in opCastElem() 246 MVT CastTy = tyVector(Vec.getValueType().getSimpleVT(), ElemTy); in opCastElem() 279 HexagonTargetLowering::convertToByteIndex(SDValue ElemIdx, MVT ElemTy, in convertToByteIndex() argument [all …]
|
D | HexagonSubtarget.h | 221 MVT ElemTy = VecTy.getVectorElementType(); 222 if (!IncludeBool && ElemTy == MVT::i1) 229 if (IncludeBool && ElemTy == MVT::i1) { 244 return llvm::any_of(ElemTypes, [ElemTy] (MVT T) { return ElemTy == T; });
|
D | HexagonISelLowering.h | 366 MVT tyVector(MVT Ty, MVT ElemTy) const { in tyVector() argument 367 if (Ty.isVector() && Ty.getVectorElementType() == ElemTy) in tyVector() 370 unsigned ElemWidth = ElemTy.getSizeInBits(); in tyVector() 372 return MVT::getVectorVT(ElemTy, TyWidth/ElemWidth); in tyVector() 383 SDValue opCastElem(SDValue Vec, MVT ElemTy, SelectionDAG &DAG) const; 387 SDValue convertToByteIndex(SDValue ElemIdx, MVT ElemTy, 389 SDValue getIndexInWord32(SDValue Idx, MVT ElemTy, SelectionDAG &DAG) const;
|
D | HexagonISelLowering.cpp | 816 MVT ElemTy = OpTy.getVectorElementType(); in LowerSETCC() local 817 assert(ElemTy.isScalarInteger()); in LowerSETCC() 818 MVT WideTy = MVT::getVectorVT(MVT::getIntegerVT(2*ElemTy.getSizeInBits()), in LowerSETCC() 1912 MVT ElemTy = VT.getSimpleVT().getVectorElementType(); in getPreferredVectorAction() local 1913 if (ElemTy == MVT::i1) in getPreferredVectorAction() 1921 if (llvm::find(Tys, ElemTy) != Tys.end()) { in getPreferredVectorAction() 2130 MVT ElemTy = VecTy.getVectorElementType(); in getBuildVectorConstInts() local 2131 unsigned ElemWidth = ElemTy.getSizeInBits(); in getBuildVectorConstInts() 2159 MVT ElemTy = VecTy.getVectorElementType(); in buildVector32() local 2176 if (ElemTy == MVT::i16) { in buildVector32() [all …]
|
D | HexagonTargetTransformInfo.cpp | 252 Type *ElemTy = Val->isVectorTy() ? cast<VectorType>(Val)->getElementType() in getVectorInstrCost() local 257 if (ElemTy->isIntegerTy(32)) in getVectorInstrCost()
|
D | HexagonISelDAGToDAGHVX.cpp | 811 MVT getSingleVT(MVT ElemTy) const { in getSingleVT() 812 unsigned NumElems = HwLen / (ElemTy.getSizeInBits()/8); in getSingleVT() 813 return MVT::getVectorVT(ElemTy, NumElems); in getSingleVT() 816 MVT getPairVT(MVT ElemTy) const { in getPairVT() 817 unsigned NumElems = (2*HwLen) / (ElemTy.getSizeInBits()/8); in getPairVT() 818 return MVT::getVectorVT(ElemTy, NumElems); in getPairVT() 1334 MVT ElemTy = ResTy.getVectorElementType(); in scalarizeShuffle() local 1335 assert(ElemTy == MVT::i8); in scalarizeShuffle() 1343 Ops.push_back(ISel.selectUndef(dl, ElemTy)); in scalarizeShuffle() 1363 SDValue Ex = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, ElemTy, {Vec, Idx}); in scalarizeShuffle()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Type.cpp | 543 bool StructType::isValidElementType(Type *ElemTy) { in isValidElementType() argument 544 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() && in isValidElementType() 545 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy(); in isValidElementType() 637 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType() argument 638 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() && in isValidElementType() 639 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy(); in isValidElementType() 666 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType() argument 667 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy(); in isValidElementType() 699 bool PointerType::isValidElementType(Type *ElemTy) { in isValidElementType() argument 700 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() && in isValidElementType() [all …]
|
/external/clang/lib/AST/ |
D | APValue.cpp | 360 QualType ElemTy = Ty->getAs<VectorType>()->getElementType(); in printPretty() local 361 getVectorElt(0).printPretty(Out, Ctx, ElemTy); in printPretty() 364 getVectorElt(i).printPretty(Out, Ctx, ElemTy); in printPretty() 427 QualType ElemTy; in printPretty() local 430 ElemTy = VD->getType(); in printPretty() 435 ElemTy = E->getType(); in printPretty() 441 if (ElemTy->getAs<RecordType>()) { in printPretty() 448 ElemTy = Ctx.getRecordType(RD); in printPretty() 455 ElemTy = VD->getType(); in printPretty() 460 ElemTy = Ctx.getAsArrayType(ElemTy)->getElementType(); in printPretty() [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | DerivedTypes.h | 275 static bool isValidElementType(Type *ElemTy); 356 static bool isValidElementType(Type *ElemTy); 424 static bool isValidElementType(Type *ElemTy); 465 static bool isValidElementType(Type *ElemTy); 468 static bool isLoadableOrStorableType(Type *ElemTy);
|
/external/llvm/include/llvm/IR/ |
D | DerivedTypes.h | 270 static bool isValidElementType(Type *ElemTy); 350 static bool isValidElementType(Type *ElemTy); 421 static bool isValidElementType(Type *ElemTy); 460 static bool isValidElementType(Type *ElemTy); 463 static bool isLoadableOrStorableType(Type *ElemTy);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | DerivedTypes.h | 298 static bool isValidElementType(Type *ElemTy); 380 static bool isValidElementType(Type *ElemTy); 448 static bool isValidElementType(Type *ElemTy); 489 static bool isValidElementType(Type *ElemTy); 492 static bool isLoadableOrStorableType(Type *ElemTy);
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | DerivedTypes.h | 271 static bool isValidElementType(Type *ElemTy); 346 static bool isValidElementType(Type *ElemTy); 405 static bool isValidElementType(Type *ElemTy); 442 static bool isValidElementType(Type *ElemTy);
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 613 Type *ElemTy = STy->getElementType(i); in getConstantValue() local 614 if (ElemTy->isIntegerTy()) in getConstantValue() 616 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue() 617 else if (ElemTy->isAggregateType()) { in getConstantValue() 618 const Constant *ElemUndef = UndefValue::get(ElemTy); in getConstantValue() 628 Type *ElemTy = VTy->getElementType(); in getConstantValue() local 631 if (ElemTy->isIntegerTy()) in getConstantValue() 634 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue() 914 Type* ElemTy; in getConstantValue() local 921 ElemTy = CDV->getElementType(); in getConstantValue() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 616 Type *ElemTy = STy->getElementType(i); in getConstantValue() local 617 if (ElemTy->isIntegerTy()) in getConstantValue() 619 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue() 620 else if (ElemTy->isAggregateType()) { in getConstantValue() 621 const Constant *ElemUndef = UndefValue::get(ElemTy); in getConstantValue() 631 Type *ElemTy = VTy->getElementType(); in getConstantValue() local 634 if (ElemTy->isIntegerTy()) in getConstantValue() 637 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue() 920 Type* ElemTy; in getConstantValue() local 927 ElemTy = CDV->getElementType(); in getConstantValue() [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | SITypeRewriter.cpp | 77 Type *ElemTy = PtrTy->getPointerElementType(); in visitLoadInst() local 79 if (ElemTy == v16i8) { in visitLoadInst()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Scalarizer.cpp | 104 VectorLayout() : VecTy(nullptr), ElemTy(nullptr), VecAlign(0), ElemSize(0) {} in VectorLayout() 115 Type *ElemTy; member 361 Layout.ElemTy = Layout.VecTy->getElementType(); in getVectorLayout() 362 if (DL.getTypeSizeInBits(Layout.ElemTy) != in getVectorLayout() 363 DL.getTypeStoreSizeInBits(Layout.ElemTy)) in getVectorLayout() 370 Layout.ElemSize = DL.getTypeStoreSize(Layout.ElemTy); in getVectorLayout()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | Scalarizer.cpp | 145 Type *ElemTy = nullptr; member 395 Layout.ElemTy = Layout.VecTy->getElementType(); in getVectorLayout() 396 if (DL.getTypeSizeInBits(Layout.ElemTy) != in getVectorLayout() 397 DL.getTypeStoreSizeInBits(Layout.ElemTy)) in getVectorLayout() 404 Layout.ElemSize = DL.getTypeStoreSize(Layout.ElemTy); in getVectorLayout()
|
/external/llvm/lib/Transforms/Utils/ |
D | Evaluator.cpp | 403 Type *ElemTy = GV->getValueType(); in EvaluateBlock() local 406 DL.getTypeStoreSize(ElemTy)) { in EvaluateBlock()
|