/external/llvm-project/clang/include/clang/Basic/ |
D | TargetBuiltins.h | 139 enum EltType { enum 155 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in NeonTypeFlags() 162 EltType getEltType() const { return (EltType)(Flags & EltTypeMask); } in getEltType() 164 EltType ET = getEltType(); in isPoly() 184 enum EltType { enum 215 EltType getEltType() const { in getEltType() 216 return (EltType)((Flags & EltTypeMask) >> EltTypeShift); in getEltType()
|
D | arm_sve.td | 134 class EltType<int val> { 137 def EltTyInvalid : EltType<0>; 138 def EltTyInt8 : EltType<1>; 139 def EltTyInt16 : EltType<2>; 140 def EltTyInt32 : EltType<3>; 141 def EltTyInt64 : EltType<4>; 142 def EltTyFloat16 : EltType<5>; 143 def EltTyFloat32 : EltType<6>; 144 def EltTyFloat64 : EltType<7>; 145 def EltTyBool8 : EltType<8>; [all …]
|
/external/clang/include/clang/Basic/ |
D | TargetBuiltins.h | 108 enum EltType { enum 123 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in NeonTypeFlags() 130 EltType getEltType() const { return (EltType)(Flags & EltTypeMask); } in getEltType() 132 EltType ET = getEltType(); in isPoly()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LowerMatrixIntrinsics.cpp | 86 unsigned NumRows, Type *EltType, in computeColumnAddr() argument 102 ColumnStart = Builder.CreateGEP(EltType, BasePtr, ColumnStart, "col.gep"); in computeColumnAddr() 106 Type *ColumnType = VectorType::get(EltType, NumRows); in computeColumnAddr() 516 LoadInst *createColumnLoad(Value *ColumnPtr, Type *EltType, in createColumnLoad() argument 518 unsigned Align = DL.getABITypeAlignment(EltType); in createColumnLoad() 523 Type *EltType, IRBuilder<> Builder) { in createColumnStore() argument 524 unsigned Align = DL.getABITypeAlignment(EltType); in createColumnStore() 530 Value *createElementPtr(Value *BasePtr, Type *EltType, IRBuilder<> &Builder) { in createElementPtr() argument 532 Type *EltPtrType = PointerType::get(EltType, AS); in createElementPtr() 705 auto *EltType = cast<VectorType>(MatMul->getType())->getElementType(); in LowerMultiply() local [all …]
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | DenseMapInfo.h | 253 using EltType = typename std::tuple_element<I, Tuple>::type; 256 DenseMapInfo<EltType>::getHashValue(std::get<I>(values)), 272 using EltType = typename std::tuple_element<I, Tuple>::type; 274 return DenseMapInfo<EltType>::isEqual(std::get<I>(lhs), std::get<I>(rhs)) &&
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LowerMatrixIntrinsics.cpp | 138 unsigned NumElements, Type *EltType, in computeVectorAddr() argument 154 VecStart = Builder.CreateGEP(EltType, BasePtr, VecStart, "vec.gep"); in computeVectorAddr() 158 auto *VecType = FixedVectorType::get(EltType, NumElements); in computeVectorAddr() 747 Value *createElementPtr(Value *BasePtr, Type *EltType, IRBuilder<> &Builder) { in createElementPtr() argument 749 Type *EltPtrType = PointerType::get(EltType, AS); in createElementPtr() 1180 auto *EltType = cast<VectorType>(MatMul->getType())->getElementType(); in isFusionProfitable() local 1184 EltType->getPrimitiveSizeInBits().getFixedSize(), in isFusionProfitable() 1204 MatrixTy getZeroMatrix(Type *EltType, unsigned R, unsigned C) { in getZeroMatrix() argument 1206 auto *ColumType = FixedVectorType::get(EltType, R); in getZeroMatrix() 1215 auto *EltType = cast<VectorType>(MatMul->getType())->getElementType(); in createTiledLoops() local [all …]
|
/external/clang/lib/AST/ |
D | ItaniumMangle.cpp | 2722 QualType EltType = T->getElementType(); in mangleNeonVectorType() local 2723 assert(EltType->isBuiltinType() && "Neon vector element not a BuiltinType"); in mangleNeonVectorType() 2726 switch (cast<BuiltinType>(EltType)->getKind()) { in mangleNeonVectorType() 2741 switch (cast<BuiltinType>(EltType)->getKind()) { in mangleNeonVectorType() 2759 getASTContext().getTypeSize(EltType)); in mangleNeonVectorType() 2770 static StringRef mangleAArch64VectorBase(const BuiltinType *EltType) { in mangleAArch64VectorBase() argument 2771 switch (EltType->getKind()) { in mangleAArch64VectorBase() 2805 QualType EltType = T->getElementType(); in mangleAArch64NeonVectorType() local 2806 assert(EltType->isBuiltinType() && "Neon vector element not a BuiltinType"); in mangleAArch64NeonVectorType() 2808 (T->getNumElements() * getASTContext().getTypeSize(EltType)); in mangleAArch64NeonVectorType() [all …]
|
/external/llvm-project/clang/lib/AST/ |
D | ItaniumMangle.cpp | 3178 QualType EltType = T->getElementType(); in mangleNeonVectorType() local 3179 assert(EltType->isBuiltinType() && "Neon vector element not a BuiltinType"); in mangleNeonVectorType() 3182 switch (cast<BuiltinType>(EltType)->getKind()) { in mangleNeonVectorType() 3198 switch (cast<BuiltinType>(EltType)->getKind()) { in mangleNeonVectorType() 3217 getASTContext().getTypeSize(EltType)); in mangleNeonVectorType() 3236 static StringRef mangleAArch64VectorBase(const BuiltinType *EltType) { in mangleAArch64VectorBase() argument 3237 switch (EltType->getKind()) { in mangleAArch64VectorBase() 3273 QualType EltType = T->getElementType(); in mangleAArch64NeonVectorType() local 3274 assert(EltType->isBuiltinType() && "Neon vector element not a BuiltinType"); in mangleAArch64NeonVectorType() 3276 (T->getNumElements() * getASTContext().getTypeSize(EltType)); in mangleAArch64NeonVectorType() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 449 Type *EltType = in INITIALIZE_PASS_DEPENDENCY() local 451 Alignment = DL.getABITypeAlignment(EltType); in INITIALIZE_PASS_DEPENDENCY()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 1203 QualType EltType = CAT->getElementType(); in EmitArrayInitialization() local 1208 fillC = Emitter.tryEmitAbstractForMemory(filler, EltType); in EmitArrayInitialization() 1223 llvm::Constant *C = Emitter.tryEmitPrivateForMemory(Init, EltType); in EmitArrayInitialization()
|
D | CGExpr.cpp | 3550 QualType EltType = E->getType()->castAsArrayTypeUnsafe()->getElementType(); in EmitArrayToPointerDecay() local 3552 if (TBAAInfo) *TBAAInfo = CGM.getTBAAAccessInfo(EltType); in EmitArrayToPointerDecay() 3554 return Builder.CreateElementBitCast(Addr, ConvertTypeForMem(EltType)); in EmitArrayToPointerDecay() 3746 QualType EltType = LV.getType()->castAs<VectorType>()->getElementType(); in EmitArraySubscriptExpr() local 3747 Addr = emitArraySubscriptGEP(*this, Addr, Idx, EltType, /*inbounds*/ true, in EmitArraySubscriptExpr() 3749 return MakeAddrLValue(Addr, EltType, LV.getBaseInfo(), in EmitArraySubscriptExpr() 3750 CGM.getTBAAInfoForSubobject(LV, EltType)); in EmitArraySubscriptExpr()
|
D | TargetInfo.cpp | 4653 if (const Type *EltType = isSingleElementStruct(Ty, getContext())) { in getParamTypeAlignment() local 4654 const BuiltinType *BT = EltType->getAs<BuiltinType>(); in getParamTypeAlignment() 4655 if ((EltType->isVectorType() && getContext().getTypeSize(EltType) == 128) || in getParamTypeAlignment() 4657 AlignTy = EltType; in getParamTypeAlignment() 5031 const Type *EltType = isSingleElementStruct(Ty, getContext()); in getParamTypeAlignment() local 5032 if (EltType) { in getParamTypeAlignment() 5033 const BuiltinType *BT = EltType->getAs<BuiltinType>(); in getParamTypeAlignment() 5034 if ((EltType->isVectorType() && getContext().getTypeSize(EltType) == 128) || in getParamTypeAlignment() 5036 AlignAsType = EltType; in getParamTypeAlignment()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 2786 QualType EltType = E->getType()->castAsArrayTypeUnsafe()->getElementType(); in EmitArrayToPointerDecay() local 2787 return Builder.CreateElementBitCast(Addr, ConvertTypeForMem(EltType)); in EmitArrayToPointerDecay() 2902 QualType EltType = LV.getType()->castAs<VectorType>()->getElementType(); in EmitArraySubscriptExpr() local 2903 Addr = emitArraySubscriptGEP(*this, Addr, Idx, EltType, /*inbounds*/ true); in EmitArraySubscriptExpr() 2904 return MakeAddrLValue(Addr, EltType, LV.getAlignmentSource()); in EmitArraySubscriptExpr()
|
D | TargetInfo.cpp | 4043 const Type *EltType = isSingleElementStruct(Ty, getContext()); in getParamTypeAlignment() local 4044 if (EltType) { in getParamTypeAlignment() 4045 const BuiltinType *BT = EltType->getAs<BuiltinType>(); in getParamTypeAlignment() 4046 if (IsQPXVectorTy(EltType) || (EltType->isVectorType() && in getParamTypeAlignment() 4047 getContext().getTypeSize(EltType) == 128) || in getParamTypeAlignment() 4049 AlignAsType = EltType; in getParamTypeAlignment()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXISelLowering.cpp | 1786 EVT EltType = Ins[i].VT; in LowerCall() local 1790 EltType = MVT::i32; in LowerCall() 1795 EltType = MVT::i16; in LowerCall() 1804 LoadVTs.push_back(EltType); in LowerCall()
|
/external/llvm-project/llvm/lib/Target/NVPTX/ |
D | NVPTXISelLowering.cpp | 1769 EVT EltType = Ins[i].VT; in LowerCall() local 1773 EltType = MVT::i32; in LowerCall() 1778 EltType = MVT::i16; in LowerCall() 1787 LoadVTs.push_back(EltType); in LowerCall()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 4909 EVT EltType = V.getValueType().getVectorElementType(); in getExtFactor() local 4910 return EltType.getSizeInBits() / 8; in getExtFactor() 5565 static unsigned getDUPLANEOp(EVT EltType) { in getDUPLANEOp() argument 5566 if (EltType == MVT::i8) in getDUPLANEOp() 5568 if (EltType == MVT::i16 || EltType == MVT::f16) in getDUPLANEOp() 5570 if (EltType == MVT::i32 || EltType == MVT::f32) in getDUPLANEOp() 5572 if (EltType == MVT::i64 || EltType == MVT::f64) in getDUPLANEOp()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.cpp | 4173 EVT EltType = LoadVT.getScalarType(); in lowerIntrinsicLoad() local 4176 bool IsD16 = IsFormat && (EltType.getSizeInBits() == 16); in lowerIntrinsicLoad() 4186 if (!IsD16 && !LoadVT.isVector() && EltType.getSizeInBits() < 32) in lowerIntrinsicLoad() 6981 EVT EltType = VDataVT.getScalarType(); in LowerINTRINSIC_VOID() local 6982 bool IsD16 = IsFormat && (EltType.getSizeInBits() == 16); in LowerINTRINSIC_VOID() 7011 if (!IsD16 && !VDataVT.isVector() && EltType.getSizeInBits() < 32) in LowerINTRINSIC_VOID() 7025 EVT EltType = VDataVT.getScalarType(); in LowerINTRINSIC_VOID() local 7026 bool IsD16 = IsFormat && (EltType.getSizeInBits() == 16); in LowerINTRINSIC_VOID() 7058 if (!IsD16 && !VDataVT.isVector() && EltType.getSizeInBits() < 32) in LowerINTRINSIC_VOID()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 6520 EVT EltType = V.getValueType().getVectorElementType(); in getExtFactor() local 6521 return EltType.getSizeInBits() / 8; in getExtFactor() 7196 static unsigned getDUPLANEOp(EVT EltType) { in getDUPLANEOp() argument 7197 if (EltType == MVT::i8) in getDUPLANEOp() 7199 if (EltType == MVT::i16 || EltType == MVT::f16) in getDUPLANEOp() 7201 if (EltType == MVT::i32 || EltType == MVT::f32) in getDUPLANEOp() 7203 if (EltType == MVT::i64 || EltType == MVT::f64) in getDUPLANEOp()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.cpp | 4684 EVT EltType = LoadVT.getScalarType(); in lowerIntrinsicLoad() local 4687 bool IsD16 = IsFormat && (EltType.getSizeInBits() == 16); in lowerIntrinsicLoad() 4697 if (!IsD16 && !LoadVT.isVector() && EltType.getSizeInBits() < 32) in lowerIntrinsicLoad() 7689 EVT EltType = VDataVT.getScalarType(); in LowerINTRINSIC_VOID() local 7690 bool IsD16 = IsFormat && (EltType.getSizeInBits() == 16); in LowerINTRINSIC_VOID() 7721 if (!IsD16 && !VDataVT.isVector() && EltType.getSizeInBits() < 32) in LowerINTRINSIC_VOID() 7735 EVT EltType = VDataVT.getScalarType(); in LowerINTRINSIC_VOID() local 7736 bool IsD16 = IsFormat && (EltType.getSizeInBits() == 16); in LowerINTRINSIC_VOID() 7770 if (!IsD16 && !VDataVT.isVector() && EltType.getSizeInBits() < 32) in LowerINTRINSIC_VOID()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 1130 Type *EltType = A->getType()->getPointerElementType(); in getShadow() local 1131 ArgAlign = DL.getABITypeAlignment(EltType); in getShadow()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 7804 EVT EltType = V.getValueType().getVectorElementType(); in getExtFactor() local 7805 return EltType.getSizeInBits() / 8; in getExtFactor() 8572 static unsigned getDUPLANEOp(EVT EltType) { in getDUPLANEOp() argument 8573 if (EltType == MVT::i8) in getDUPLANEOp() 8575 if (EltType == MVT::i16 || EltType == MVT::f16 || EltType == MVT::bf16) in getDUPLANEOp() 8577 if (EltType == MVT::i32 || EltType == MVT::f32) in getDUPLANEOp() 8579 if (EltType == MVT::i64 || EltType == MVT::f64) in getDUPLANEOp()
|
/external/clang/utils/TableGen/ |
D | NeonEmitter.cpp | 81 enum EltType { enum
|
/external/llvm-project/clang/utils/TableGen/ |
D | NeonEmitter.cpp | 91 enum EltType { enum
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaType.cpp | 7891 QualType EltType = CurType->getSveEltType(S.Context); in HandleArmSveVectorBitsTypeAttr() local 7892 unsigned TypeSize = S.Context.getTypeSize(EltType); in HandleArmSveVectorBitsTypeAttr() 7900 CurType = S.Context.getVectorType(EltType, VecSize, VecKind); in HandleArmSveVectorBitsTypeAttr()
|