/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | LoopInfo.h | 93 assert(!isInvalid() && "Loop not in a valid state!"); in getLoopDepth() 105 assert(!isInvalid() && "Loop not in a valid state!"); in setParentLoop() 111 assert(!isInvalid() && "Loop not in a valid state!"); in contains() 121 assert(!isInvalid() && "Loop not in a valid state!"); in contains() 132 assert(!isInvalid() && "Loop not in a valid state!"); in getSubLoops() 136 assert(!isInvalid() && "Loop not in a valid state!"); in getSubLoopsVector() 150 assert(!isInvalid() && "Loop not in a valid state!"); in getBlocks() 157 assert(!isInvalid() && "Loop not in a valid state!"); in blocks() 164 assert(!isInvalid() && "Loop not in a valid state!"); in getNumBlocks() 171 assert(!isInvalid() && "Loop not in a valid state!"); in getBlocksVector() [all …]
|
D | LoopInfoImpl.h | 37 assert(!isInvalid() && "Loop not in a valid state!"); in getExitingBlocks() 51 assert(!isInvalid() && "Loop not in a valid state!"); in getExitingBlock() 65 assert(!isInvalid() && "Loop not in a valid state!"); in getExitBlocks() 77 assert(!isInvalid() && "Loop not in a valid state!"); in getExitBlock() 157 assert(!isInvalid() && "Loop not in a valid state!"); in getExitEdges() 175 assert(!isInvalid() && "Loop not in a valid state!"); in getLoopPreheader() 203 assert(!isInvalid() && "Loop not in a valid state!"); in getLoopPredecessor() 226 assert(!isInvalid() && "Loop not in a valid state!"); in getLoopLatch() 253 assert(!isInvalid() && "Loop not in a valid state!"); in addBasicBlockToLoop() 283 assert(!isInvalid() && "Loop not in a valid state!"); in replaceChildLoopWith() [all …]
|
/external/clang/lib/Sema/ |
D | SemaCoroutine.cpp | 186 if (Result.isInvalid()) in buildMemberCall() 206 if (Result.isInvalid()) in buildCoawaitCalls() 218 if (R.isInvalid()) return ExprError(); in ActOnCoawaitExpr() 223 if (Awaitable.isInvalid()) in ActOnCoawaitExpr() 234 if (R.isInvalid()) return ExprError(); in BuildCoawaitExpr() 269 if (PromiseRef.isInvalid()) in buildPromiseCall() 284 if (Awaitable.isInvalid()) in ActOnCoyieldExpr() 289 if (Awaitable.isInvalid()) in ActOnCoyieldExpr() 301 if (R.isInvalid()) return ExprError(); in BuildCoyieldExpr() 338 if (R.isInvalid()) return StmtError(); in BuildCoreturnStmt() [all …]
|
D | TreeTransform.h | 1848 if (ForEachStmt.isInvalid()) in RebuildObjCForCollectionStmt() 2061 if (Result.isInvalid()) in RebuildUnaryExprOrTypeTrait() 2131 if (BaseResult.isInvalid()) in RebuildMemberExpr() 2237 if (Result.isInvalid() || ResultTy->isDependentType()) in RebuildInitList() 2259 if (Result.isInvalid()) in RebuildDesignatedInitExpr() 3043 if (Result.isInvalid()) in RebuildPackExpansion() 3163 if (E.isInvalid()) in TransformStmt() 3275 if (Parens.isInvalid()) { in TransformInitializer() 3327 if (OutPattern.isInvalid()) in TransformExprs() 3333 if (Out.isInvalid()) in TransformExprs() [all …]
|
D | SemaStmt.cpp | 45 if (FE.isInvalid()) in ActOnExprStmt() 50 if (FE.isInvalid()) in ActOnExprStmt() 399 if (LHS.isInvalid()) in ActOnCaseStmt() 422 if (LHS.isInvalid()) in ActOnCaseStmt() 428 if (RHS.isInvalid()) in ActOnCaseStmt() 511 if (Cond.isInvalid()) in ActOnIfStmt() 536 if (Cond.isInvalid()) in BuildIfStmt() 659 if (CondResult.isInvalid()) in CheckSwitchCondition() 668 if (Cond.isInvalid()) in ActOnStartOfSwitchStmt() 845 if (ConvLo.isInvalid()) { in ActOnFinishSwitchStmt() [all …]
|
D | SemaExpr.cpp | 491 if (MissingNilLoc.isInvalid()) in DiagnoseSentinelCalls() 513 if (result.isInvalid()) return ExprError(); in DefaultFunctionArrayConversion() 634 if (result.isInvalid()) return ExprError(); in DefaultLvalueConversion() 729 if (Res.isInvalid()) in DefaultFunctionArrayLvalueConversion() 732 if (Res.isInvalid()) in DefaultFunctionArrayLvalueConversion() 747 if (Res.isInvalid()) in CallExprUnaryConversions() 751 if (Res.isInvalid()) in CallExprUnaryConversions() 764 if (Res.isInvalid()) in UsualUnaryConversions() 815 if (Res.isInvalid()) in DefaultArgumentPromotion() 841 if (Temp.isInvalid()) in DefaultArgumentPromotion() [all …]
|
D | SemaExprCXX.cpp | 115 if (SS.isInvalid()) in getDestructorName() 405 if (result.isInvalid()) return ExprError(); in BuildCXXTypeId() 426 if (Result.isInvalid()) return ExprError(); in BuildCXXTypeId() 718 if (Res.isInvalid()) in BuildCXXThrow() 1068 if (ER.isInvalid()) return nullptr; in captureThis() 1229 if (!Result.isInvalid() && Result.get()->isInstantiationDependent() && in ActOnCXXTypeConstructExpr() 1252 bool ListInitialization = LParenLoc.isInvalid(); in BuildCXXTypeConstructExpr() 1302 if (Result.isInvalid() || !ListInitialization) in BuildCXXTypeConstructExpr() 1595 if (result.isInvalid()) return ExprError(); in BuildCXXNew() 1613 if (!ConvertedSize.isInvalid() && in BuildCXXNew() [all …]
|
D | SemaCast.cpp | 139 if (SrcExpr.isInvalid()) in checkNonOverloadPlaceholders() 257 if (Op.SrcExpr.isInvalid()) in BuildCXXNamedCast() 268 if (Op.SrcExpr.isInvalid()) in BuildCXXNamedCast() 280 if (Op.SrcExpr.isInvalid()) in BuildCXXNamedCast() 292 if (Op.SrcExpr.isInvalid()) in BuildCXXNamedCast() 579 if (SrcExpr.isInvalid()) // if conversion failed, don't report another error in CheckDynamicCast() 732 if (SrcExpr.isInvalid()) // if conversion failed, don't report another error in CheckConstCast() 847 if (SrcExpr.isInvalid()) // if conversion failed, don't report another error in CheckReinterpretCast() 856 if (SrcExpr.isInvalid()) // if conversion failed, don't report another error in CheckReinterpretCast() 884 if (SrcExpr.isInvalid()) in CheckStaticCast() [all …]
|
D | SemaCXXScopeSpec.cpp | 78 if (!SS.isSet() || SS.isInvalid()) in computeDeclContext() 170 if (!SS.isSet() || SS.isInvalid()) in isDependentScopeSpecifier() 221 if (loc.isInvalid()) loc = SS.getRange().getBegin(); in RequireCompleteDeclContext() 834 if (SS.isInvalid()) in ActOnCXXNestedNameSpecifier() 847 if (SS.isInvalid() || DS.getTypeSpecType() == DeclSpec::TST_error) in ActOnCXXNestedNameSpecifierDecltype() 879 if (SS.isInvalid()) in IsInvalidUnlessNestedName() 898 if (SS.isInvalid()) in ActOnCXXNestedNameSpecifier() 987 if (SS.isEmpty() || SS.isInvalid()) in SaveNestedNameSpecifierAnnotation() 1060 if (SS.isInvalid()) return true; in ActOnCXXEnterDeclaratorScope() 1086 if (SS.isInvalid()) in ActOnCXXExitDeclaratorScope() [all …]
|
D | SemaPseudoObject.cpp | 413 if (getExpr.isInvalid()) return ExprError(); in buildRValueOperation() 453 if (opLHS.isInvalid()) return ExprError(); in buildAssignmentOperation() 459 if (result.isInvalid()) return ExprError(); in buildAssignmentOperation() 474 if (result.isInvalid()) return ExprError(); in buildAssignmentOperation() 495 if (result.isInvalid()) return ExprError(); in buildIncDecOperation() 516 if (result.isInvalid()) return ExprError(); in buildIncDecOperation() 522 if (result.isInvalid()) return ExprError(); in buildIncDecOperation() 802 if (!msg.isInvalid() && captureSetValueAsResult) { in buildSet() 824 if (result.isInvalid()) return ExprError(); in buildRValueOperation() 891 if (result.isInvalid()) return ExprError(); in buildAssignmentOperation() [all …]
|
/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 149 if (!LHS.isInvalid()) in ParseExpressionWithLeadingExtension() 302 if (TernaryMiddle.isInvalid()) { in ParseRHSOfBinaryExpression() 372 if (RHS.isInvalid()) { in ParseRHSOfBinaryExpression() 395 if (!RHS.isInvalid() && RHSIsInitList) { in ParseRHSOfBinaryExpression() 409 if (RHS.isInvalid()) { in ParseRHSOfBinaryExpression() 422 if (!RHS.isInvalid() && RHSIsInitList) { in ParseRHSOfBinaryExpression() 435 if (!LHS.isInvalid()) { in ParseRHSOfBinaryExpression() 437 if (TernaryMiddle.isInvalid()) { in ParseRHSOfBinaryExpression() 460 if (LHS.isInvalid()) { in ParseRHSOfBinaryExpression() 942 if (Ty.isInvalid()) in ParseCastExpression() [all …]
|
D | ParseStmt.cpp | 47 } while (!Res.isInvalid() && !Res.get()); in ParseStatement() 116 assert((Attrs.empty() || Res.isInvalid() || Res.isUsable()) && in ParseStatementOrDeclaration() 119 if (Attrs.empty() || Res.isInvalid()) in ParseStatementOrDeclaration() 384 if (!TryConsumeToken(tok::semi) && !Res.isInvalid()) { in ParseStatementOrDeclarationAfterAttributes() 403 if (Expr.isInvalid()) { in ParseExprStatement() 447 if(TryBlock.isInvalid()) in ParseSEHTryBlock() 462 if(Handler.isInvalid()) in ParseSEHTryBlock() 506 if(FilterExpr.isInvalid()) in ParseSEHExceptBlock() 517 if(Block.isInvalid()) in ParseSEHExceptBlock() 540 if(Block.isInvalid()) { in ParseSEHFinallyBlock() [all …]
|
D | ParseDecl.cpp | 259 if (T.isInvalid()) in ParseAttributeWithTypeArg() 311 if (ArgExpr.isInvalid()) { in ParseAttributeArgsCommon() 1005 if (!Changes[Index].KeywordLoc.isInvalid()) { in ParseAvailabilityAttribute() 1316 if (MatchingCType.isInvalid()) { in ParseTypeTagForDatatypeAttribute() 1920 if (AsmLabel.isInvalid()) { in ParseAsmAttributesAfterDeclarator() 1987 if (ThisRes.isInvalid()) { in ParseDeclarationAfterDeclaratorAndAttributes() 2075 if (Init.isInvalid()) { in ParseDeclarationAfterDeclaratorAndAttributes() 2147 if (Init.isInvalid()) { in ParseDeclarationAfterDeclaratorAndAttributes() 2524 if (ArgExpr.isInvalid()) { in ParseAlignmentSpecifier() 2678 if (DS.getSourceRange().isInvalid()) { in ParseDeclarationSpecifiers() [all …]
|
D | ParseExprCXX.cpp | 1060 assert(MutableLoc.isInvalid()); in tryConsumeMutableOrConstexprToken() 1061 assert(ConstexprLoc.isInvalid()); in tryConsumeMutableOrConstexprToken() 1319 if (!Stmt.isInvalid() && !TrailingReturnType.isInvalid()) in ParseLambdaExpressionAfterIntroducer() 1385 if (!Result.isInvalid() && !DeclaratorInfo.isInvalidType()) in ParseCXXCasts() 1437 if (Ty.isInvalid() || RParenLoc.isInvalid()) in ParseCXXTypeid() 1446 if (Result.isInvalid()) in ParseCXXTypeid() 1451 if (RParenLoc.isInvalid()) in ParseCXXTypeid() 1485 if (Ty.isInvalid()) in ParseCXXUuidof() 1496 if (Result.isInvalid()) in ParseCXXUuidof() 1626 if (Expr.isInvalid()) return Expr; in ParseThrowExpression() [all …]
|
D | ParseObjc.cpp | 279 if (T.getCloseLocation().isInvalid()) in ParseObjCAtInterfaceDeclaration() 288 assert(LAngleLoc.isInvalid() && "Cannot have already parsed protocols"); in ParseObjCAtInterfaceDeclaration() 529 if (boundType.isInvalid()) in parseObjCTypeParamListOrProtocolRefs() 1294 if (!type.isInvalid()) in ParseObjCTypeName() 2460 if (Res.isInvalid()) { in ParseObjCThrowStmt() 2488 if (!operand.isInvalid()) in ParseObjCSynchronizedStmt() 2497 if (!operand.isInvalid()) in ParseObjCSynchronizedStmt() 2503 if (!operand.isInvalid()) in ParseObjCSynchronizedStmt() 2513 if (operand.isInvalid()) in ParseObjCSynchronizedStmt() 2516 if (body.isInvalid()) in ParseObjCSynchronizedStmt() [all …]
|
/external/clang/unittests/Tooling/ |
D | FixItTest.cpp | 87 EXPECT_TRUE(Hint.InsertFromRange.isInvalid()); in TEST() 93 EXPECT_TRUE(Hint0.InsertFromRange.isInvalid()); in TEST() 99 EXPECT_TRUE(Hint1.InsertFromRange.isInvalid()); in TEST() 122 EXPECT_TRUE(Hint.InsertFromRange.isInvalid()); in TEST() 131 EXPECT_TRUE(Hint0.InsertFromRange.isInvalid()); in TEST() 140 EXPECT_TRUE(Hint1.InsertFromRange.isInvalid()); in TEST() 152 EXPECT_TRUE(Hint.InsertFromRange.isInvalid()); in TEST() 170 EXPECT_TRUE(Hint0.InsertFromRange.isInvalid()); in TEST() 175 EXPECT_TRUE(Hint1.InsertFromRange.isInvalid()); in TEST() 200 EXPECT_TRUE(Hint.InsertFromRange.isInvalid()); in TEST() [all …]
|
/external/clang/tools/libclang/ |
D | CXSourceLocation.cpp | 139 if (SLoc.isInvalid()) { in clang_getLocation() 170 if (SLoc.isInvalid()) in clang_getLocationForOffset() 212 if (Loc.isInvalid()) in clang_Location_isInSystemHeader() 223 if (Loc.isInvalid()) in clang_Location_isFromMainFile() 243 if (!location.ptr_data[0] || Loc.isInvalid()) { in clang_getExpansionLocation() 285 if (!location.ptr_data[0] || Loc.isInvalid()) { in clang_getPresumedLocation() 293 if (PreLoc.isInvalid()) { in clang_getPresumedLocation() 325 if (!location.ptr_data[0] || Loc.isInvalid()) in clang_getSpellingLocation() 336 if (FID.isInvalid()) in clang_getSpellingLocation() 362 if (!location.ptr_data[0] || Loc.isInvalid()) in clang_getFileLocation() [all …]
|
D | CXStoredDiagnostic.cpp | 45 if (Diag.getLocation().isInvalid()) in getLocation() 84 if (Diag.getLocation().isInvalid()) in getNumRanges() 98 if (Diag.getLocation().isInvalid()) in getNumFixIts()
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 518 if (FID.isInvalid()) in getPreviousFileID() 538 if (FID.isInvalid()) in getNextFileID() 1042 if (!PrevFID.isInvalid()) { in isAtStartOfImmediateMacroExpansion() 1077 if (!NextFID.isInvalid()) { in isAtEndOfImmediateMacroExpansion() 1164 static bool isInvalid(LocType Loc, bool *Invalid) { in isInvalid() function 1165 bool MyInvalid = Loc.isInvalid(); in isInvalid() 1173 if (isInvalid(Loc, Invalid)) return 0; in getSpellingColumnNumber() 1180 if (isInvalid(Loc, Invalid)) return 0; in getExpansionColumnNumber() 1188 if (isInvalid(PLoc, Invalid)) return 0; in getPresumedColumnNumber() 1291 if (FID.isInvalid()) { in getLineNumber() [all …]
|
/external/clang/lib/Edit/ |
D | Commit.cpp | 221 if (loc.isInvalid()) in canInsert() 239 if (locInfo.first.isInvalid()) in canInsert() 247 if (loc.isInvalid()) in canInsertAfterToken() 270 if (loc.isInvalid()) in canInsertAfterToken() 274 if (locInfo.first.isInvalid()) in canInsertAfterToken() 299 if (range.isInvalid()) in canRemoveRange()
|
/external/clang/lib/AST/ |
D | SelectorLocationsKind.cpp | 28 if (EndLoc.isInvalid()) in getStandardSelLoc() 36 if (ArgLoc.isInvalid()) in getStandardSelLoc() 58 if (Loc.isInvalid()) in getArgLoc()
|
/external/clang/include/clang/Basic/ |
D | SourceLocation.h | 47 bool isInvalid() const { return ID == 0; } in isInvalid() function 109 bool isInvalid() const { return ID == 0; } in isInvalid() function 208 bool isInvalid() const { return !isValid(); } in isInvalid() function 262 bool isInvalid() const { return !isValid(); } in isInvalid() function 370 bool isInvalid() const { return Filename == nullptr; } in isInvalid() function
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 88 assert(SM || Loc.isInvalid()); in emitDiagnostic() 171 PLoc.isInvalid() ? SourceLocation() : PLoc.getIncludeLoc(); in emitIncludeStack() 194 if (Loc.isInvalid()) { in emitIncludeStackRecursively() 200 if (PLoc.isInvalid()) in emitIncludeStackRecursively() 223 if (Loc.isInvalid()) { in emitImportStack() 361 if (I->isInvalid()) continue; in mapDiagnosticRanges() 398 if (Begin.isInvalid() || End.isInvalid()) continue; in mapDiagnosticRanges()
|
/external/clang/include/clang/Sema/ |
D | Ownership.h | 160 bool isInvalid() const { return Invalid; } 199 bool isInvalid() const { return PtrWithInvalid & 0x01; } 278 assert(!R.isInvalid() && "operation was asserted to never fail!"); 283 assert(!R.isInvalid() && "operation was asserted to never fail!");
|
/external/clang/include/clang/Edit/ |
D | FileOffset.h | 26 bool isInvalid() const { return FID.isInvalid(); } in isInvalid() function
|