Home
last modified time | relevance | path

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

12345678910>>...17

/netbsd-src/usr.bin/tip/aculib/
H A Dv831.c63 if ((AC = open(acu, O_RDWR)) < 0) { in v831_dialer()
72 (void)close(AC); in v831_dialer()
101 (void)close(AC); in v831_dialer()
109 (void)close(AC); in v831_dialer()
153 (void)printf("[abort: AC=%d]\n", AC); in v831_abort()
158 if (AC > 0) in v831_abort()
160 (void)close(AC); in v831_abort()
179 #define pc(x) (void)(c = x, write(AC,&c,1))
206 (void)tcgetattr(AC, &cntrl); in dialit()
211 (void)tcsetattr(AC, TCSANOW, &cntrl); in dialit()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp72 AnalysisDeclContext* AC; member in __anon2e339db80111::WalkAST
82 : BR(br), AC(ac), II_setid(), in WalkAST()
337 PathDiagnosticLocation::createBegin(FS, BR.getSourceManager(), AC); in checkLoopConditionForFloat()
338 BR.EmitBasicReport(AC->getDecl(), filter.checkName_FloatLoopCounter, in checkLoopConditionForFloat()
377 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_bcmp()
378 BR.EmitBasicReport(AC->getDecl(), filter.checkName_bcmp, in checkCall_bcmp()
419 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_bcopy()
420 BR.EmitBasicReport(AC->getDecl(), filter.checkName_bcopy, in checkCall_bcopy()
460 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_bzero()
461 BR.EmitBasicReport(AC->getDecl(), filter.checkName_bzero, in checkCall_bzero()
[all …]
H A DIdenticalExprChecker.cpp39 AnalysisDeclContext *AC; member in __anon2ac021da0111::FindIdenticalExprVisitor
44 : BR(B), Checker(Checker), AC(A) {} in FindIdenticalExprVisitor()
71 BR.EmitBasicReport(AC->getDecl(), Checker, in reportIdenticalExpr()
91 if (isIdenticalStmt(AC->getASTContext(), RHS, B2->getRHS())) { in checkBitwiseOrLogicalOp()
99 if (isIdenticalStmt(AC->getASTContext(), RHS, LHS)) { in checkBitwiseOrLogicalOp()
118 …if (InnerIf && isIdenticalStmt(AC->getASTContext(), I->getCond(), InnerIf->getCond(), /*IgnoreSide… in VisitIfStmt()
119 PathDiagnosticLocation ELoc(InnerIf->getCond(), BR.getSourceManager(), AC); in VisitIfStmt()
120 BR.EmitBasicReport(AC->getDecl(), Checker, "Identical conditions", in VisitIfStmt()
140 if (isIdenticalStmt(AC->getASTContext(), Cond1, Cond2, false)) { in VisitIfStmt()
142 PathDiagnosticLocation ELoc(Cond2, BR.getSourceManager(), AC); in VisitIfStmt()
[all …]
H A DCastToStructChecker.cpp29 AnalysisDeclContext *AC; member in __anon55ee10410111::CastToStructVisitor
34 : BR(B), Checker(Checker), AC(A) {} in CastToStructVisitor()
41 ASTContext &Ctx = AC->getASTContext(); in VisitCastExpr()
64 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr()
66 AC->getDecl(), Checker, "Cast from non-struct type to struct type", in VisitCastExpr()
96 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr()
97 BR.EmitBasicReport(AC->getDecl(), Checker, "Widening cast to struct type", in VisitCastExpr()
H A DCheckSizeofPointer.cpp27 AnalysisDeclContext* AC; member in __anonde05cca80111::WalkAST
31 : BR(br), Checker(checker), AC(ac) {} in WalkAST()
65 PathDiagnosticLocation::createBegin(E, BR.getSourceManager(), AC); in VisitUnaryExprOrTypeTraitExpr()
66 BR.EmitBasicReport(AC->getDecl(), Checker, in VisitUnaryExprOrTypeTraitExpr()
H A DObjCContainersASTChecker.cpp30 AnalysisDeclContext* AC; member in __anon07619bea0111::WalkAST
74 : BR(br), Checker(checker), AC(ac), ASTC(AC->getASTContext()), in WalkAST()
143 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in VisitCallExpr()
144 BR.EmitBasicReport(AC->getDecl(), Checker, OsName.str(), in VisitCallExpr()
H A DCStringSyntaxChecker.cpp35 AnalysisDeclContext* AC; member in __anonb84c804f0111::WalkAST
104 WalkAST(const CheckerBase *Checker, BugReporter &BR, AnalysisDeclContext *AC) in WalkAST() argument
105 : Checker(Checker), BR(BR), AC(AC) {} in WalkAST()
223 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC); in VisitCallExpr()
248 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC); in VisitCallExpr()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DValueTracking.h60 AssumptionCache *AC = nullptr,
76 unsigned Depth = 0, AssumptionCache *AC = nullptr,
84 unsigned Depth = 0, AssumptionCache *AC = nullptr,
93 AssumptionCache *AC = nullptr,
108 AssumptionCache *AC = nullptr,
120 AssumptionCache *AC = nullptr,
134 AssumptionCache *AC = nullptr,
148 AssumptionCache *AC = nullptr,
156 AssumptionCache *AC = nullptr,
164 AssumptionCache *AC = nullptr,
[all …]
H A DBasicAliasAnalysis.h56 AssumptionCache &AC; variable
62 const TargetLibraryInfo &TLI, AssumptionCache &AC,
64 : AAResultBase(), DL(DL), F(F), TLI(TLI), AC(AC), DT(DT), PV(PV) {} in AAResultBase()
67 : AAResultBase(Arg), DL(Arg.DL), F(Arg.F), TLI(Arg.TLI), AC(Arg.AC), in BasicAAResult()
71 AC(Arg.AC), DT(Arg.DT), PV(Arg.PV) {} in BasicAAResult()
185 AssumptionCache *AC, DominatorTree *DT);
202 const APInt &BaseOffset, AssumptionCache *AC,
H A DLazyValueInfo.h33 AssumptionCache *AC = nullptr; variable
44 : AC(AC_), DL(DL_), TLI(TLI_) {} in LazyValueInfo()
46 : AC(Arg.AC), DL(Arg.DL), TLI(Arg.TLI), PImpl(Arg.PImpl) { in LazyValueInfo()
51 AC = Arg.AC;
H A DPHITransAddr.h46 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()
H A DDemandedBits.h42 DemandedBits(Function &F, AssumptionCache &AC, DominatorTree &DT) : in DemandedBits() argument
43 F(F), AC(AC), DT(DT) {} in DemandedBits()
86 AssumptionCache &AC; variable
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp108 AssumptionCache* AC = nullptr; member
112 AssumptionCache *AC = nullptr, DominatorTree *DT = nullptr) in AssumeBuilderState()
113 : M(M), InstBeingModified(I), AC(AC), DT(DT) {} in AssumeBuilderState()
121 RK.WasOn, {RK.AttrKind}, AC, in tryToPreserveWithoutAddingAssume()
293 void llvm::salvageKnowledge(Instruction *I, AssumptionCache *AC, in salvageKnowledge() argument
297 AssumeBuilderState Builder(I->getModule(), I, AC, DT); in salvageKnowledge()
301 if (AC) in salvageKnowledge()
302 AC->registerAssumption(Intr); in salvageKnowledge()
308 Instruction *CtxI, AssumptionCache *AC, in buildAssumeFromKnowledge() argument
310 AssumeBuilderState Builder(CtxI->getModule(), CtxI, AC, DT); in buildAssumeFromKnowledge()
[all …]
H A DMem2Reg.cpp36 AssumptionCache &AC) { in promoteMemoryToRegister() argument
54 PromoteMemToReg(Allocas, DT, &AC); in promoteMemoryToRegister()
63 auto &AC = AM.getResult<AssumptionAnalysis>(F); in run() local
64 if (!promoteMemoryToRegister(F, DT, AC)) in run()
89 AssumptionCache &AC = in runOnFunction() local
91 return promoteMemoryToRegister(F, DT, AC); in runOnFunction()
H A DPromoteMemoryToRegister.cpp230 AssumptionCache *AC; member
266 AssumptionCache *AC) in PromoteMem2Reg()
269 AC(AC), SQ(DT.getRoot()->getParent()->getParent()->getDataLayout(), in PromoteMem2Reg()
270 nullptr, &DT, AC) {} in PromoteMem2Reg()
301 static void addAssumeNonNull(AssumptionCache *AC, LoadInst *LI) { in addAssumeNonNull() argument
309 AC->registerAssumption(cast<AssumeInst>(CI)); in addAssumeNonNull()
356 DominatorTree &DT, AssumptionCache *AC) { in rewriteSingleStoreAlloca() argument
407 if (AC && LI->getMetadata(LLVMContext::MD_nonnull) && in rewriteSingleStoreAlloca()
408 !isKnownNonZero(ReplVal, DL, 0, AC, LI, &DT)) in rewriteSingleStoreAlloca()
409 addAssumeNonNull(AC, LI); in rewriteSingleStoreAlloca()
[all …]
H A DLoopSimplify.cpp179 AssumptionCache *AC) { in findPHIToPartitionLoops() argument
184 if (Value *V = SimplifyInstruction(PN, {DL, nullptr, DT, AC})) { in findPHIToPartitionLoops()
223 AssumptionCache *AC, MemorySSAUpdater *MSSAU) { in separateNestedLoop() argument
253 PHINode *PN = findPHIToPartitionLoops(L, DT, AC); in separateNestedLoop()
487 ScalarEvolution *SE, AssumptionCache *AC, in simplifyOneLoop() argument
573 PreserveLCSSA, AC, MSSAU)) { in simplifyOneLoop()
606 if (Value *V = SimplifyInstruction(PN, {DL, nullptr, DT, AC})) { in simplifyOneLoop()
720 ScalarEvolution *SE, AssumptionCache *AC, in simplifyLoop() argument
749 AC, MSSAU, PreserveLCSSA); in simplifyLoop()
813 AssumptionCache *AC = in runOnFunction() local
[all …]
/netbsd-src/lib/libusbhid/
H A Dusb_hid_usages950 0x1AB AC Spell
983 0x201 AC New
984 0x202 AC Open
985 0x203 AC Close
986 0x204 AC Exit
987 0x205 AC Maximize
988 0x206 AC Minimize
989 0x207 AC Save
990 0x208 AC Print
991 0x209 AC Properties
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h68 AssumptionCache &AC; variable
85 bool MinimizeSize, AAResults *AA, AssumptionCache &AC, in InstCombiner() argument
91 MinimizeSize(MinimizeSize), AA(AA), AC(AC), TLI(TLI), DT(DT), DL(DL), in InstCombiner()
92 SQ(DL, &TLI, &DT, &AC), ORE(ORE), BFI(BFI), PSI(PSI), LI(LI) {} in InstCombiner()
367 AssumptionCache &getAssumptionCache() const { return AC; } in getAssumptionCache()
458 llvm::computeKnownBits(V, Known, DL, Depth, &AC, CxtI, &DT); in computeKnownBits()
463 return llvm::computeKnownBits(V, DL, Depth, &AC, CxtI, &DT); in computeKnownBits()
469 return llvm::isKnownToBeAPowerOfTwo(V, DL, OrZero, Depth, &AC, CxtI, &DT);
474 return llvm::MaskedValueIsZero(V, Mask, DL, Depth, &AC, CxtI, &DT);
479 return llvm::ComputeNumSignBits(Op, DL, Depth, &AC, CxtI, &DT);
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopFlatten.cpp433 AssumptionCache *AC) { in checkOverflow() argument
444 FI.InnerLimit, FI.OuterLimit, DL, AC, in checkOverflow()
472 ScalarEvolution *SE, AssumptionCache *AC, in CanFlattenLoopPair() argument
516 ScalarEvolution *SE, AssumptionCache *AC, in DoFlattenLoopPair() argument
578 ScalarEvolution *SE, AssumptionCache *AC, in CanWidenIV() argument
624 return CanFlattenLoopPair(FI, DT, LI, SE, AC, TTI); in CanWidenIV()
628 ScalarEvolution *SE, AssumptionCache *AC, in FlattenLoopPair() argument
636 if (!CanFlattenLoopPair(FI, DT, LI, SE, AC, TTI)) in FlattenLoopPair()
640 if (CanWidenIV(FI, DT, LI, SE, AC, TTI)) in FlattenLoopPair()
641 return DoFlattenLoopPair(FI, DT, LI, SE, AC, TTI); in FlattenLoopPair()
[all …]
H A DLoopDataPrefetch.cpp64 LoopDataPrefetch(AssumptionCache *AC, DominatorTree *DT, LoopInfo *LI, in LoopDataPrefetch() argument
67 : AC(AC), DT(DT), LI(LI), SE(SE), TTI(TTI), ORE(ORE) {} in LoopDataPrefetch()
106 AssumptionCache *AC; member in __anon7e7bb6630111::LoopDataPrefetch
174 AssumptionCache *AC = &AM.getResult<AssumptionAnalysis>(F); in run() local
179 LoopDataPrefetch LDP(AC, DT, LI, SE, TTI, ORE); in run()
199 AssumptionCache *AC = in runOnFunction() local
206 LoopDataPrefetch LDP(AC, DT, LI, SE, TTI, ORE); in runOnFunction()
278 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in runOnLoop()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-config/
H A Dllvm-config.cpp89 AvailableComponent *AC = ComponentMap.lookup(Name); in VisitComponent() local
90 if (!AC) { in VisitComponent()
98 assert(AC && "Invalid component name!"); in VisitComponent()
101 if (!VisitedComponents.insert(AC).second) { in VisitComponent()
107 if (!AC->IsInstalled && !IncludeNonInstalled) in VisitComponent()
111 for (unsigned i = 0; AC->RequiredLibraries[i]; ++i) { in VisitComponent()
112 VisitComponent(AC->RequiredLibraries[i], ComponentMap, VisitedComponents, in VisitComponent()
124 AvailableComponent *AC = ComponentMap.lookup(*Iter); in VisitComponent() local
125 if (!AC) { in VisitComponent()
142 if (AC->Library) { in VisitComponent()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp110 static void CheckUnreachable(Sema &S, AnalysisDeclContext &AC) { in CheckUnreachable() argument
118 if (!S.getSourceManager().isInMainFile(AC.getDecl()->getBeginLoc())) in CheckUnreachable()
122 reachable_code::FindUnreachableCode(AC, S.getPreprocessor(), UC); in CheckUnreachable()
256 const Stmt *Body, AnalysisDeclContext &AC) { in checkRecursiveFunction() argument
265 CFG *cfg = AC.getCFG(); in checkRecursiveFunction()
359 AnalysisDeclContext &AC) { in checkThrowInNonThrowingFunc() argument
360 CFG *BodyCFG = AC.getCFG(); in checkThrowInNonThrowingFunc()
399 static ControlFlowKind CheckFallThrough(AnalysisDeclContext &AC) { in CheckFallThrough() argument
400 CFG *cfg = AC.getCFG(); in CheckFallThrough()
409 bool AddEHEdges = AC.getAddEHEdges(); in CheckFallThrough()
[all …]
/netbsd-src/games/larn/
H A Dglobal.c252 c[AC] = c[MOREDEFENSES]; in recalc()
256 c[AC] += 2 + ivenarg[c[WEAR]]; in recalc()
259 c[AC] += 2 + ivenarg[c[WEAR]]; in recalc()
262 c[AC] += 3 + ivenarg[c[WEAR]]; in recalc()
265 c[AC] += 5 + ivenarg[c[WEAR]]; in recalc()
268 c[AC] += 6 + ivenarg[c[WEAR]]; in recalc()
271 c[AC] += 7 + ivenarg[c[WEAR]]; in recalc()
274 c[AC] += 9 + ivenarg[c[WEAR]]; in recalc()
277 c[AC] += 10 + ivenarg[c[WEAR]]; in recalc()
280 c[AC] += 12 + ivenarg[c[WEAR]]; in recalc()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DIVDescriptors.cpp116 AssumptionCache *AC, in computeRecurrenceType() argument
132 if (MaxBitWidth == DL.getTypeSizeInBits(Exit->getType()) && AC && DT) { in computeRecurrenceType()
136 auto NumSignBits = ComputeNumSignBits(Exit, DL, 0, AC, nullptr, DT); in computeRecurrenceType()
222 AssumptionCache *AC, in AddReductionVar() argument
475 computeRecurrenceType(ExitInstruction, DB, AC, DT); in AddReductionVar()
649 DemandedBits *DB, AssumptionCache *AC, in isReductionPHI() argument
660 if (AddReductionVar(Phi, RecurKind::Add, TheLoop, FMF, RedDes, DB, AC, DT)) { in isReductionPHI()
664 if (AddReductionVar(Phi, RecurKind::Mul, TheLoop, FMF, RedDes, DB, AC, DT)) { in isReductionPHI()
668 if (AddReductionVar(Phi, RecurKind::Or, TheLoop, FMF, RedDes, DB, AC, DT)) { in isReductionPHI()
672 if (AddReductionVar(Phi, RecurKind::And, TheLoop, FMF, RedDes, DB, AC, DT)) { in isReductionPHI()
[all …]
H A DLint.cpp129 AssumptionCache *AC; member in __anonfec56c450111::Lint
137 AssumptionCache *AC, DominatorTree *DT, TargetLibraryInfo *TLI) in Lint() argument
138 : Mod(Mod), DL(DL), AA(AA), AC(AC), DT(DT), TLI(TLI), in Lint()
520 AssumptionCache *AC) { in isZero() argument
528 computeKnownBits(V, DL, 0, AC, dyn_cast<Instruction>(V), DT); in isZero()
557 Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC), in visitSDiv()
562 Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC), in visitUDiv()
567 Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC), in visitSRem()
572 Assert(!isZero(I.getOperand(1), I.getModule()->getDataLayout(), DT, AC), in visitURem()
694 if (Value *W = SimplifyInstruction(Inst, {*DL, TLI, DT, AC})) in findValueImpl()
[all …]

12345678910>>...17