Home
last modified time | relevance | path

Searched refs:BTE (Results 1 – 25 of 39) sorted by relevance

12

/external/llvm-project/clang/include/clang/Analysis/
DConstructionContext.h99 ConstructionContextItem(const CXXBindTemporaryExpr *BTE,
101 : Data(BTE), in Data() argument
279 const CXXBindTemporaryExpr *BTE,
288 BumpVectorContext &C, const CXXBindTemporaryExpr *BTE,
350 const CXXBindTemporaryExpr *BTE; variable
355 const DeclStmt *DS, const CXXBindTemporaryExpr *BTE) in CXX17ElidedCopyVariableConstructionContext() argument
356 : VariableConstructionContext(CXX17ElidedCopyVariableKind, DS), BTE(BTE) { in CXX17ElidedCopyVariableConstructionContext()
357 assert(BTE); in CXX17ElidedCopyVariableConstructionContext()
361 const CXXBindTemporaryExpr *getCXXBindTemporaryExpr() const { return BTE; } in getCXXBindTemporaryExpr()
418 const CXXBindTemporaryExpr *BTE; variable
[all …]
/external/llvm-project/clang/lib/Analysis/
DConstructionContext.cpp47 const CXXBindTemporaryExpr *BTE, in createMaterializedTemporaryFromLayers() argument
54 if (!BTE && !(MTE->getType().getCanonicalType()->getAsCXXRecordDecl() in createMaterializedTemporaryFromLayers()
64 BTE = nullptr; in createMaterializedTemporaryFromLayers()
84 return create<SimpleTemporaryObjectConstructionContext>(C, BTE, MTE); in createMaterializedTemporaryFromLayers()
87 C, BTE, MTE, ElidedCE, ElidedCC); in createMaterializedTemporaryFromLayers()
92 return create<SimpleTemporaryObjectConstructionContext>(C, BTE, MTE); in createMaterializedTemporaryFromLayers()
96 BumpVectorContext &C, const CXXBindTemporaryExpr *BTE, in createBoundTemporaryFromLayers() argument
103 return create<SimpleTemporaryObjectConstructionContext>(C, BTE, in createBoundTemporaryFromLayers()
113 return create<CXX17ElidedCopyVariableConstructionContext>(C, DS, BTE); in createBoundTemporaryFromLayers()
124 BTE); in createBoundTemporaryFromLayers()
[all …]
DConsumed.cpp1350 const CXXBindTemporaryExpr *BTE = DTor.getBindTemporaryExpr(); in run() local
1352 Visitor.checkCallability(PropagationInfo(BTE), in run()
1354 BTE->getExprLoc()); in run()
1355 CurrStates->remove(BTE); in run()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DUndelegatedConstructorCheck.cpp28 else if (const auto *BTE = dyn_cast<CXXBindTemporaryExpr>(E)) in AST_MATCHER_P() local
29 E = BTE->getSubExpr(); in AST_MATCHER_P()
DUnusedRaiiCheck.cpp68 const auto *BTE = Result.Nodes.getNodeAs<CXXBindTemporaryExpr>("temp"); in check() local
69 if (const auto *TOE = dyn_cast<CXXTemporaryObjectExpr>(BTE->getSubExpr())) in check()
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/
DStrCatAppendCheck.cpp28 if (const auto *BTE = dyn_cast<CXXBindTemporaryExpr>(E)) in AST_MATCHER_P() local
29 E = BTE->getSubExpr(); in AST_MATCHER_P()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64MachineFunctionInfo.cpp91 if (const auto *BTE = mdconst::extract_or_null<ConstantInt>( in AArch64FunctionInfo() local
93 BranchTargetEnforcement = BTE->getZExtValue(); in AArch64FunctionInfo()
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZLongBranch.cpp345 for (unsigned BTI = 0, BTE = Block.NumTerminators; BTI != BTE; ++BTI) { in setWorstCaseAddresses() local
446 for (unsigned BTI = 0, BTE = Block.NumTerminators; BTI != BTE; ++BTI) { in relaxBranches() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZLongBranch.cpp345 for (unsigned BTI = 0, BTE = Block.NumTerminators; BTI != BTE; ++BTI) { in setWorstCaseAddresses() local
446 for (unsigned BTI = 0, BTE = Block.NumTerminators; BTI != BTE; ++BTI) { in relaxBranches() local
/external/llvm/lib/Target/SystemZ/
DSystemZLongBranch.cpp341 for (unsigned BTI = 0, BTE = Block.NumTerminators; BTI != BTE; ++BTI) { in setWorstCaseAddresses() local
442 for (unsigned BTI = 0, BTE = Block.NumTerminators; BTI != BTE; ++BTI) { in relaxBranches() local
/external/llvm-project/clang/include/clang/AST/
DIgnoreExpr.h118 if (auto *BTE = dyn_cast<CXXBindTemporaryExpr>(E)) in IgnoreImplicitSingleStep() local
119 return BTE->getSubExpr(); in IgnoreImplicitSingleStep()
DJSONNodeDumper.h288 void VisitCXXBindTemporaryExpr(const CXXBindTemporaryExpr *BTE);
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExprEngine.h337 void processCleanupTemporaryBranch(const CXXBindTemporaryExpr *BTE,
548 void VisitCXXBindTemporaryExpr(const CXXBindTemporaryExpr *BTE,
912 const CXXBindTemporaryExpr *BTE,
918 const CXXBindTemporaryExpr *BTE,
925 const CXXBindTemporaryExpr *BTE,
DCoreEngine.h117 void HandleCleanupTemporaryBranch(const CXXBindTemporaryExpr *BTE,
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp423 if (const auto *BTE = TCC->getCXXBindTemporaryExpr()) in updateObjectsUnderConstruction() local
424 State = elideDestructor(State, BTE, LCtx); in updateObjectsUnderConstruction()
439 if (const auto *BTE = TCC->getCXXBindTemporaryExpr()) in updateObjectsUnderConstruction() local
440 State = addObjectUnderConstruction(State, BTE, LCtx, V); in updateObjectsUnderConstruction()
449 if (const auto *BTE = ACC->getCXXBindTemporaryExpr()) in updateObjectsUnderConstruction() local
450 State = addObjectUnderConstruction(State, BTE, LCtx, V); in updateObjectsUnderConstruction()
DExprEngine.cpp491 const CXXBindTemporaryExpr *BTE, in elideDestructor() argument
493 ConstructedObjectKey Key({BTE, /*IsElided=*/true}, LC); in elideDestructor()
501 const CXXBindTemporaryExpr *BTE, in cleanupElidedDestructor() argument
503 ConstructedObjectKey Key({BTE, /*IsElided=*/true}, LC); in cleanupElidedDestructor()
509 const CXXBindTemporaryExpr *BTE, in isDestructorElided() argument
511 ConstructedObjectKey Key({BTE, /*IsElided=*/true}, LC); in isDestructorElided()
1072 const CXXBindTemporaryExpr *BTE = D.getBindTemporaryExpr(); in ProcessTemporaryDtor() local
1090 if (isDestructorElided(State, BTE, LC)) { in ProcessTemporaryDtor()
1091 State = cleanupElidedDestructor(State, BTE, LC); in ProcessTemporaryDtor()
1130 void ExprEngine::processCleanupTemporaryBranch(const CXXBindTemporaryExpr *BTE, in processCleanupTemporaryBranch() argument
[all …]
DCoreEngine.cpp434 void CoreEngine::HandleCleanupTemporaryBranch(const CXXBindTemporaryExpr *BTE, in HandleCleanupTemporaryBranch() argument
440 ExprEng.processCleanupTemporaryBranch(BTE, Ctx, Pred, Dst, *(B->succ_begin()), in HandleCleanupTemporaryBranch()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DAvoidBindCheck.cpp200 if (const auto *BTE = dyn_cast<CXXBindTemporaryExpr>(E)) { in tryCaptureAsLocalVariable() local
201 if (const auto *CE = dyn_cast<CXXConstructExpr>(BTE->getSubExpr())) in tryCaptureAsLocalVariable()
222 if (const auto *BTE = dyn_cast<CXXBindTemporaryExpr>(E)) { in tryCaptureAsMemberVariable() local
223 if (const auto *CE = dyn_cast<CXXConstructExpr>(BTE->getSubExpr())) in tryCaptureAsMemberVariable()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSubEngine.h78 virtual void processCleanupTemporaryBranch(const CXXBindTemporaryExpr *BTE,
DExprEngine.h233 void processCleanupTemporaryBranch(const CXXBindTemporaryExpr *BTE,
436 void VisitCXXBindTemporaryExpr(const CXXBindTemporaryExpr *BTE,
/external/llvm-project/clang/lib/Sema/
DSemaExceptionSpec.cpp1228 auto *BTE = cast<CXXBindTemporaryExpr>(S); in canThrow() local
1231 canCalleeThrow(*this, BTE, BTE->getTemporary()->getDestructor()); in canThrow()
1234 return mergeCanThrow(CT, canSubStmtsThrow(*this, BTE)); in canThrow()
/external/clang/lib/StaticAnalyzer/Core/
DCoreEngine.cpp487 void CoreEngine::HandleCleanupTemporaryBranch(const CXXBindTemporaryExpr *BTE, in HandleCleanupTemporaryBranch() argument
493 SubEng.processCleanupTemporaryBranch(BTE, Ctx, Pred, Dst, *(B->succ_begin()), in HandleCleanupTemporaryBranch()
DExprEngine.cpp701 void ExprEngine::processCleanupTemporaryBranch(const CXXBindTemporaryExpr *BTE, in processCleanupTemporaryBranch() argument
709 std::make_pair(BTE, Pred->getStackFrame()))) { in processCleanupTemporaryBranch()
718 void ExprEngine::VisitCXXBindTemporaryExpr(const CXXBindTemporaryExpr *BTE, in VisitCXXBindTemporaryExpr() argument
732 std::make_pair(BTE, Node->getStackFrame()))) { in VisitCXXBindTemporaryExpr()
738 std::make_pair(BTE, Node->getStackFrame())); in VisitCXXBindTemporaryExpr()
740 StmtBldr.generateNode(BTE, Node, State); in VisitCXXBindTemporaryExpr()
/external/clang/lib/Analysis/
DConsumed.cpp1392 const CXXBindTemporaryExpr *BTE = DTor.getBindTemporaryExpr(); in run() local
1394 Visitor.checkCallability(PropagationInfo(BTE), in run()
1396 BTE->getExprLoc()); in run()
1397 CurrStates->remove(BTE); in run()
/external/llvm-project/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp1219 if (const auto *BTE = mdconst::extract_or_null<ConstantInt>( in getJumpTableEntrySize() local
1221 if (BTE->getZExtValue()) in getJumpTableEntrySize()
1244 if (const auto *BTE = mdconst::extract_or_null<ConstantInt>( in createJumpTableEntry() local
1246 if (BTE->getZExtValue()) in createJumpTableEntry()

12