Home
last modified time | relevance | path

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

12345678910>>...16

/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTypeErasedDataflowAnalysis.cpp159 AnalysisContext ∾ member in clang::dataflow::__anon57fc8b7a0211::JoinedStateBuilder
167 return {AC.Analysis.joinTypeErased(L.Lattice, R.Lattice), in join()
168 Environment::join(L.Env, R.Env, AC.Analysis, JoinBehavior)}; in join()
172 JoinedStateBuilder(AnalysisContext &AC, in JoinedStateBuilder() argument
174 : AC(AC), JoinBehavior(JoinBehavior) {} in JoinedStateBuilder()
188 return {AC.Analysis.typeErasedInitialElement(), AC.InitEnv.fork()}; in take()
195 AC.Analysis, JoinBehavior)}; in take()
219 computeBlockInputState(const CFGBlock &Block, AnalysisContext &AC) { in computeBlockInputState() argument
246 auto &StmtToBlock = AC.ACFG.getStmtToBlock(); in computeBlockInputState()
262 if (Pred && AC.ACFG.containsExprConsumedInDifferentBlock(*Pred)) { in computeBlockInputState()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp44 static AnnotationCache AC; in getAnnotationCache() local
45 return AC; in getAnnotationCache()
50 auto &AC = getAnnotationCache(); in clearAnnotationCache() local
51 std::lock_guard<sys::Mutex> Guard(AC.Lock); in clearAnnotationCache()
52 AC.Cache.erase(Mod); in clearAnnotationCache()
66 auto &AC = getAnnotationCache(); in cacheAnnotationFromMD() local
67 std::lock_guard<sys::Mutex> Guard(AC.Lock); in cacheAnnotationFromMD()
100 auto &AC = getAnnotationCache(); in cacheAnnotationFromMD() local
101 std::lock_guard<sys::Mutex> Guard(AC.Lock); in cacheAnnotationFromMD()
124 if (AC.Cache.find(m) != AC.Cache.end()) in cacheAnnotationFromMD()
[all …]
/freebsd/share/misc/
H A Dusb_hid_usages806 0x1AB AC Spell Check
835 0x201 AC New
836 0x202 AC Open
837 0x203 AC Close
838 0x204 AC Exit
839 0x205 AC Maximize
840 0x206 AC Minimize
841 0x207 AC Save
842 0x208 AC Print
843 0x209 AC Properties
[all …]
/freebsd/usr.bin/tip/libacu/
H A Dv831.c60 if ((AC = open(acu, O_RDWR)) < 0) { in v831_dialer()
69 close(AC); in v831_dialer()
98 close(AC); in v831_dialer()
106 close(AC); in v831_dialer()
148 printf("[abort: AC=%d]\n", AC); in v831_abort()
155 close(AC); in v831_abort()
174 #define pc(x) (c = x, write(AC,&c,1))
201 tcgetattr(AC, &cntrl); in dialit()
206 tcsetattr(AC, TCSANOW, &cntrl); in dialit()
207 tcflush(AC, TCIOFLUSH); in dialit()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBasicAliasAnalysis.h45 AssumptionCache &AC;
56 const TargetLibraryInfo &TLI, AssumptionCache &AC, in BasicAAResult()
58 : DL(DL), F(F), TLI(TLI), AC(AC), DT_(DT) {} in BasicAAResult()
61 : AAResultBase(Arg), DL(Arg.DL), F(Arg.F), TLI(Arg.TLI), AC(Arg.AC),
65 AC(Arg.AC), DT_(Arg.DT_) {}
108 AssumptionCache *AC, DominatorTree *DT);
119 LocationSize V2Size, AssumptionCache *AC,
46 AssumptionCache &AC; global() variable
[all...]
H A DLoads.h37 AssumptionCache *AC = nullptr,
48 AssumptionCache *AC = nullptr,
59 AssumptionCache *AC = nullptr,
74 AssumptionCache *AC = nullptr,
87 AssumptionCache *AC = nullptr);
92 DominatorTree *DT, AssumptionCache *AC);
105 AssumptionCache *AC = nullptr,
H A DSimplifyQuery.h74 AssumptionCache *AC = nullptr; member
94 AssumptionCache *AC = nullptr,
97 : DL(DL), TLI(TLI), DT(DT), AC(AC), CxtI(CXTI), DC(DC), IIQ(UseInstrInfo), in DL()
101 AssumptionCache *AC = nullptr,
104 : DL(DL), DT(DT), AC(AC), CxtI(CXTI), IIQ(UseInstrInfo), in DL()
H A DValueTracking.h59 unsigned Depth = 0, AssumptionCache *AC = nullptr,
66 unsigned Depth = 0, AssumptionCache *AC = nullptr,
74 AssumptionCache *AC = nullptr,
121 AssumptionCache *AC = nullptr,
169 AssumptionCache *AC = nullptr,
194 unsigned Depth = 0, AssumptionCache *AC = nullptr,
204 AssumptionCache *AC = nullptr,
520 const TargetLibraryInfo *TLI = nullptr, AssumptionCache *AC = nullptr,
525 SimplifyQuery(DL, TLI, DT, AC, CxtI, UseInstrInfo));
827 AssumptionCache *AC = nullptr,
[all …]
H A DLazyValueInfo.h36 AssumptionCache *AC = nullptr; variable
49 : AC(AC_), DL(DL_) {} in LazyValueInfo()
51 : AC(Arg.AC), DL(Arg.DL), PImpl(Arg.PImpl) { in LazyValueInfo()
56 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), 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()
89 AssumptionCache &AC; variable
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp39 const Instruction *CtxI, AssumptionCache *AC, const DominatorTree *DT, in isDereferenceableAndAlignedPointer() argument
75 CtxI, AC, DT, TLI, Visited, MaxDepth); in isDereferenceableAndAlignedPointer()
82 BC->getOperand(0), Alignment, Size, DL, CtxI, AC, DT, TLI, in isDereferenceableAndAlignedPointer()
89 Size, DL, CtxI, AC, DT, TLI, in isDereferenceableAndAlignedPointer()
92 Size, DL, CtxI, AC, DT, TLI, in isDereferenceableAndAlignedPointer()
103 isKnownNonZero(V, SimplifyQuery(DL, DT, AC, CtxI))) { in isDereferenceableAndAlignedPointer()
118 AC, DT, TLI, Visited, MaxDepth); in isDereferenceableAndAlignedPointer()
137 isKnownNonZero(V, SimplifyQuery(DL, DT, AC, CtxI)) && in isDereferenceableAndAlignedPointer()
152 Alignment, Size, DL, CtxI, AC, DT, in isDereferenceableAndAlignedPointer()
157 Size, DL, CtxI, AC, DT, TLI, in isDereferenceableAndAlignedPointer()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombineInternal.h55 AssumptionCache &AC; variable
82 TruncInstCombine(AssumptionCache &AC, TargetLibraryInfo &TLI, in TruncInstCombine() argument
84 : AC(AC), TLI(TLI), DL(DL), DT(DT) {} in TruncInstCombine()
112 return llvm::computeKnownBits(V, DL, /*Depth=*/0, &AC, in computeKnownBits()
119 V, DL, /*Depth=*/0, &AC, /*CtxI=*/cast<Instruction>(CurrentTruncInst), in ComputeNumSignBits()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIdenticalExprChecker.cpp39 AnalysisDeclContext *AC; member in __anon00b411af0111::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 __anond888d9760111::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 DUndefinedNewArraySizeChecker.cpp41 if (const auto *AC = dyn_cast<CXXAllocatorCall>(&Call)) { in checkPreCall() local
42 if (!AC->isArray()) in checkPreCall()
45 auto *SizeEx = *AC->getArraySizeExpr(); in checkPreCall()
46 auto SizeVal = AC->getArraySizeVal(); in checkPreCall()
H A DObjCContainersASTChecker.cpp30 AnalysisDeclContext* AC; member in __anon92c36e3f0111::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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp109 AssumptionCache* AC = nullptr; member
113 AssumptionCache *AC = nullptr, DominatorTree *DT = nullptr) in AssumeBuilderState()
114 : M(M), InstBeingModified(I), AC(AC), DT(DT) {} in AssumeBuilderState()
122 RK.WasOn, {RK.AttrKind}, AC, in tryToPreserveWithoutAddingAssume()
292 bool llvm::salvageKnowledge(Instruction *I, AssumptionCache *AC, in salvageKnowledge() argument
297 AssumeBuilderState Builder(I->getModule(), I, AC, DT); in salvageKnowledge()
302 if (AC) in salvageKnowledge()
303 AC->registerAssumption(Intr); in salvageKnowledge()
310 Instruction *CtxI, AssumptionCache *AC, in buildAssumeFromKnowledge() argument
312 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.cpp353 AssumptionCache *AC; member
401 AssumptionCache *AC) in PromoteMem2Reg()
404 AC(AC), SQ(DT.getRoot()->getDataLayout(), in PromoteMem2Reg()
405 nullptr, &DT, AC) {} in PromoteMem2Reg()
446 static void addAssumeNonNull(AssumptionCache *AC, LoadInst *LI) { in addAssumeNonNull() argument
454 AC->registerAssumption(cast<AssumeInst>(CI)); in addAssumeNonNull()
458 const DataLayout &DL, AssumptionCache *AC, in convertMetadataToAssumes() argument
473 if (AC && LI->getMetadata(LLVMContext::MD_nonnull) && in convertMetadataToAssumes()
475 !isKnownNonZero(Val, SimplifyQuery(DL, DT, AC, LI))) in convertMetadataToAssumes()
476 addAssumeNonNull(AC, LI); in convertMetadataToAssumes()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/power/supply/
H A Dtps65217_charger.txt5 -interrupts: TPS65217 interrupt numbers for the AC and USB charger input change.
6 Should be <0> for the USB charger and <1> for the AC adapter.
7 -interrupt-names: Should be "USB" and "AC"
16 interrupt-names = "USB", "AC";
/freebsd/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp344 AssumptionContext AC = {L.getParent(), R.getParent()}; in diffCallSites() local
346 &AC)) { in diffCallSites()
355 if (!equivalentAsOperands(L.getArgOperand(I), R.getArgOperand(I), &AC)) { in diffCallSites()
372 const AssumptionContext *AC = AllowAssumptions ? &ACValue : nullptr; in diff() local
411 RI.getIncomingValue(I), AC)) { in diff()
463 if (!equivalentAsOperands(LI->getCondition(), RI->getCondition(), AC)) { in diff()
480 if (!equivalentAsOperands(LI->getAddress(), RI->getAddress(), AC)) { in diff()
495 if (!equivalentAsOperands(LI->getCondition(), RI->getCondition(), AC)) { in diff()
541 if (!equivalentAsOperands(LO, RO, AC)) { in diff()
552 const AssumptionContext *AC) { in equivalentAsOperands() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DSPIRV.cpp67 Action::ActionClass AC = JA.getKind(); in SelectTool() local
68 return SPIRVToolChain::getTool(AC); in SelectTool()
71 clang::driver::Tool *SPIRVToolChain::getTool(Action::ActionClass AC) const { in getTool()
72 switch (AC) { in getTool()
79 return ToolChain::getTool(AC); in getTool()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp125 static void CheckUnreachable(Sema &S, AnalysisDeclContext &AC) { in CheckUnreachable() argument
133 if (!S.getSourceManager().isInMainFile(AC.getDecl()->getBeginLoc())) in CheckUnreachable()
137 reachable_code::FindUnreachableCode(AC, S.getPreprocessor(), UC); in CheckUnreachable()
283 const Stmt *Body, AnalysisDeclContext &AC) { in checkRecursiveFunction() argument
292 CFG *cfg = AC.getCFG(); in checkRecursiveFunction()
386 AnalysisDeclContext &AC) { in checkThrowInNonThrowingFunc() argument
387 CFG *BodyCFG = AC.getCFG(); in checkThrowInNonThrowingFunc()
426 static ControlFlowKind CheckFallThrough(AnalysisDeclContext &AC) { in CheckFallThrough() argument
427 CFG *cfg = AC.getCFG(); in CheckFallThrough()
436 bool AddEHEdges = AC.getAddEHEdges(); in CheckFallThrough()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
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 __anon0c2e89580111::LoopDataPrefetch
177 AssumptionCache *AC = &AM.getResult<AssumptionAnalysis>(F); in run() local
182 LoopDataPrefetch LDP(AC, DT, LI, SE, TTI, ORE); in run()
202 AssumptionCache *AC = in runOnFunction() local
209 LoopDataPrefetch LDP(AC, DT, LI, SE, TTI, ORE); in runOnFunction()
282 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in runOnLoop()

12345678910>>...16