/external/llvm/include/llvm/ADT/ |
H A D | EquivalenceClasses.h | 56 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 D | APValue.cpp | 360 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 D | RecordLayoutBuilder.cpp | 399 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 D | ExprConstant.cpp | 7551 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 D | Type.cpp | 596 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 D | SITypeRewriter.cpp | 84 Type *ElemTy = PtrTy->getPointerElementType(); local 86 if (ElemTy == v16i8) {
|
/external/llvm/include/llvm/IR/ |
H A D | DerivedTypes.h | 273 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 D | ExecutionEngine.cpp | 596 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 D | Scalarizer.cpp | 105 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 D | CGExprConstant.cpp | 729 llvm::Type *ElemTy = AType->getElementType(); local 747 RewriteType |= (C->getType() != ElemTy); 757 fillC = llvm::Constant::getNullValue(ElemTy); 760 RewriteType |= (fillC->getType() != ElemTy);
|
H A D | TargetInfo.cpp | 4336 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 D | CodeGenModule.cpp | 2729 llvm::Type *ElemTy = AType->getElementType(); local 2733 if (ElemTy->getPrimitiveSizeInBits() == 16) { 2743 assert(ElemTy->getPrimitiveSizeInBits() == 32);
|
H A D | CGExpr.cpp | 687 QualType ElemTy = E->getType()->getAs<ComplexType>()->getElementType(); local 688 llvm::APFloat FVal(getContext().getFloatTypeSemantics(ElemTy), 1);
|
/external/clang/lib/Sema/ |
H A D | SemaInit.cpp | 76 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 D | SemaExprCXX.cpp | 932 QualType ElemTy = Ty; local 937 ElemTy = Context.getBaseElementType(Ty); 941 RequireCompleteType(TyBeginLoc, ElemTy,
|
H A D | SemaExpr.cpp | 5322 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 D | GlobalOpt.cpp | 1754 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 D | BBVectorize.cpp | 464 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 D | RewriteModernObjC.cpp | 2192 QualType ElemTy = Context->getBaseElementType(T); local 2193 return needToScanForQualifiers(ElemTy); 3743 QualType ElemTy = Context->getBaseElementType(Type); local 3744 return RewriteObjCFieldDeclType(ElemTy, Result);
|
H A D | RewriteObjC.cpp | 2081 QualType ElemTy = Context->getBaseElementType(T); local 2082 return needToScanForQualifiers(ElemTy);
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 99 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 D | AArch64ISelLowering.cpp | 7023 MVT ElemTy = N->getSimpleValueType(0).getScalarType(); local 7024 unsigned ElemBits = ElemTy.getSizeInBits();
|