Home
last modified time | relevance | path

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

/external/llvm/include/llvm/ADT/
DEquivalenceClasses.h54 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/lib/VMCore/
DType.cpp623 bool StructType::isValidElementType(Type *ElemTy) { in isValidElementType() argument
624 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() && in isValidElementType()
625 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy(); in isValidElementType()
717 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType() argument
718 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() && in isValidElementType()
719 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy(); in isValidElementType()
746 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType() argument
747 if (PointerType *PTy = dyn_cast<PointerType>(ElemTy)) in isValidElementType()
748 ElemTy = PTy->getElementType(); in isValidElementType()
749 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy(); in isValidElementType()
[all …]
/external/clang/lib/AST/
DAPValue.cpp325 QualType ElemTy = Ty->getAs<VectorType>()->getElementType(); in printPretty() local
326 getVectorElt(0).printPretty(Out, Ctx, ElemTy); in printPretty()
329 getVectorElt(i).printPretty(Out, Ctx, ElemTy); in printPretty()
385 QualType ElemTy; in printPretty() local
388 ElemTy = VD->getType(); in printPretty()
392 ElemTy = E->getType(); in printPretty()
398 if (ElemTy->getAs<RecordType>()) { in printPretty()
405 ElemTy = Ctx.getRecordType(RD); in printPretty()
412 ElemTy = VD->getType(); in printPretty()
417 ElemTy = Ctx.getAsArrayType(ElemTy)->getElementType(); in printPretty()
[all …]
DRecordLayoutBuilder.cpp409 QualType ElemTy = Context.getBaseElementType(AT); in CanPlaceFieldSubobjectAtOffset() local
410 const RecordType *RT = ElemTy->getAs<RecordType>(); in CanPlaceFieldSubobjectAtOffset()
511 QualType ElemTy = Context.getBaseElementType(AT); in UpdateEmptyFieldSubobjects() local
512 const RecordType *RT = ElemTy->getAs<RecordType>(); in UpdateEmptyFieldSubobjects()
DExprConstant.cpp3857 QualType ElemTy = E->getType(); in VisitCXXConstructExpr() local
3859 Info.Ctx.getAsConstantArrayType(ElemTy)) { in VisitCXXConstructExpr()
3867 ElemTy = CAT->getElementType(); in VisitCXXConstructExpr()
3870 if (!ElemTy->isRecordType()) in VisitCXXConstructExpr()
3881 ImplicitValueInitExpr VIE(ElemTy); in VisitCXXConstructExpr()
3902 ImplicitValueInitExpr VIE(ElemTy); in VisitCXXConstructExpr()
5765 QualType ElemTy = E->getType()->castAs<ComplexType>()->getElementType(); in ZeroInitialization() local
5766 if (ElemTy->isRealFloatingType()) { in ZeroInitialization()
5768 APFloat Zero = APFloat::getZero(Info.Ctx.getFloatTypeSemantics(ElemTy)); in ZeroInitialization()
5773 APSInt Zero = Info.Ctx.MakeIntValue(0, ElemTy); in ZeroInitialization()
/external/llvm/include/llvm/
DDerivedTypes.h275 static bool isValidElementType(Type *ElemTy);
350 static bool isValidElementType(Type *ElemTy);
410 static bool isValidElementType(Type *ElemTy);
448 static bool isValidElementType(Type *ElemTy);
/external/clang/include/clang/Analysis/
DCFG.h86 template<class ElemTy> const ElemTy *getAs() const { in getAs()
87 if (llvm::isa<ElemTy>(this)) in getAs()
88 return static_cast<const ElemTy*>(this); in getAs()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp769 llvm::Type *ElemTy = AType->getElementType(); in EmitArrayInitialization() local
787 RewriteType |= (C->getType() != ElemTy); in EmitArrayInitialization()
797 fillC = llvm::Constant::getNullValue(ElemTy); in EmitArrayInitialization()
800 RewriteType |= (fillC->getType() != ElemTy); in EmitArrayInitialization()
DTargetInfo.cpp2852 llvm::Type* ElemTy; in classifyArgumentType() local
2857 ElemTy = llvm::Type::getInt32Ty(getVMContext()); in classifyArgumentType()
2860 ElemTy = llvm::Type::getInt64Ty(getVMContext()); in classifyArgumentType()
2865 llvm::StructType::get(llvm::ArrayType::get(ElemTy, SizeRegs), NULL); in classifyArgumentType()
DCodeGenModule.cpp2299 llvm::Type *ElemTy = AType->getElementType(); in GetConstantArrayFromStringLiteral() local
2303 if (ElemTy->getPrimitiveSizeInBits() == 16) { in GetConstantArrayFromStringLiteral()
2313 assert(ElemTy->getPrimitiveSizeInBits() == 32); in GetConstantArrayFromStringLiteral()
DCGExpr.cpp622 QualType ElemTy = E->getType()->getAs<ComplexType>()->getElementType(); in EmitComplexPrePostIncDec() local
623 llvm::APFloat FVal(getContext().getFloatTypeSemantics(ElemTy), 1); in EmitComplexPrePostIncDec()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1950 Type *ElemTy = GV->getType()->getElementType(); in ProcessInternalGlobal() local
1952 AllocaInst *Alloca = new AllocaInst(ElemTy, NULL, GV->getName(), &FirstI); in ProcessInternalGlobal()
2716 Type *ElemTy = cast<PointerType>(GV->getType())->getElementType(); in EvaluateBlock() local
2719 TD->getTypeStoreSize(ElemTy)) in EvaluateBlock()
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp381 static inline VectorType *getVecTypeForPair(Type *ElemTy, Type *Elem2Ty) { in getVecTypeForPair()
382 assert(ElemTy->getScalarType() == Elem2Ty->getScalarType() && in getVecTypeForPair()
384 Type *STy = ElemTy->getScalarType(); in getVecTypeForPair()
387 if (VectorType *VTy = dyn_cast<VectorType>(ElemTy)) { in getVecTypeForPair()
/external/clang/lib/Sema/
DSemaInit.cpp51 QualType ElemTy = Context.getCanonicalType(AT->getElementType()); in IsStringInit() local
58 return ElemTy->isCharType() ? Init : 0; in IsStringInit()
60 return ElemTy->isChar16Type() ? Init : 0; in IsStringInit()
62 return ElemTy->isChar32Type() ? Init : 0; in IsStringInit()
69 ElemTy.getUnqualifiedType())) in IsStringInit()
DSemaExprCXX.cpp838 QualType ElemTy = Ty; in BuildCXXTypeConstructExpr() local
843 ElemTy = Context.getBaseElementType(Ty); in BuildCXXTypeConstructExpr()
847 RequireCompleteType(TyBeginLoc, ElemTy, in BuildCXXTypeConstructExpr()
DSemaExpr.cpp4558 QualType ElemTy = Ty->getAs<VectorType>()->getElementType(); in BuildVectorLiteral() local
4562 Literal = ImpCastExprToType(Literal.take(), ElemTy, in BuildVectorLiteral()
4563 PrepareScalarCast(Literal, ElemTy)); in BuildVectorLiteral()
4580 QualType ElemTy = Ty->getAs<VectorType>()->getElementType(); in BuildVectorLiteral() local
4584 Literal = ImpCastExprToType(Literal.take(), ElemTy, in BuildVectorLiteral()
4585 PrepareScalarCast(Literal, ElemTy)); in BuildVectorLiteral()
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp2120 QualType ElemTy = Context->getBaseElementType(T); in needToScanForQualifiers() local
2121 return needToScanForQualifiers(ElemTy); in needToScanForQualifiers()
3708 QualType ElemTy = Context->getBaseElementType(Type); in RewriteObjCFieldDeclType() local
3709 return RewriteObjCFieldDeclType(ElemTy, Result); in RewriteObjCFieldDeclType()
DRewriteObjC.cpp2109 QualType ElemTy = Context->getBaseElementType(T); in needToScanForQualifiers() local
2110 return needToScanForQualifiers(ElemTy); in needToScanForQualifiers()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp103 MVT ElemTy = VT.getVectorElementType(); in addTypeForNEON() local
104 if (ElemTy != MVT::i64 && ElemTy != MVT::f64) in addTypeForNEON()
108 if (ElemTy == MVT::i32) { in addTypeForNEON()