| /src/external/apache2/llvm/dist/clang/utils/ABITest/ |
| TypeGen.py | 119 def __init__(self, index, isVector, elementType, size): 127 self.elementType = elementType 130 eltSize = self.elementType.sizeof() 138 return 'vector (%s)[%d]'%(self.elementType,self.size) 140 return '(%s)[%d]'%(self.elementType,self.size) 142 return '(%s)[]'%(self.elementType,) 145 elementName = printer.getTypeName(self.elementType) 158 def __init__(self, index, elementType): 160 self.elementType = elementTyp [all...] |
| ABITestGen.py | 242 for t in self.getTestValues(t.elementType): 245 values = list(self.getTestValues(t.elementType)) 303 self.printValueOfType(prefix, '(__real %s)'%name, t.elementType, output=output,indent=indent) 304 self.printValueOfType(prefix, '(__imag %s)'%name, t.elementType, output=output,indent=indent) 310 self.printValueOfType(prefix, '((%s*) &%s)[%d]'%(t.elementType,name,i), t.elementType, output=output,indent=indent) 312 self.printValueOfType(prefix, '%s[%d]'%(name,i), t.elementType, output=output,indent=indent) 333 self.checkTypeValues('(__real %s)'%nameLHS, '(__real %s)'%nameRHS, t.elementType, output=output,indent=indent) 334 self.checkTypeValues('(__imag %s)'%nameLHS, '(__imag %s)'%nameRHS, t.elementType, output=output,indent=indent) 340 self.checkTypeValues('((%s*) &%s)[%d]'%(t.elementType,nameLHS,i), [all...] |
| /src/external/apache2/llvm/dist/clang/utils/TableGen/ |
| ASTTableGen.cpp | 79 } else if (auto elementType = getArrayElementType()) { 81 elementType.emitCXXValueTypeName(forRead, out);
|
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CGCXXABI.cpp | 170 CharUnits CGCXXABI::getArrayCookieSizeImpl(QualType elementType) { 179 QualType ElementType) { 186 QualType elementType) { 192 return elementType.isDestructedType();
|
| ConstantInitBuilder.cpp | 250 llvm::Type *elementType = element->getType(); 253 layout.getABITypeAlignment(elementType))); 254 offset += CharUnits::fromQuantity(layout.getTypeStoreSize(elementType));
|
| CGExprAgg.cpp | 480 QualType elementType = 483 // DestPtr is an array*. Construct an elementType* by drilling 490 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); 498 elementType.isTriviallyCopyableType(CGF.getContext())) { 520 QualType::DestructionKind dtorKind = elementType.isDestructedType(); 532 CGF.pushIrregularPartialArrayCleanup(begin, endOfInit, elementType, 564 CGF.MakeAddrLValue(Address(element, elementAlign), elementType); 577 CGF.getTypes().isZeroInitializable(elementType))) { 611 CGF.MakeAddrLValue(Address(currentElement, elementAlign), elementType); 1779 // destPtr is an array*. Construct an elementType* by drilling down a level [all...] |
| CGDecl.cpp | 2212 /// \param elementType - the element type of the array 2219 QualType elementType, 2224 assert(!elementType->isArrayType()); 2250 pushRegularPartialArrayCleanup(begin, element, elementType, elementAlign, 2254 destroyer(*this, Address(element, elementAlign), elementType); 2305 QualType ElementType; 2310 QualType elementType, CharUnits elementAlign, 2313 ElementType(elementType), Destroyer(destroyer), 2318 ElementType, ElementAlign, Destroyer) [all...] |
| CodeGenFunction.cpp | 1991 QualType elementType = arrayType->getElementType(); 1992 arrayType = getContext().getAsArrayType(elementType); 1996 baseType = elementType; 2078 QualType elementType; 2080 elementType = type->getElementType(); 2092 } while ((type = getContext().getAsVariableArrayType(elementType))); 2094 return { numElements, elementType };
|
| CGExprCXX.cpp | 982 const CXXNewExpr *E, QualType ElementType, llvm::Type *ElementTy, 996 QualType::DestructionKind DtorKind = ElementType.isDestructedType(); 1000 CharUnits ElementSize = getContext().getTypeSizeInChars(ElementType); 1008 if (!CGM.getTypes().isZeroInitializable(ElementType)) 1020 getContext().getTypeSizeInChars(ElementType).getQuantity() * 1039 AggValueSlot::forAddr(CurPtr, ElementType.getQualifiers(), 1092 ElementType, ElementAlign, 1183 ImplicitValueInitExpr IVIE(ElementType); 1196 assert(getContext().hasSameUnqualifiedType(ElementType, Init->getType()) && 1261 ElementType, ElementAlign [all...] |
| ItaniumCXXABI.cpp | 159 Address Ptr, QualType ElementType, 312 CharUnits getArrayCookieSizeImpl(QualType elementType) override; 317 QualType ElementType) override; 479 CharUnits getArrayCookieSizeImpl(QualType elementType) override; 484 QualType ElementType) override; 1242 QualType ElementType, 1251 cast<CXXRecordDecl>(ElementType->castAs<RecordType>()->getDecl()); 1269 ElementType); 2177 CharUnits ItaniumCXXABI::getArrayCookieSizeImpl(QualType elementType) { 2181 CGM.getContext().getPreferredTypeAlignInChars(elementType)); [all...] |
| CGCXXABI.h | 233 Address Ptr, QualType ElementType, 526 /// \param ElementType - the base element allocated type, 532 QualType ElementType); 538 /// \param ElementType - the base element type of elements of the array 549 QualType ElementType, llvm::Value *&NumElements, 559 virtual CharUnits getArrayCookieSizeImpl(QualType elementType);
|
| CGExprScalar.cpp | 3444 QualType elementType = pointerType->getPointeeType(); 3446 = CGF.getContext().getAsVariableArrayType(elementType)) { 3469 if (elementType->isVoidType() || elementType->isFunctionType()) { 3777 QualType elementType = expr->getLHS()->getType()->getPointeeType(); 3783 = CGF.getContext().getAsVariableArrayType(elementType)) { 3785 elementType = VlaSize.Type; 3789 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(elementType); 3800 if (elementType->isVoidType() || elementType->isFunctionType() [all...] |
| CGClass.cpp | 1920 QualType elementType; 1922 emitArrayLength(arrayType, elementType, arrayBegin); 1966 llvm::Type *elementType = arrayBase.getElementType(); 1969 elementType, arrayBegin, numElements, "arrayctor.end"); 2028 elementType, cur, llvm::ConstantInt::get(SizeTy, 1), "arrayctor.next");
|
| CGObjC.cpp | 147 QualType ElementType = Context.getObjCIdType().withConst(); 149 = Context.getConstantArrayType(ElementType, APNumElements, nullptr, 171 ElementType, AlignmentSource::Decl); 182 ElementType, AlignmentSource::Decl); 189 ElementType, AlignmentSource::Decl); 1876 QualType elementType; 1885 elementType = D->getType(); 1892 elementType = cast<Expr>(S.getElement())->getType(); 1895 llvm::Type *convertedElementType = ConvertType(elementType); 1918 elementType->getAsObjCInterfacePointerType() [all...] |
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| Store.cpp | 155 // the pointee-cast type as the new ElementType and the index 206 // ElementRegion (with elementType == PointeeTy) directly on top of 442 SVal StoreManager::getLValueElement(QualType elementType, NonLoc Offset, 471 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, Offset, 491 elementType, Offset, cast<SubRegion>(ElemR->getSuperRegion()), Ctx)); 503 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, NewIdx, ArrayR,
|
| SimpleSValBuilder.cpp | 1060 QualType elementType; 1067 elementType = elemReg->getElementType(); 1078 elementType = resultTy->getPointeeType(); 1084 if (elementType->isVoidType()) 1085 elementType = getContext().CharTy; 1088 return loc::MemRegionVal(MemMgr.getElementRegion(elementType, *indexV,
|
| MemRegion.cpp | 330 QualType ElementType, SVal Idx, 333 ID.Add(ElementType); 339 ElementRegion::ProfileRegion(ID, ElementType, Index, superRegion); 1096 MemRegionManager::getElementRegion(QualType elementType, NonLoc Idx, 1099 QualType T = Ctx.getCanonicalType(elementType).getUnqualifiedType();
|
| /src/external/apache2/llvm/dist/clang/lib/AST/ |
| Type.cpp | 136 ElementType(et) { 142 QualType ElementType, 144 uint64_t ElementSize = Context.getTypeSizeInChars(ElementType).getQuantity(); 223 QualType ElementType, 229 ElementType->getDependence() | 232 Context(Context), ElementType(ElementType), SizeExpr(SizeExpr), Loc(Loc) { 238 QualType ElementType, const Expr *SizeExpr, 240 ID.AddPointer(ElementType.getAsOpaquePtr()); 246 const ASTContext &Context, QualType ElementType, QualType can [all...] |
| ASTContext.cpp | 3636 QualType ASTContext::getDependentSizedArrayType(QualType elementType, 3652 DependentSizedArrayType(*this, elementType, QualType(), 3662 SplitQualType canonElementType = getCanonicalType(elementType).split(); 3690 if (QualType(canonElementType.Ty, 0) == elementType && 3698 DependentSizedArrayType(*this, elementType, canon, numElements, 3704 QualType ASTContext::getIncompleteArrayType(QualType elementType, 3708 IncompleteArrayType::Profile(ID, elementType, ASM, elementTypeQuals); 3720 if (!elementType.isCanonical() || elementType.hasLocalQualifiers()) { 3721 SplitQualType canonSplit = getCanonicalType(elementType).split() [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| MemRegion.h | 1144 QualType ElementType; 1147 ElementRegion(QualType elementType, NonLoc Idx, const SubRegion *sReg) 1148 : TypedValueRegion(sReg, ElementRegionKind), ElementType(elementType), 1153 assert(!elementType.isNull() && !elementType->isVoidType() && 1157 static void ProfileRegion(llvm::FoldingSetNodeID& ID, QualType elementType, 1163 QualType getValueType() const override { return ElementType; } 1165 QualType getElementType() const { return ElementType; } 1404 const ElementRegion *getElementRegion(QualType elementType, NonLoc Idx [all...] |
| Store.h | 149 virtual SVal getLValueElement(QualType elementType, NonLoc offset, SVal Base);
|
| /src/external/mit/expat/dist/lib/ |
| xmlparse.c | 533 static int setElementTypePrefix(XML_Parser parser, ELEMENT_TYPE *elementType); 3463 ELEMENT_TYPE *elementType; 3476 elementType 3478 if (! elementType) { 3482 elementType = (ELEMENT_TYPE *)lookup(parser, &dtd->elementTypes, name, 3484 if (! elementType) 3486 if (parser->m_ns && ! setElementTypePrefix(parser, elementType)) 3489 nDefaultAtts = elementType->nDefaultAtts; 3597 if (attId == elementType->defaultAtts[j].id) { 3598 isCdata = elementType->defaultAtts[j].isCdata [all...] |
| /src/external/apache2/llvm/dist/llvm/bindings/go/llvm/ |
| ir.go | 675 func ArrayType(elementType Type, elementCount int) (t Type) { 676 t.C = C.LLVMArrayType(elementType.C, C.unsigned(elementCount)) 679 func PointerType(elementType Type, addressSpace int) (t Type) { 680 t.C = C.LLVMPointerType(elementType.C, C.unsigned(addressSpace)) 683 func VectorType(elementType Type, elementCount int) (t Type) { 684 t.C = C.LLVMVectorType(elementType.C, C.unsigned(elementCount)) 688 func (t Type) ElementType() (rt Type) { rt.C = C.LLVMGetElementType(t.C); return }
|
| /src/external/apache2/llvm/dist/clang/lib/Sema/ |
| SemaInit.cpp | 836 QualType ElementType; 842 ElementType = AType->getElementType(); 852 ElementType = VType->getElementType(); 857 ElementType = ILE->getType(); 883 Filler = new (SemaRef.Context) NoInitExpr(ElementType); 1537 QualType elementType = DeclType->castAs<ComplexType>()->getElementType(); 1543 CheckSubElementType(ElementEntity, IList, elementType, Index, 1689 QualType elementType = VT->getElementType(); 1744 CheckSubElementType(ElementEntity, IList, elementType, Index, 1769 unsigned typeSize = SemaRef.Context.getTypeSize(elementType); [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| mtype.h | 431 TypeBasic *elementType();
|