Home
last modified time | relevance | path

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

/external/llvm/include/llvm/ADT/
DEquivalenceClasses.h57 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/llvm/lib/IR/
DType.cpp598 bool StructType::isValidElementType(Type *ElemTy) { in isValidElementType() argument
599 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() && in isValidElementType()
600 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy() && in isValidElementType()
601 !ElemTy->isTokenTy(); in isValidElementType()
692 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType() argument
693 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() && in isValidElementType()
694 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy() && in isValidElementType()
695 !ElemTy->isTokenTy(); in isValidElementType()
722 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType() argument
723 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy() || in isValidElementType()
[all …]
/external/clang/lib/AST/
DAPValue.cpp360 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 …]
DRecordLayoutBuilder.cpp442 QualType ElemTy = Context.getBaseElementType(AT); in CanPlaceFieldSubobjectAtOffset() local
443 const RecordType *RT = ElemTy->getAs<RecordType>(); in CanPlaceFieldSubobjectAtOffset()
539 QualType ElemTy = Context.getBaseElementType(AT); in UpdateEmptyFieldSubobjects() local
540 const RecordType *RT = ElemTy->getAs<RecordType>(); in UpdateEmptyFieldSubobjects()
DExprConstant.cpp8162 QualType ElemTy = E->getType()->castAs<ComplexType>()->getElementType(); in ZeroInitialization() local
8163 if (ElemTy->isRealFloatingType()) { in ZeroInitialization()
8165 APFloat Zero = APFloat::getZero(Info.Ctx.getFloatTypeSemantics(ElemTy)); in ZeroInitialization()
8170 APSInt Zero = Info.Ctx.MakeIntValue(0, ElemTy); in ZeroInitialization()
/external/llvm/include/llvm/IR/
DDerivedTypes.h270 static bool isValidElementType(Type *ElemTy);
345 static bool isValidElementType(Type *ElemTy);
425 static bool isValidElementType(Type *ElemTy);
462 static bool isValidElementType(Type *ElemTy);
465 static bool isLoadableOrStorableType(Type *ElemTy);
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp618 Type *ElemTy = STy->getElementType(i); in getConstantValue() local
619 if (ElemTy->isIntegerTy()) in getConstantValue()
621 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue()
622 else if (ElemTy->isAggregateType()) { in getConstantValue()
623 const Constant *ElemUndef = UndefValue::get(ElemTy); in getConstantValue()
633 Type *ElemTy = VTy->getElementType(); in getConstantValue() local
636 if (ElemTy->isIntegerTy()) in getConstantValue()
639 APInt(ElemTy->getPrimitiveSizeInBits(), 0); in getConstantValue()
919 Type* ElemTy; in getConstantValue() local
926 ElemTy = CDV->getElementType(); in getConstantValue()
[all …]
/external/llvm/lib/Target/AMDGPU/
DSITypeRewriter.cpp77 Type *ElemTy = PtrTy->getPointerElementType(); in visitLoadInst() local
79 if (ElemTy == v16i8) { in visitLoadInst()
/external/llvm/lib/Transforms/Scalar/
DScalarizer.cpp105 VectorLayout() : VecTy(nullptr), ElemTy(nullptr), VecAlign(0), ElemSize(0) {} in VectorLayout()
116 Type *ElemTy; member
358 Layout.ElemTy = Layout.VecTy->getElementType(); in getVectorLayout()
359 if (DL.getTypeSizeInBits(Layout.ElemTy) != in getVectorLayout()
360 DL.getTypeStoreSizeInBits(Layout.ElemTy)) in getVectorLayout()
367 Layout.ElemSize = DL.getTypeStoreSize(Layout.ElemTy); in getVectorLayout()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp770 llvm::Type *ElemTy = AType->getElementType(); in EmitArrayInitialization() local
784 fillC = llvm::Constant::getNullValue(ElemTy); in EmitArrayInitialization()
802 RewriteType |= (C->getType() != ElemTy); in EmitArrayInitialization()
806 RewriteType |= (fillC->getType() != ElemTy); in EmitArrayInitialization()
DTargetInfo.cpp5084 llvm::Type* ElemTy; in classifyArgumentType() local
5089 ElemTy = llvm::Type::getInt32Ty(getVMContext()); in classifyArgumentType()
5092 ElemTy = llvm::Type::getInt64Ty(getVMContext()); in classifyArgumentType()
5096 return ABIArgInfo::getDirect(llvm::ArrayType::get(ElemTy, SizeRegs)); in classifyArgumentType()
6628 llvm::Type *ElemTy = StrTy->getElementType(i); in addStruct() local
6630 switch (ElemTy->getTypeID()) { in addStruct()
6632 addStruct(ElemOffset, cast<llvm::StructType>(ElemTy)); in addStruct()
6635 addFloat(ElemOffset, ElemTy, 32); in addStruct()
6638 addFloat(ElemOffset, ElemTy, 64); in addStruct()
6641 addFloat(ElemOffset, ElemTy, 128); in addStruct()
[all …]
DCodeGenModule.cpp3122 llvm::Type *ElemTy = AType->getElementType(); in GetConstantArrayFromStringLiteral() local
3126 if (ElemTy->getPrimitiveSizeInBits() == 16) { in GetConstantArrayFromStringLiteral()
3136 assert(ElemTy->getPrimitiveSizeInBits() == 32); in GetConstantArrayFromStringLiteral()
DCGExpr.cpp759 QualType ElemTy = E->getType()->getAs<ComplexType>()->getElementType(); in EmitComplexPrePostIncDec() local
760 llvm::APFloat FVal(getContext().getFloatTypeSemantics(ElemTy), 1); in EmitComplexPrePostIncDec()
/external/clang/lib/Sema/
DSemaInit.cpp76 const QualType ElemTy = in IsStringInit() local
84 if (ElemTy->isCharType()) in IsStringInit()
86 if (IsWideCharCompatible(ElemTy, Context)) in IsStringInit()
95 if (Context.typesAreCompatible(Context.Char16Ty, ElemTy)) in IsStringInit()
97 if (ElemTy->isCharType()) in IsStringInit()
99 if (IsWideCharCompatible(ElemTy, Context)) in IsStringInit()
103 if (Context.typesAreCompatible(Context.Char32Ty, ElemTy)) in IsStringInit()
105 if (ElemTy->isCharType()) in IsStringInit()
107 if (IsWideCharCompatible(ElemTy, Context)) in IsStringInit()
111 if (Context.typesAreCompatible(Context.getWideCharType(), ElemTy)) in IsStringInit()
[all …]
DSemaExprCXX.cpp1039 QualType ElemTy = Ty; in BuildCXXTypeConstructExpr() local
1044 ElemTy = Context.getBaseElementType(Ty); in BuildCXXTypeConstructExpr()
1052 RequireCompleteType(TyBeginLoc, ElemTy, in BuildCXXTypeConstructExpr()
DSemaExpr.cpp5744 QualType ElemTy = Ty->getAs<VectorType>()->getElementType(); in BuildVectorLiteral() local
5748 Literal = ImpCastExprToType(Literal.get(), ElemTy, in BuildVectorLiteral()
5749 PrepareScalarCast(Literal, ElemTy)); in BuildVectorLiteral()
5766 QualType ElemTy = Ty->getAs<VectorType>()->getElementType(); in BuildVectorLiteral() local
5770 Literal = ImpCastExprToType(Literal.get(), ElemTy, in BuildVectorLiteral()
5771 PrepareScalarCast(Literal, ElemTy)); in BuildVectorLiteral()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1884 Type *ElemTy = GV->getType()->getElementType(); in ProcessInternalGlobal() local
1886 AllocaInst *Alloca = new AllocaInst(ElemTy, nullptr, in ProcessInternalGlobal()
2628 Type *ElemTy = cast<PointerType>(GV->getType())->getElementType(); in EvaluateBlock() local
2631 DL.getTypeStoreSize(ElemTy)) { in EvaluateBlock()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp98 MVT ElemTy = VT.getVectorElementType(); in addTypeForNEON() local
99 if (ElemTy != MVT::i64 && ElemTy != MVT::f64) in addTypeForNEON()
103 if (ElemTy == MVT::i32) { in addTypeForNEON()
4352 EVT ElemTy = VT.getVectorElementType(); in LowerCTTZ() local
4354 if (ElemTy == MVT::i8) { in LowerCTTZ()
4357 DAG.getTargetConstant(1, dl, ElemTy)); in LowerCTTZ()
4362 if ((ElemTy == MVT::i16 || ElemTy == MVT::i32) && in LowerCTTZ()
4365 unsigned NumBits = ElemTy.getSizeInBits(); in LowerCTTZ()
4368 DAG.getTargetConstant(NumBits - 1, dl, ElemTy)); in LowerCTTZ()
4381 if (ElemTy == MVT::i64) { in LowerCTTZ()
[all …]
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp471 static inline VectorType *getVecTypeForPair(Type *ElemTy, Type *Elem2Ty) { in getVecTypeForPair()
472 assert(ElemTy->getScalarType() == Elem2Ty->getScalarType() && in getVecTypeForPair()
474 Type *STy = ElemTy->getScalarType(); in getVecTypeForPair()
477 if (VectorType *VTy = dyn_cast<VectorType>(ElemTy)) { in getVecTypeForPair()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp2181 QualType ElemTy = Context->getBaseElementType(T); in needToScanForQualifiers() local
2182 return needToScanForQualifiers(ElemTy); in needToScanForQualifiers()
3706 QualType ElemTy = Context->getBaseElementType(Type); in RewriteObjCFieldDeclType() local
3707 return RewriteObjCFieldDeclType(ElemTy, Result); in RewriteObjCFieldDeclType()
DRewriteObjC.cpp2073 QualType ElemTy = Context->getBaseElementType(T); in needToScanForQualifiers() local
2074 return needToScanForQualifiers(ElemTy); in needToScanForQualifiers()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp8293 MVT ElemTy = N->getSimpleValueType(0).getScalarType(); in tryCombineShiftImm() local
8294 unsigned ElemBits = ElemTy.getSizeInBits(); in tryCombineShiftImm()