Home
last modified time | relevance | path

Searched refs:ElemTy (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DEquivalenceClasses.h57 template <class ElemTy>
73 ElemTy Data;
77 ECValue(const ElemTy &Elt) in ECValue()
107 const ElemTy &getData() const { return Data; } in getData()
163 iterator findValue(const ElemTy &V) const { in findValue()
170 const ElemTy &getLeaderValue(const ElemTy &V) const { in getLeaderValue()
179 const ElemTy &getOrInsertLeaderValue(const ElemTy &V) { in getOrInsertLeaderValue()
199 iterator insert(const ElemTy &Data) { in insert()
211 member_iterator findLeader(const ElemTy &V) const { in findLeader()
217 member_iterator unionSets(const ElemTy &V1, const ElemTy &V2) { in unionSets()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DType.cpp511 bool StructType::isValidElementType(Type *ElemTy) { in isValidElementType() argument
512 if (auto *VTy = dyn_cast<VectorType>(ElemTy)) in isValidElementType()
514 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() && in isValidElementType()
515 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy() && in isValidElementType()
516 !ElemTy->isTokenTy(); in isValidElementType()
599 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType() argument
600 if (auto *VTy = dyn_cast<VectorType>(ElemTy)) in isValidElementType()
602 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() && in isValidElementType()
603 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy() && in isValidElementType()
604 !ElemTy->isTokenTy(); in isValidElementType()
[all …]
DDataLayout.cpp806 int64_t DataLayout::getIndexedOffsetInType(Type *ElemTy, in getIndexedOffsetInType() argument
811 GTI = gep_type_begin(ElemTy, Indices), in getIndexedOffsetInType()
812 GTE = gep_type_end(ElemTy, Indices); in getIndexedOffsetInType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp221 MVT ElemTy = Tys.first.getVectorElementType(); in typeJoin() local
222 return MVT::getVectorVT(ElemTy, Tys.first.getVectorNumElements() + in typeJoin()
237 MVT ElemTy = VecTy.getVectorElementType(); in typeExtElem() local
238 MVT NewElemTy = MVT::getIntegerVT(ElemTy.getSizeInBits() * Factor); in typeExtElem()
244 MVT ElemTy = VecTy.getVectorElementType(); in typeTruncElem() local
245 MVT NewElemTy = MVT::getIntegerVT(ElemTy.getSizeInBits() / Factor); in typeTruncElem()
250 HexagonTargetLowering::opCastElem(SDValue Vec, MVT ElemTy, in opCastElem() argument
252 if (ty(Vec).getVectorElementType() == ElemTy) in opCastElem()
254 MVT CastTy = tyVector(Vec.getValueType().getSimpleVT(), ElemTy); in opCastElem()
287 HexagonTargetLowering::convertToByteIndex(SDValue ElemIdx, MVT ElemTy, in convertToByteIndex() argument
[all …]
DHexagonSubtarget.h233 MVT ElemTy = VecTy.getVectorElementType();
234 if (!IncludeBool && ElemTy == MVT::i1)
241 if (IncludeBool && ElemTy == MVT::i1) {
256 return llvm::any_of(ElemTypes, [ElemTy] (MVT T) { return ElemTy == T; });
DHexagonISelLowering.h388 MVT tyVector(MVT Ty, MVT ElemTy) const { in tyVector() argument
389 if (Ty.isVector() && Ty.getVectorElementType() == ElemTy) in tyVector()
392 unsigned ElemWidth = ElemTy.getSizeInBits(); in tyVector()
394 return MVT::getVectorVT(ElemTy, TyWidth/ElemWidth); in tyVector()
405 SDValue opCastElem(SDValue Vec, MVT ElemTy, SelectionDAG &DAG) const;
409 SDValue convertToByteIndex(SDValue ElemIdx, MVT ElemTy,
411 SDValue getIndexInWord32(SDValue Idx, MVT ElemTy, SelectionDAG &DAG) const;
DHexagonISelLowering.cpp873 MVT ElemTy = OpTy.getVectorElementType(); in LowerSETCC() local
874 assert(ElemTy.isScalarInteger()); in LowerSETCC()
875 MVT WideTy = MVT::getVectorVT(MVT::getIntegerVT(2*ElemTy.getSizeInBits()), in LowerSETCC()
931 MVT ElemTy = OpTy.getVectorElementType(); in LowerVSELECT() local
932 assert(ElemTy.isScalarInteger()); in LowerVSELECT()
933 MVT WideTy = MVT::getVectorVT(MVT::getIntegerVT(2*ElemTy.getSizeInBits()), in LowerVSELECT()
1927 MVT ElemTy = VT.getVectorElementType(); in getPreferredVectorAction() local
1938 if (llvm::find(Tys, ElemTy) != Tys.end()) { in getPreferredVectorAction()
1945 if (ElemTy == MVT::i1 && VecLen == 2*HwLen) in getPreferredVectorAction()
1950 if (ElemTy == MVT::i1) in getPreferredVectorAction()
[all …]
DHexagonTargetTransformInfo.cpp268 Type *ElemTy = Val->isVectorTy() ? cast<VectorType>(Val)->getElementType() in getVectorInstrCost() local
273 if (ElemTy->isIntegerTy(32)) in getVectorInstrCost()
DHexagonISelDAGToDAGHVX.cpp816 MVT getSingleVT(MVT ElemTy) const { in getSingleVT()
817 unsigned NumElems = HwLen / (ElemTy.getSizeInBits()/8); in getSingleVT()
818 return MVT::getVectorVT(ElemTy, NumElems); in getSingleVT()
821 MVT getPairVT(MVT ElemTy) const { in getPairVT()
822 unsigned NumElems = (2*HwLen) / (ElemTy.getSizeInBits()/8); in getPairVT()
823 return MVT::getVectorVT(ElemTy, NumElems); in getPairVT()
1365 MVT ElemTy = ResTy.getVectorElementType(); in scalarizeShuffle() local
1366 assert(ElemTy == MVT::i8); in scalarizeShuffle()
1391 MVT LegalTy = Lower.getTypeToTransformTo(Ctx, ElemTy).getSimpleVT(); in scalarizeShuffle()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DDerivedTypes.h275 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);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp615 Type *ElemTy = STy->getElementType(i); in getConstantValue() local
616 if (ElemTy->isIntegerTy()) in getConstantValue()
618 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue()
619 else if (ElemTy->isAggregateType()) { in getConstantValue()
620 const Constant *ElemUndef = UndefValue::get(ElemTy); in getConstantValue()
630 Type *ElemTy = VTy->getElementType(); in getConstantValue() local
633 if (ElemTy->isIntegerTy()) in getConstantValue()
636 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue()
919 Type* ElemTy; in getConstantValue() local
926 ElemTy = CDV->getElementType(); in getConstantValue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDerivedTypes.h335 static bool isValidElementType(Type *ElemTy);
419 static bool isValidElementType(Type *ElemTy);
538 static bool isValidElementType(Type *ElemTy);
601 static bool isValidElementType(Type *ElemTy);
604 static bool isLoadableOrStorableType(Type *ElemTy);
DDataLayout.h555 int64_t getIndexedOffsetInType(Type *ElemTy, ArrayRef<Value *> Indices) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DScalarizer.cpp167 Type *ElemTy = nullptr; member
446 Layout.ElemTy = Layout.VecTy->getElementType(); in getVectorLayout()
447 if (!DL.typeSizeEqualsStoreSize(Layout.ElemTy)) in getVectorLayout()
454 Layout.ElemSize = DL.getTypeStoreSize(Layout.ElemTy); in getVectorLayout()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DEvaluator.cpp530 Type *ElemTy = GV->getValueType(); in EvaluateBlock() local
533 DL.getTypeStoreSize(ElemTy)) { in EvaluateBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp804 Constant *StripPtrCastKeepAS(Constant *Ptr, Type *&ElemTy) { in StripPtrCastKeepAS() argument
810 ElemTy = NewPtrTy->getPointerElementType(); in StripPtrCastKeepAS()
814 NewPtrTy = ElemTy->getPointerTo(OldPtrTy->getAddressSpace()); in StripPtrCastKeepAS()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1962 Type *ElemTy = GV->getValueType(); in processInternalGlobal() local
1964 AllocaInst *Alloca = new AllocaInst(ElemTy, DL.getAllocaAddrSpace(), nullptr, in processInternalGlobal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp166 MVT ElemTy = VT.getVectorElementType(); in addTypeForNEON() local
167 if (ElemTy != MVT::f64) in addTypeForNEON()
171 if (ElemTy == MVT::i32) { in addTypeForNEON()
5956 EVT ElemTy = VT.getVectorElementType(); in LowerCTTZ() local
5958 if (ElemTy == MVT::i8) { in LowerCTTZ()
5961 DAG.getTargetConstant(1, dl, ElemTy)); in LowerCTTZ()
5966 if ((ElemTy == MVT::i16 || ElemTy == MVT::i32) && in LowerCTTZ()
5969 unsigned NumBits = ElemTy.getSizeInBits(); in LowerCTTZ()
5972 DAG.getTargetConstant(NumBits - 1, dl, ElemTy)); in LowerCTTZ()
5981 if (ElemTy == MVT::i64) { in LowerCTTZ()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp10751 MVT ElemTy = N->getSimpleValueType(0).getScalarType(); in tryCombineShiftImm() local
10752 unsigned ElemBits = ElemTy.getSizeInBits(); in tryCombineShiftImm()