Home
last modified time | relevance | path

Searched refs:AC (Results 1 – 25 of 208) sorted by relevance

123456789

/NextBSD/contrib/llvm/include/llvm/Analysis/
HDInstructionSimplify.h55 AssumptionCache *AC = nullptr,
64 AssumptionCache *AC = nullptr,
73 AssumptionCache *AC = nullptr,
82 AssumptionCache *AC = nullptr,
91 AssumptionCache *AC = nullptr,
99 AssumptionCache *AC = nullptr,
107 AssumptionCache *AC = nullptr,
115 AssumptionCache *AC = nullptr,
124 AssumptionCache *AC = nullptr,
132 AssumptionCache *AC = nullptr,
[all …]
HDValueTracking.h44 AssumptionCache *AC = nullptr,
53 AssumptionCache *AC = nullptr,
61 AssumptionCache *AC = nullptr,
72 AssumptionCache *AC = nullptr,
81 AssumptionCache *AC = nullptr,
95 unsigned Depth = 0, AssumptionCache *AC = nullptr,
108 unsigned Depth = 0, AssumptionCache *AC = nullptr,
283 AssumptionCache *AC,
288 AssumptionCache *AC,
HDPHITransAddr.h47 AssumptionCache *AC; variable
52 PHITransAddr(Value *addr, const DataLayout &DL, AssumptionCache *AC) in PHITransAddr() argument
53 : Addr(addr), DL(DL), TLI(nullptr), AC(AC) { in PHITransAddr()
HDCodeMetrics.h96 static void collectEphemeralValues(const Loop *L, AssumptionCache *AC,
101 static void collectEphemeralValues(const Function *L, AssumptionCache *AC,
/NextBSD/share/misc/
HDusb_hid_usages807 0x1AB AC Spell Check
836 0x201 AC New
837 0x202 AC Open
838 0x203 AC Close
839 0x204 AC Exit
840 0x205 AC Maximize
841 0x206 AC Minimize
842 0x207 AC Save
843 0x208 AC Print
844 0x209 AC Properties
[all …]
/NextBSD/usr.bin/tip/libacu/
HDv831.c68 if ((AC = open(acu, O_RDWR)) < 0) { in v831_dialer()
77 close(AC); in v831_dialer()
106 close(AC); in v831_dialer()
114 close(AC); in v831_dialer()
156 printf("[abort: AC=%d]\n", AC); in v831_abort()
163 close(AC); in v831_abort()
182 #define pc(x) (c = x, write(AC,&c,1))
209 tcgetattr(AC, &cntrl); in dialit()
214 tcsetattr(AC, TCSANOW, &cntrl); in dialit()
215 tcflush(AC, TCIOFLUSH); in dialit()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
HDCheckSecuritySyntaxOnly.cpp64 AnalysisDeclContext* AC; member in __anon4b37f7a60111::WalkAST
74 : BR(br), AC(ac), II_setid(), in WalkAST()
294 PathDiagnosticLocation::createBegin(FS, BR.getSourceManager(), AC); in checkLoopConditionForFloat()
295 BR.EmitBasicReport(AC->getDecl(), filter.checkName_FloatLoopCounter, in checkLoopConditionForFloat()
329 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_gets()
330 BR.EmitBasicReport(AC->getDecl(), filter.checkName_gets, in checkCall_gets()
369 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_getpw()
370 BR.EmitBasicReport(AC->getDecl(), filter.checkName_getpw, in checkCall_getpw()
410 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_mktemp()
411 BR.EmitBasicReport(AC->getDecl(), filter.checkName_mktemp, in checkCall_mktemp()
[all …]
HDIdenticalExprChecker.cpp40 AnalysisDeclContext *AC; member in __anon500b12880111::FindIdenticalExprVisitor
45 : BR(B), Checker(Checker), AC(A) {} in FindIdenticalExprVisitor()
72 BR.EmitBasicReport(AC->getDecl(), Checker, in reportIdenticalExpr()
92 if (isIdenticalStmt(AC->getASTContext(), RHS, B2->getRHS())) { in checkBitwiseOrLogicalOp()
100 if (isIdenticalStmt(AC->getASTContext(), RHS, LHS)) { in checkBitwiseOrLogicalOp()
123 if (isIdenticalStmt(AC->getASTContext(), Cond1, Cond2, false)) { in VisitIfStmt()
125 PathDiagnosticLocation ELoc(Cond2, BR.getSourceManager(), AC); in VisitIfStmt()
126 BR.EmitBasicReport(AC->getDecl(), Checker, "Identical conditions", in VisitIfStmt()
153 if (isIdenticalStmt(AC->getASTContext(), Stmt1, Stmt2, true)) { in VisitIfStmt()
155 PathDiagnosticLocation::createBegin(I, BR.getSourceManager(), AC); in VisitIfStmt()
[all …]
HDCheckSizeofPointer.cpp28 AnalysisDeclContext* AC; member in __anone0e0b9d60111::WalkAST
32 : BR(br), Checker(checker), AC(ac) {} in WalkAST()
66 PathDiagnosticLocation::createBegin(E, BR.getSourceManager(), AC); in VisitUnaryExprOrTypeTraitExpr()
67 BR.EmitBasicReport(AC->getDecl(), Checker, in VisitUnaryExprOrTypeTraitExpr()
HDObjCContainersASTChecker.cpp31 AnalysisDeclContext* AC; member in __anonc4f133980111::WalkAST
76 : BR(br), Checker(checker), AC(ac), ASTC(AC->getASTContext()), in WalkAST()
145 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in VisitCallExpr()
146 BR.EmitBasicReport(AC->getDecl(), Checker, OsName.str(), in VisitCallExpr()
HDVirtualCallChecker.cpp33 AnalysisDeclContext *AC; member in __anonf148e69f0111::WalkAST
64 : Checker(checker), BR(br), AC(ac), visitingCallExpr(nullptr) {} in WalkAST()
191 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in ReportVirtualCall()
197 BR.EmitBasicReport(AC->getDecl(), Checker, in ReportVirtualCall()
206 BR.EmitBasicReport(AC->getDecl(), Checker, in ReportVirtualCall()
HDDeadStoresChecker.cpp128 AnalysisDeclContext* AC; member in __anonde49362a0211::DeadStoreObs
142 : cfg(cfg), Ctx(ctx), BR(br), Checker(checker), AC(ac), Parents(parents), in DeadStoreObs()
155 V.TraverseStmt(AC->getBody()); in isLive()
204 BR.EmitBasicReport(AC->getDecl(), Checker, BugType, "Dead store", os.str(), in Report()
224 PathDiagnosticLocation::createBegin(Ex, BR.getSourceManager(), AC); in CheckVarDecl()
439 AnalysisDeclContext *AC = mgr.getAnalysisDeclContext(D); in checkASTCodeBody() local
443 DeadStoreObs A(cfg, BR.getContext(), BR, this, AC, pmap, FS.Escaped); in checkASTCodeBody()
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDSimplifyCFGPass.cpp130 AssumptionCache *AC, in iterativelySimplifyCFG() argument
139 if (SimplifyCFG(BBIt++, TTI, BonusInstThreshold, AC)) { in iterativelySimplifyCFG()
150 AssumptionCache *AC, int BonusInstThreshold) { in simplifyFunctionCFG() argument
153 EverChanged |= iterativelySimplifyCFG(F, TTI, AC, BonusInstThreshold); in simplifyFunctionCFG()
167 EverChanged = iterativelySimplifyCFG(F, TTI, AC, BonusInstThreshold); in simplifyFunctionCFG()
183 auto &AC = AM->getResult<AssumptionAnalysis>(F); in run() local
185 if (!simplifyFunctionCFG(F, TTI, &AC, BonusInstThreshold)) in run()
210 AssumptionCache *AC = in runOnFunction() local
214 return simplifyFunctionCFG(F, TTI, AC, BonusInstThreshold); in runOnFunction()
HDEarlyCSE.cpp270 AssumptionCache &AC; member in __anone204231a0311::EarlyCSE
313 AssumptionCache &AC) in EarlyCSE() argument
314 : F(F), TLI(TLI), TTI(TTI), DT(DT), AC(AC), CurrentGeneration(0) {} in EarlyCSE()
522 if (Value *V = SimplifyInstruction(Inst, DL, &TLI, &DT, &AC)) { in processNode()
715 auto &AC = AM->getResult<AssumptionAnalysis>(F); in run() local
717 EarlyCSE CSE(F, TLI, TTI, DT, AC); in run()
752 auto &AC = getAnalysis<AssumptionCacheTracker>().getAssumptionCache(F); in runOnFunction() local
754 EarlyCSE CSE(F, TLI, TTI, DT, AC); in runOnFunction()
/NextBSD/contrib/llvm/lib/Analysis/
HDInstructionSimplify.cpp52 AssumptionCache *AC; member
58 : DL(DL), TLI(tli), DT(dt), AC(ac), CxtI(cxti) {} in Query()
587 const DominatorTree *DT, AssumptionCache *AC, in SimplifyAddInst() argument
589 return ::SimplifyAddInst(Op0, Op1, isNSW, isNUW, Query(DL, TLI, DT, AC, CxtI), in SimplifyAddInst()
780 const DominatorTree *DT, AssumptionCache *AC, in SimplifySubInst() argument
782 return ::SimplifySubInst(Op0, Op1, isNSW, isNUW, Query(DL, TLI, DT, AC, CxtI), in SimplifySubInst()
960 const DominatorTree *DT, AssumptionCache *AC, in SimplifyFAddInst() argument
962 return ::SimplifyFAddInst(Op0, Op1, FMF, Query(DL, TLI, DT, AC, CxtI), in SimplifyFAddInst()
969 const DominatorTree *DT, AssumptionCache *AC, in SimplifyFSubInst() argument
971 return ::SimplifyFSubInst(Op0, Op1, FMF, Query(DL, TLI, DT, AC, CxtI), in SimplifyFSubInst()
[all …]
HDCodeMetrics.cpp71 const Loop *L, AssumptionCache *AC, in collectEphemeralValues() argument
75 for (auto &AssumeVH : AC->assumptions()) { in collectEphemeralValues()
93 const Function *F, AssumptionCache *AC, in collectEphemeralValues() argument
97 for (auto &AssumeVH : AC->assumptions()) { in collectEphemeralValues()
HDLazyValueInfo.cpp352 AssumptionCache *AC; ///< A pointer to the cache of @llvm.assume calls. member in __anon50e03b1b0311::LazyValueInfoCache
421 LazyValueInfoCache(AssumptionCache *AC, const DataLayout &DL, in LazyValueInfoCache() argument
423 : AC(AC), DL(DL), DT(DT) {} in LazyValueInfoCache()
731 for (auto &AssumeVH : AC->assumptions()) { in mergeAssumeBlockValueConstantRange()
1103 static LazyValueInfoCache &getCache(void *&PImpl, AssumptionCache *AC, in getCache() argument
1108 PImpl = new LazyValueInfoCache(AC, *DL, DT); in getCache()
1114 AC = &getAnalysis<AssumptionCacheTracker>().getAssumptionCache(F); in runOnFunction()
1124 getCache(PImpl, AC, &DL, DT).clear(); in runOnFunction()
1139 delete &getCache(PImpl, AC, nullptr); in releaseMemory()
1148 getCache(PImpl, AC, &DL, DT).getValueInBlock(V, BB, CxtI); in getConstant()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDAnalysisBasedWarnings.cpp105 static void CheckUnreachable(Sema &S, AnalysisDeclContext &AC) { in CheckUnreachable() argument
113 if (!S.getSourceManager().isInMainFile(AC.getDecl()->getLocStart())) in CheckUnreachable()
117 reachable_code::FindUnreachableCode(AC, S.getPreprocessor(), UC); in CheckUnreachable()
235 AnalysisDeclContext &AC) { in checkRecursiveFunction() argument
244 CFG *cfg = AC.getCFG(); in checkRecursiveFunction()
284 static ControlFlowKind CheckFallThrough(AnalysisDeclContext &AC) { in CheckFallThrough() argument
285 CFG *cfg = AC.getCFG(); in CheckFallThrough()
294 bool AddEHEdges = AC.getAddEHEdges(); in CheckFallThrough()
504 AnalysisDeclContext &AC) { in CheckFallThroughForBody() argument
536 switch (CheckFallThrough(AC)) { in CheckFallThroughForBody()
[all …]
/NextBSD/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineInternal.h143 AssumptionCache *AC; variable
146 InstCombineIRInserter(InstCombineWorklist &WL, AssumptionCache *AC) in InstCombineIRInserter() argument
147 : Worklist(WL), AC(AC) {} in InstCombineIRInserter()
156 AC->registerAssumption(cast<CallInst>(I)); in InsertHelper()
185 AssumptionCache *AC; variable
199 AssumptionCache *AC, TargetLibraryInfo *TLI, in InstCombiner() argument
202 AA(AA), AC(AC), TLI(TLI), DT(DT), DL(DL), LI(LI), MadeIRChange(false) {} in InstCombiner()
209 AssumptionCache *getAssumptionCache() const { return AC; } in getAssumptionCache()
466 return llvm::computeKnownBits(V, KnownZero, KnownOne, DL, Depth, AC, CxtI, in computeKnownBits()
472 return llvm::MaskedValueIsZero(V, Mask, DL, Depth, AC, CxtI, DT);
[all …]
/NextBSD/contrib/llvm/lib/Transforms/Utils/
HDLoopSimplify.cpp211 AssumptionCache *AC) { in findPHIToPartitionLoops() argument
216 if (Value *V = SimplifyInstruction(PN, DL, nullptr, DT, AC)) { in findPHIToPartitionLoops()
256 AssumptionCache *AC) { in separateNestedLoop() argument
265 PHINode *PN = findPHIToPartitionLoops(L, AA, DT, AC); in separateNestedLoop()
481 AssumptionCache *AC) { in simplifyOneLoop() argument
588 separateNestedLoop(L, Preheader, AA, DT, LI, SE, PP, AC)) { in simplifyOneLoop()
620 if (Value *V = SimplifyInstruction(PN, DL, nullptr, DT, AC)) { in simplifyOneLoop()
721 AssumptionCache *AC) { in simplifyLoop() argument
738 SE, PP, AC); in simplifyLoop()
756 AssumptionCache *AC; member
[all …]
/NextBSD/contrib/elftoolchain/elfcopy/
HDarchive.c327 #define AC(CALL) do { \ macro
334 #define ACV(CALL) AC(CALL)
387 AC(archive_read_open_fd(a, ifd, 10240)); in ac_read_objs()
433 AC(archive_read_close(a)); in ac_read_objs()
448 AC(archive_write_open_fd(a, ofd)); in ac_write_objs()
456 AC(archive_write_header(a, entry)); in ac_write_objs()
468 AC(archive_write_header(a, entry)); in ac_write_objs()
483 AC(archive_write_header(a, entry)); in ac_write_objs()
488 AC(archive_write_close(a)); in ac_write_objs()
/NextBSD/contrib/llvm/include/llvm/Transforms/Utils/
HDLocal.h140 unsigned BonusInstThreshold, AssumptionCache *AC = nullptr);
176 AssumptionCache *AC = nullptr,
182 AssumptionCache *AC = nullptr,
184 return getOrEnforceKnownAlignment(V, 0, DL, CxtI, AC, DT);
/NextBSD/contrib/llvm/tools/clang/lib/Analysis/
HDConsumed.cpp463 AnalysisDeclContext &AC; member in clang::consumed::ConsumedStmtVisitor
507 ConsumedStmtVisitor(AnalysisDeclContext &AC, ConsumedAnalyzer &Analyzer, in ConsumedStmtVisitor() argument
509 : AC(AC), Analyzer(Analyzer), StateMap(StateMap) {} in ConsumedStmtVisitor()
777 ASTContext &CurrContext = AC.getASTContext(); in VisitCXXConstructExpr()
1235 void ConsumedAnalyzer::determineExpectedReturnState(AnalysisDeclContext &AC, in determineExpectedReturnState() argument
1239 ASTContext &CurrContext = AC.getASTContext(); in determineExpectedReturnState()
1351 void ConsumedAnalyzer::run(AnalysisDeclContext &AC) { in run() argument
1352 const FunctionDecl *D = dyn_cast_or_null<FunctionDecl>(AC.getDecl()); in run()
1356 CFG *CFGraph = AC.getCFG(); in run()
1360 determineExpectedReturnState(AC, D); in run()
[all …]
/NextBSD/usr.bin/ar/
HDacpyacc.y253 AC(archive_read_open_filename(a, fname, DEF_BLKSZ)); in arscp_open()
256 AC(archive_read_close(a)); in arscp_open()
257 AC(archive_read_free(a)); in arscp_open()
311 AC(archive_write_open_fd(a, ofd)); in arscp_create()
312 AC(archive_write_close(a)); in arscp_create()
313 AC(archive_write_free(a)); in arscp_create()
HDread.c91 AC(archive_read_open_filename(a, bsdar->filename, DEF_BLKSZ)); in read_archive()
210 AC(archive_read_close(a)); in read_archive()
211 AC(archive_read_free(a)); in read_archive()

123456789