HomeSort by: relevance | last modified time | path
    Searched refs:VAT (Results 1 - 20 of 20) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/Sema/
ScopeInfo.cpp 226 bool CapturingScopeInfo::isVLATypeCaptured(const VariableArrayType *VAT) const {
228 if (Cap.isVLATypeCapture() && Cap.getCapturedVLAType() == VAT)
SemaStmt.cpp 2792 else if (const VariableArrayType *VAT =
2819 CreateParsedType(VAT->desugar(), Context.getTrivialTypeSourceInfo(
2820 VAT->desugar(), RangeLoc))
2829 CreateParsedType(VAT->desugar(),
2831 VAT->getElementType(), RangeLoc))
SemaType.cpp 6916 if (const auto *VAT = dyn_cast<VariableArrayType>(Old)) {
6917 QualType New = wrap(C, VAT->getElementType(), I);
6919 New, VAT->getSizeExpr(), VAT->getSizeModifier(),
6920 VAT->getIndexTypeCVRQualifiers(), VAT->getBracketsRange());
SemaInit.cpp 1894 if (const VariableArrayType *VAT = dyn_cast<VariableArrayType>(arrayType)) {
1899 SemaRef.Diag(VAT->getSizeExpr()->getBeginLoc(),
1901 << VAT->getSizeExpr()->getSourceRange();
SemaExpr.cpp 4397 const VariableArrayType *VAT = cast<VariableArrayType>(Ty);
4401 auto Size = VAT->getSizeExpr();
4402 if (Size && !CSI->isVLATypeCaptured(VAT) &&
4404 CSI->addVLATypeCapture(Size->getExprLoc(), VAT, Context.getSizeType());
4406 T = VAT->getElementType();
SemaDecl.cpp 8063 const VariableArrayType *VAT = Context.getAsVariableArrayType(T);
8066 SourceRange SizeRange = VAT->getSizeExpr()->getSourceRange();
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
LiveVariables.cpp 178 if (const VariableArrayType *VAT = dyn_cast<VariableArrayType>(VT))
179 if (VAT->getSizeExpr())
180 return VAT;
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
ScopeInfo.h 718 bool isVLATypeCaptured(const VariableArrayType *VAT) const;
  /src/external/apache2/llvm/dist/clang/lib/AST/
ASTContext.cpp 3591 const auto *vat = cast<VariableArrayType>(ty); local
3593 getVariableArrayDecayedType(vat->getElementType()),
3596 vat->getIndexTypeCVRQualifiers(),
3597 vat->getBracketsRange());
5754 if (const auto *VAT = dyn_cast<VariableArrayType>(AT)) {
5756 VAT->getSizeExpr(),
5757 VAT->getSizeModifier(),
5758 VAT->getIndexTypeCVRQualifiers(),
5759 VAT->getBracketsRange());
6135 const auto *VAT = cast<VariableArrayType>(ATy)
    [all...]
MicrosoftMangle.cpp 2875 const VariableArrayType *VAT =
2878 ElementTy = VAT->getElementType();
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGExprAgg.cpp 2105 if (auto *VAT = dyn_cast_or_null<VariableArrayType>(
2108 SizeVal = emitArrayLength(VAT, BaseEltTy, DestPtr);
CGStmt.cpp 2739 auto VAT = FD->getCapturedVLAType();
2740 VLASizeMap[VAT->getSizeExpr()] = ExprArg;
CodeGenFunction.cpp 1129 auto VAT = FD->getCapturedVLAType();
1130 VLASizeMap[VAT->getSizeExpr()] = ExprArg;
2184 const VariableArrayType *vat = cast<VariableArrayType>(ty); local
2188 if (const Expr *size = vat->getSizeExpr()) {
2216 type = vat->getElementType();
CGStmtOpenMP.cpp 307 while (const VariableArrayType *VAT = C.getAsVariableArrayType(Ty)) {
308 VlaSizePair VlaSize = getVLASize(VAT);
330 const VariableArrayType *VAT = CurField->getCapturedVLAType();
331 llvm::Value *Val = VLASizeMap[VAT->getSizeExpr()];
555 const VariableArrayType *VAT = FD->getCapturedVLAType();
556 VLASizes.try_emplace(Args[Cnt], VAT->getSizeExpr(), ExprArg);
CGDebugInfo.cpp 2919 if (const auto *VAT = dyn_cast<VariableArrayType>(Ty)) {
2921 Align = getTypeAlignIfRequired(CGM.getContext().getBaseElementType(VAT),
2954 else if (const auto *VAT = dyn_cast<VariableArrayType>(Ty)) {
2955 if (Expr *Size = VAT->getSizeExpr()) {
CGExpr.cpp 977 else if (const auto *VAT = dyn_cast<VariableArrayType>(AT))
978 return CGF.getVLASize(VAT).NumElts;
3995 if (auto *VAT = C.getAsVariableArrayType(ArrayTy)) {
3996 Length = VAT->getSizeExpr();
CodeGenFunction.h 2167 void EmitLambdaVLACapture(const VariableArrayType *VAT, LValue LV) {
2168 EmitStoreThroughLValue(RValue::get(VLASizeMap[VAT->getSizeExpr()]), LV);
CGOpenMPRuntime.cpp 8057 auto *VAT = Context.getAsVariableArrayType(Ty);
8060 assert((VAT || CAT || &Component == &*Components.begin()) &&
8069 else if (VAT)
8070 ElementType = VAT->getElementType().getTypePtr();
8073 "Only expect pointer (non CAT or VAT) when this is the "
8076 // (neither CAT nor VAT) and we'll attempt to get ElementType again
8095 else if (VAT)
8097 CGF.EmitScalarExpr(VAT->getSizeExpr()), CGF.Int64Ty,
CGExprScalar.cpp 2901 if (const VariableArrayType *VAT =
2912 auto VlaSize = CGF.getVLASize(VAT);
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
ASTContext.h 2557 QualType getBaseElementType(const ArrayType *VAT) const;

Completed in 190 milliseconds