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

/external/llvm/include/llvm/ADT/
H A DEquivalenceClasses.h56 template <class ElemTy>
71 ElemTy Data;
74 ECValue(const ElemTy &Elt)
102 const ElemTy &getData() const { return Data; }
112 /// TheMapping - This implicitly provides a mapping from ElemTy values to the
158 iterator findValue(const ElemTy &V) const {
165 const ElemTy &getLeaderValue(const ElemTy &V) const {
174 const ElemTy &getOrInsertLeaderValue(const ElemTy
[all...]
/external/clang/lib/AST/
H A DAPValue.cpp360 QualType ElemTy = Ty->getAs<VectorType>()->getElementType(); local
361 getVectorElt(0).printPretty(Out, Ctx, ElemTy);
364 getVectorElt(i).printPretty(Out, Ctx, ElemTy);
427 QualType ElemTy; local
430 ElemTy = VD->getType();
435 ElemTy = E->getType();
441 if (ElemTy->getAs<RecordType>()) {
448 ElemTy = Ctx.getRecordType(RD);
455 ElemTy = VD->getType();
460 ElemTy
476 QualType ElemTy = AT->getElementType(); local
[all...]
H A DRecordLayoutBuilder.cpp399 QualType ElemTy = Context.getBaseElementType(AT); local
400 const RecordType *RT = ElemTy->getAs<RecordType>();
496 QualType ElemTy = Context.getBaseElementType(AT); local
497 const RecordType *RT = ElemTy->getAs<RecordType>();
H A DExprConstant.cpp7551 QualType ElemTy = E->getType()->castAs<ComplexType>()->getElementType();
7552 if (ElemTy->isRealFloatingType()) {
7554 APFloat Zero = APFloat::getZero(Info.Ctx.getFloatTypeSemantics(ElemTy));
7559 APSInt Zero = Info.Ctx.MakeIntValue(0, ElemTy);
/external/llvm/lib/IR/
H A DType.cpp596 bool StructType::isValidElementType(Type *ElemTy) { argument
597 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() &&
598 !ElemTy->isMetadataTy() && !ElemTy->isFunctionTy();
689 bool ArrayType::isValidElementType(Type *ElemTy) { argument
690 return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() &&
691 !ElemTy->isMetadataTy() && !ElemTy
718 isValidElementType(Type *ElemTy) argument
757 isValidElementType(Type *ElemTy) argument
[all...]
/external/llvm/lib/Target/R600/
H A DSITypeRewriter.cpp84 Type *ElemTy = PtrTy->getPointerElementType(); local
86 if (ElemTy == v16i8) {
/external/llvm/include/llvm/IR/
H A DDerivedTypes.h273 static bool isValidElementType(Type *ElemTy);
346 static bool isValidElementType(Type *ElemTy);
425 static bool isValidElementType(Type *ElemTy);
462 static bool isValidElementType(Type *ElemTy);
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp596 Type *ElemTy = STy->getElementType(i); local
597 if (ElemTy->isIntegerTy())
599 APInt(ElemTy->getPrimitiveSizeInBits(), 0);
600 else if (ElemTy->isAggregateType()) {
601 const Constant *ElemUndef = UndefValue::get(ElemTy);
611 const Type *ElemTy = VTy->getElementType(); local
614 if (ElemTy->isIntegerTy())
617 APInt(ElemTy->getPrimitiveSizeInBits(), 0);
901 Type* ElemTy; local
908 ElemTy
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp105 VectorLayout() : VecTy(nullptr), ElemTy(nullptr), VecAlign(0), ElemSize(0) {}
116 Type *ElemTy; member in struct:__anon26337::VectorLayout
347 Layout.ElemTy = Layout.VecTy->getElementType();
348 if (DL->getTypeSizeInBits(Layout.ElemTy) !=
349 DL->getTypeStoreSizeInBits(Layout.ElemTy))
356 Layout.ElemSize = DL->getTypeStoreSize(Layout.ElemTy);
/external/clang/lib/CodeGen/
H A DCGExprConstant.cpp729 llvm::Type *ElemTy = AType->getElementType(); local
747 RewriteType |= (C->getType() != ElemTy);
757 fillC = llvm::Constant::getNullValue(ElemTy);
760 RewriteType |= (fillC->getType() != ElemTy);
H A DTargetInfo.cpp4336 llvm::Type* ElemTy; local
4341 ElemTy = llvm::Type::getInt32Ty(getVMContext());
4345 ElemTy = llvm::Type::getInt64Ty(getVMContext());
4351 llvm::StructType::get(llvm::ArrayType::get(ElemTy, SizeRegs), NULL);
5727 llvm::Type *ElemTy = StrTy->getElementType(i); local
5729 switch (ElemTy->getTypeID()) {
5731 addStruct(ElemOffset, cast<llvm::StructType>(ElemTy));
5734 addFloat(ElemOffset, ElemTy, 32);
5737 addFloat(ElemOffset, ElemTy, 64);
5740 addFloat(ElemOffset, ElemTy, 12
[all...]
H A DCodeGenModule.cpp2729 llvm::Type *ElemTy = AType->getElementType(); local
2733 if (ElemTy->getPrimitiveSizeInBits() == 16) {
2743 assert(ElemTy->getPrimitiveSizeInBits() == 32);
H A DCGExpr.cpp687 QualType ElemTy = E->getType()->getAs<ComplexType>()->getElementType(); local
688 llvm::APFloat FVal(getContext().getFloatTypeSemantics(ElemTy), 1);
/external/clang/lib/Sema/
H A DSemaInit.cpp76 const QualType ElemTy = local
84 if (ElemTy->isCharType())
86 if (IsWideCharCompatible(ElemTy, Context))
95 if (Context.typesAreCompatible(Context.Char16Ty, ElemTy))
97 if (ElemTy->isCharType())
99 if (IsWideCharCompatible(ElemTy, Context))
103 if (Context.typesAreCompatible(Context.Char32Ty, ElemTy))
105 if (ElemTy->isCharType())
107 if (IsWideCharCompatible(ElemTy, Context))
111 if (Context.typesAreCompatible(Context.getWideCharType(), ElemTy))
[all...]
H A DSemaExprCXX.cpp932 QualType ElemTy = Ty; local
937 ElemTy = Context.getBaseElementType(Ty);
941 RequireCompleteType(TyBeginLoc, ElemTy,
H A DSemaExpr.cpp5322 QualType ElemTy = Ty->getAs<VectorType>()->getElementType(); local
5326 Literal = ImpCastExprToType(Literal.get(), ElemTy,
5327 PrepareScalarCast(Literal, ElemTy));
5344 QualType ElemTy = Ty->getAs<VectorType>()->getElementType(); local
5348 Literal = ImpCastExprToType(Literal.get(), ElemTy,
5349 PrepareScalarCast(Literal, ElemTy));
/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1754 Type *ElemTy = GV->getType()->getElementType(); local
1756 AllocaInst *Alloca = new AllocaInst(ElemTy, nullptr,
2492 Type *ElemTy = cast<PointerType>(GV->getType())->getElementType(); local
2495 DL->getTypeStoreSize(ElemTy)) {
/external/llvm/lib/Transforms/Vectorize/
H A DBBVectorize.cpp464 static inline VectorType *getVecTypeForPair(Type *ElemTy, Type *Elem2Ty) { argument
465 assert(ElemTy->getScalarType() == Elem2Ty->getScalarType() &&
467 Type *STy = ElemTy->getScalarType();
470 if (VectorType *VTy = dyn_cast<VectorType>(ElemTy)) {
/external/clang/lib/Rewrite/Frontend/
H A DRewriteModernObjC.cpp2192 QualType ElemTy = Context->getBaseElementType(T); local
2193 return needToScanForQualifiers(ElemTy);
3743 QualType ElemTy = Context->getBaseElementType(Type); local
3744 return RewriteObjCFieldDeclType(ElemTy, Result);
H A DRewriteObjC.cpp2081 QualType ElemTy = Context->getBaseElementType(T); local
2082 return needToScanForQualifiers(ElemTy);
/external/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp99 MVT ElemTy = VT.getVectorElementType(); local
100 if (ElemTy != MVT::i64 && ElemTy != MVT::f64)
104 if (ElemTy == MVT::i32) {
/external/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp7023 MVT ElemTy = N->getSimpleValueType(0).getScalarType(); local
7024 unsigned ElemBits = ElemTy.getSizeInBits();

Completed in 5356 milliseconds