Home
last modified time | relevance | path

Searched refs:EltType (Results 1 – 11 of 11) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DTargetBuiltins.h112 enum EltType { enum
127 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in NeonTypeFlags()
134 EltType getEltType() const { return (EltType)(Flags & EltTypeMask); } in getEltType()
136 EltType ET = getEltType(); in isPoly()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DItaniumMangle.cpp2968 QualType EltType = T->getElementType(); in mangleNeonVectorType() local
2969 assert(EltType->isBuiltinType() && "Neon vector element not a BuiltinType"); in mangleNeonVectorType()
2972 switch (cast<BuiltinType>(EltType)->getKind()) { in mangleNeonVectorType()
2987 switch (cast<BuiltinType>(EltType)->getKind()) { in mangleNeonVectorType()
3005 getASTContext().getTypeSize(EltType)); in mangleNeonVectorType()
3024 static StringRef mangleAArch64VectorBase(const BuiltinType *EltType) { in mangleAArch64VectorBase() argument
3025 switch (EltType->getKind()) { in mangleAArch64VectorBase()
3059 QualType EltType = T->getElementType(); in mangleAArch64NeonVectorType() local
3062 (T->getNumElements() * getASTContext().getTypeSize(EltType)); in mangleAArch64NeonVectorType()
3070 switch (cast<BuiltinType>(EltType)->getKind()) { in mangleAArch64NeonVectorType()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp477 Type *EltType = in INITIALIZE_PASS_DEPENDENCY() local
479 Alignment = DL.getABITypeAlignment(EltType); in INITIALIZE_PASS_DEPENDENCY()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DTargetInfo.cpp4133 if (const Type *EltType = isSingleElementStruct(Ty, getContext())) { in getParamTypeAlignment() local
4134 const BuiltinType *BT = EltType->getAs<BuiltinType>(); in getParamTypeAlignment()
4135 if ((EltType->isVectorType() && getContext().getTypeSize(EltType) == 128) || in getParamTypeAlignment()
4137 AlignTy = EltType; in getParamTypeAlignment()
4525 const Type *EltType = isSingleElementStruct(Ty, getContext()); in getParamTypeAlignment() local
4526 if (EltType) { in getParamTypeAlignment()
4527 const BuiltinType *BT = EltType->getAs<BuiltinType>(); in getParamTypeAlignment()
4528 if (IsQPXVectorTy(EltType) || (EltType->isVectorType() && in getParamTypeAlignment()
4529 getContext().getTypeSize(EltType) == 128) || in getParamTypeAlignment()
4531 AlignAsType = EltType; in getParamTypeAlignment()
H A DCGExprConstant.cpp915 QualType EltType = CAT->getElementType(); in EmitArrayInitialization() local
920 fillC = Emitter.tryEmitAbstractForMemory(filler, EltType); in EmitArrayInitialization()
935 llvm::Constant *C = Emitter.tryEmitPrivateForMemory(Init, EltType); in EmitArrayInitialization()
H A DCGExpr.cpp3263 QualType EltType = E->getType()->castAsArrayTypeUnsafe()->getElementType(); in EmitArrayToPointerDecay() local
3265 if (TBAAInfo) *TBAAInfo = CGM.getTBAAAccessInfo(EltType); in EmitArrayToPointerDecay()
3267 return Builder.CreateElementBitCast(Addr, ConvertTypeForMem(EltType)); in EmitArrayToPointerDecay()
3403 QualType EltType = LV.getType()->castAs<VectorType>()->getElementType(); in EmitArraySubscriptExpr() local
3404 Addr = emitArraySubscriptGEP(*this, Addr, Idx, EltType, /*inbounds*/ true, in EmitArraySubscriptExpr()
3406 return MakeAddrLValue(Addr, EltType, LV.getBaseInfo(), in EmitArraySubscriptExpr()
3407 CGM.getTBAAInfoForSubobject(LV, EltType)); in EmitArraySubscriptExpr()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp1780 EVT EltType = Ins[i].VT; in LowerCall() local
1784 EltType = MVT::i32; in LowerCall()
1789 EltType = MVT::i16; in LowerCall()
1798 LoadVTs.push_back(EltType); in LowerCall()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp5901 EVT EltType = V.getValueType().getVectorElementType(); in getExtFactor() local
5902 return EltType.getSizeInBits() / 8; in getExtFactor()
6570 static unsigned getDUPLANEOp(EVT EltType) { in getDUPLANEOp() argument
6571 if (EltType == MVT::i8) in getDUPLANEOp()
6573 if (EltType == MVT::i16 || EltType == MVT::f16) in getDUPLANEOp()
6575 if (EltType == MVT::i32 || EltType == MVT::f32) in getDUPLANEOp()
6577 if (EltType == MVT::i64 || EltType == MVT::f64) in getDUPLANEOp()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp1595 Type *EltType = A->getType()->getPointerElementType(); in getShadow() local
1596 ArgAlign = DL.getABITypeAlignment(EltType); in getShadow()
/freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/
H A DNeonEmitter.cpp90 enum EltType { enum
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp7392 unsigned &NumElt, MVT &EltType) { in isSplatZeroExtended() argument
7418 EltType = MVT::getIntegerVT(ExtVTSize); in isSplatZeroExtended()
7455 MVT EltType = VT.getScalarType(); in lowerBuildVectorAsBroadcast() local
7458 SDValue ZeroExtended = isSplatZeroExtended(BVOp, NumElts, EltType); in lowerBuildVectorAsBroadcast()
7467 if ((EltType == MVT::i64 && MaskVT == MVT::v8i1) || // for broadcastmb2q in lowerBuildVectorAsBroadcast()
7468 (EltType == MVT::i32 && MaskVT == MVT::v16i1)) { // for broadcastmw2d in lowerBuildVectorAsBroadcast()
7471 MVT::getVectorVT(EltType, NumElts), BOperand); in lowerBuildVectorAsBroadcast()
8920 Type *EltType = Op.getValueType().getScalarType().getTypeForEVT(Context); in LowerBUILD_VECTOR() local
8921 SmallVector<Constant *, 16> ConstVecOps(NumElems, UndefValue::get(EltType)); in LowerBUILD_VECTOR()