/external/llvm-project/clang/lib/Sema/ |
D | SemaType.cpp | 2533 QualType Sema::BuildVectorType(QualType CurType, Expr *SizeExpr, in BuildVectorType() argument 2537 if ((!CurType->isDependentType() && in BuildVectorType() 2538 (!CurType->isBuiltinType() || CurType->isBooleanType() || in BuildVectorType() 2539 (!CurType->isIntegerType() && !CurType->isRealFloatingType()))) || in BuildVectorType() 2540 CurType->isArrayType()) { in BuildVectorType() 2541 Diag(AttrLoc, diag::err_attribute_invalid_vector_type) << CurType; in BuildVectorType() 2546 return Context.getDependentVectorType(CurType, SizeExpr, AttrLoc, in BuildVectorType() 2557 if (CurType->isDependentType()) in BuildVectorType() 2558 return Context.getDependentVectorType(CurType, SizeExpr, AttrLoc, in BuildVectorType() 2569 unsigned TypeSize = static_cast<unsigned>(Context.getTypeSize(CurType)); in BuildVectorType() [all …]
|
D | SemaOpenMP.cpp | 16898 QualType CurType = BaseE->getType().getNonReferenceType(); in VisitMemberExpr() local 16904 if (CurType->isUnionType()) { in VisitMemberExpr() 16970 QualType CurType = in VisitOMPArraySectionExpr() local 16976 if (CurType->isReferenceType()) in VisitOMPArraySectionExpr() 16977 CurType = CurType->getPointeeType(); in VisitOMPArraySectionExpr() 16979 bool IsPointer = CurType->isAnyPointerType(); in VisitOMPArraySectionExpr() 16981 if (!IsPointer && !CurType->isArrayType()) { in VisitOMPArraySectionExpr() 16988 checkArrayExpressionDoesNotReferToWholeSize(SemaRef, OASE, CurType); in VisitOMPArraySectionExpr() 16990 checkArrayExpressionDoesNotReferToUnitySize(SemaRef, OASE, CurType); in VisitOMPArraySectionExpr()
|
D | SemaTemplate.cpp | 2983 if (const Type *CurType = NNS->getAsType()) { in getRangeOfTypeInNestedNameSpecifier() local 2984 if (Context.hasSameUnqualifiedType(T, QualType(CurType, 0))) in getRangeOfTypeInNestedNameSpecifier()
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 6303 static void HandleVectorSizeAttr(QualType& CurType, const AttributeList &Attr, in HandleVectorSizeAttr() argument 6324 if (!CurType->isBuiltinType() || CurType->isBooleanType() || in HandleVectorSizeAttr() 6325 (!CurType->isIntegerType() && !CurType->isRealFloatingType())) { in HandleVectorSizeAttr() 6326 S.Diag(Attr.getLoc(), diag::err_attribute_invalid_vector_type) << CurType; in HandleVectorSizeAttr() 6330 unsigned typeSize = static_cast<unsigned>(S.Context.getTypeSize(CurType)); in HandleVectorSizeAttr() 6356 CurType = S.Context.getVectorType(CurType, vectorSize/typeSize, in HandleVectorSizeAttr() 6362 static void HandleExtVectorTypeAttr(QualType &CurType, in HandleExtVectorTypeAttr() argument 6392 QualType T = S.BuildExtVectorType(CurType, sizeExpr, Attr.getLoc()); in HandleExtVectorTypeAttr() 6394 CurType = T; in HandleExtVectorTypeAttr() 6452 static void HandleNeonVectorTypeAttr(QualType& CurType, in HandleNeonVectorTypeAttr() argument [all …]
|
D | SemaOpenMP.cpp | 10538 QualType CurType = BaseE->getType().getNonReferenceType(); in CheckMapClauseExpressionBase() local 10544 if (auto *RT = CurType->getAs<RecordType>()) in CheckMapClauseExpressionBase() 10592 auto CurType = in CheckMapClauseExpressionBase() local 10598 if (CurType->isReferenceType()) in CheckMapClauseExpressionBase() 10599 CurType = CurType->getPointeeType(); in CheckMapClauseExpressionBase() 10601 bool IsPointer = CurType->isAnyPointerType(); in CheckMapClauseExpressionBase() 10603 if (!IsPointer && !CurType->isArrayType()) { in CheckMapClauseExpressionBase() 10610 CheckArrayExpressionDoesNotReferToWholeSize(SemaRef, CurE, CurType); in CheckMapClauseExpressionBase() 10612 CheckArrayExpressionDoesNotReferToUnitySize(SemaRef, CurE, CurType); in CheckMapClauseExpressionBase()
|
D | SemaTemplate.cpp | 1614 if (const Type *CurType = NNS->getAsType()) { in getRangeOfTypeInNestedNameSpecifier() local 1615 if (Context.hasSameUnqualifiedType(T, QualType(CurType, 0))) in getRangeOfTypeInNestedNameSpecifier()
|
/external/llvm-project/llvm/tools/llvm-c-test/ |
D | echo.cpp | 1053 LLVMTypeRef CurType = TypeCloner(M).Clone(Cur); in declare_symbols() local 1055 LLVMAddAlias(M, CurType, LLVMGetUndef(CurType), Name); in declare_symbols() 1087 LLVMTypeRef CurType = TypeCloner(M).Clone(LLVMGlobalGetValueType(Cur)); in declare_symbols() local 1090 CurType, /*addressSpace*/ 0, LLVMGetUndef(CurType)); in declare_symbols()
|
/external/llvm-project/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 436 AsmTypeInfo CurType; member in __anona5c84dc30111::X86AsmParser::IntelExprStateMachine 464 StringRef getType() const { return CurType.Name; } in getType() 465 unsigned getSize() const { return CurType.Size; } in getSize() 466 unsigned getElementSize() const { return CurType.ElementSize; } in getElementSize() 467 unsigned getLength() const { return CurType.Length; } in getLength() 935 CurType.Length = 1; in onLBrac() 936 CurType.Size = CurType.ElementSize; in onLBrac() 1063 void setTypeInfo(AsmTypeInfo Type) { CurType = Type; } in setTypeInfo()
|