Home
last modified time | relevance | path

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

12345678910>>...14

/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp42 static AnnotationCache AC; in getAnnotationCache() local
43 return AC; in getAnnotationCache()
48 auto &AC = getAnnotationCache(); in clearAnnotationCache() local
49 std::lock_guard<sys::Mutex> Guard(AC.Lock); in clearAnnotationCache()
50 AC.Cache.erase(Mod); in clearAnnotationCache()
54 auto &AC = getAnnotationCache(); in cacheAnnotationFromMD() local
55 std::lock_guard<sys::Mutex> Guard(AC.Lock); in cacheAnnotationFromMD()
81 auto &AC = getAnnotationCache(); in cacheAnnotationFromMD() local
82 std::lock_guard<sys::Mutex> Guard(AC.Lock); in cacheAnnotationFromMD()
105 if (AC.Cache.find(m) != AC.Cache.end()) in cacheAnnotationFromMD()
[all …]
/openbsd-src/regress/libexec/ld.so/initfirst/test2/libac/
H A Dac.C9 class AC
12 AC();
13 ~AC();
16 AC::AC() in AC() function
21 AC::~AC() in ~AC()
26 AC c;
/openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/
H A DTypeErasedDataflowAnalysis.cpp214 computeBlockInputState(const CFGBlock &Block, AnalysisContext &AC) { in computeBlockInputState() argument
241 auto &StmtToBlock = AC.CFCtx.getStmtToBlock(); in computeBlockInputState()
250 auto &Analysis = AC.Analysis; in computeBlockInputState()
259 AC.BlockStates[Pred->getBlockID()]; in computeBlockInputState()
266 const StmtToEnvMapImpl StmtToEnv(AC.CFCtx, AC.BlockStates); in computeBlockInputState()
290 MaybeState.emplace(Analysis.typeErasedInitialElement(), AC.InitEnv); in computeBlockInputState()
298 AnalysisContext &AC) { in builtinTransferStatement() argument
301 transfer(StmtToEnvMapImpl(AC.CFCtx, AC.BlockStates), *S, InputState.Env); in builtinTransferStatement()
342 AnalysisContext &AC) { in builtinTransfer() argument
345 builtinTransferStatement(Elt.castAs<CFGStmt>(), State, AC); in builtinTransfer()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DValueTracking.h57 unsigned Depth = 0, AssumptionCache *AC = nullptr,
73 unsigned Depth = 0, AssumptionCache *AC = nullptr,
81 unsigned Depth = 0, AssumptionCache *AC = nullptr,
90 AssumptionCache *AC = nullptr,
103 const DataLayout &DL, AssumptionCache *AC = nullptr,
115 AssumptionCache *AC = nullptr,
129 AssumptionCache *AC = nullptr,
142 unsigned Depth = 0, AssumptionCache *AC = nullptr,
150 AssumptionCache *AC = nullptr,
158 AssumptionCache *AC = nullptr,
[all …]
H A DBasicAliasAnalysis.h47 AssumptionCache &AC; variable
52 const TargetLibraryInfo &TLI, AssumptionCache &AC,
54 : DL(DL), F(F), TLI(TLI), AC(AC), DT(DT) {} in DL()
57 : AAResultBase(Arg), DL(Arg.DL), F(Arg.F), TLI(Arg.TLI), AC(Arg.AC), in BasicAAResult()
61 AC(Arg.AC), DT(Arg.DT) {} in BasicAAResult()
104 AssumptionCache *AC, DominatorTree *DT);
115 LocationSize V2Size, AssumptionCache *AC,
H A DLoads.h37 AssumptionCache *AC = nullptr,
48 AssumptionCache *AC = nullptr,
59 AssumptionCache *AC = nullptr,
74 AssumptionCache *AC = nullptr,
87 AssumptionCache *AC = nullptr);
100 AssumptionCache *AC = nullptr,
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;
/openbsd-src/regress/libexec/ld.so/dlopen/libac/
H A Dac.C23 AC::AC(const char *str) in AC() function
28 AC::~AC() in ~AC()
31 AC ac("local");
H A Dac.h7 class AC {
9 AC(const char *);
10 ~AC();
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp72 AnalysisDeclContext* AC; member in __anon1e8554840111::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 DCastToStructChecker.cpp29 AnalysisDeclContext *AC; member in __anon5c3c410d0111::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 DIdenticalExprChecker.cpp39 AnalysisDeclContext *AC; member in __anonfad46c260111::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 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 DCheckSizeofPointer.cpp27 AnalysisDeclContext* AC; member in __anonafab13f40111::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()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp110 AssumptionCache* AC = nullptr; member
114 AssumptionCache *AC = nullptr, DominatorTree *DT = nullptr) in AssumeBuilderState()
115 : M(M), InstBeingModified(I), AC(AC), DT(DT) {} in AssumeBuilderState()
123 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.cpp300 AssumptionCache *AC; member
340 AssumptionCache *AC) in PromoteMem2Reg()
343 AC(AC), SQ(DT.getRoot()->getParent()->getParent()->getDataLayout(), in PromoteMem2Reg()
344 nullptr, &DT, AC) {} in PromoteMem2Reg()
375 static void addAssumeNonNull(AssumptionCache *AC, LoadInst *LI) { in addAssumeNonNull() argument
383 AC->registerAssumption(cast<AssumeInst>(CI)); in addAssumeNonNull()
387 const DataLayout &DL, AssumptionCache *AC, in convertMetadataToAssumes() argument
393 if (AC && LI->getMetadata(LLVMContext::MD_nonnull) && in convertMetadataToAssumes()
395 !isKnownNonZero(Val, DL, 0, AC, LI, DT)) in convertMetadataToAssumes()
396 addAssumeNonNull(AC, LI); in convertMetadataToAssumes()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/
H A Dinherit2.C9 struct AC;
19 friend struct AC; // this makes ::AC a friend *not* A<T>::AC
40 template <class T> struct A<T>::AC
49 struct AC
59 A<int>::AC a_ac;
60 AC ac;
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DLoads.cpp41 const Instruction *CtxI, AssumptionCache *AC, const DominatorTree *DT, in isDereferenceableAndAlignedPointer() argument
77 CtxI, AC, DT, TLI, Visited, MaxDepth); in isDereferenceableAndAlignedPointer()
84 BC->getOperand(0), Alignment, Size, DL, CtxI, AC, DT, TLI, in isDereferenceableAndAlignedPointer()
91 Size, DL, CtxI, AC, DT, TLI, in isDereferenceableAndAlignedPointer()
94 Size, DL, CtxI, AC, DT, TLI, in isDereferenceableAndAlignedPointer()
104 if (!CheckForNonNull || isKnownNonZero(V, DL, 0, AC, CtxI, DT)) { in isDereferenceableAndAlignedPointer()
119 AC, DT, TLI, Visited, MaxDepth); in isDereferenceableAndAlignedPointer()
138 isKnownNonZero(V, DL, 0, AC, CtxI, DT) && !V->canBeFreed()) { in isDereferenceableAndAlignedPointer()
152 Alignment, Size, DL, CtxI, AC, DT, in isDereferenceableAndAlignedPointer()
157 Size, DL, CtxI, AC, DT, TLI, in isDereferenceableAndAlignedPointer()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h70 AssumptionCache &AC; variable
87 bool MinimizeSize, AAResults *AA, AssumptionCache &AC, in InstCombiner() argument
93 MinimizeSize(MinimizeSize), AA(AA), AC(AC), TLI(TLI), DT(DT), DL(DL), in InstCombiner()
94 SQ(DL, &TLI, &DT, &AC), ORE(ORE), BFI(BFI), PSI(PSI), LI(LI) {} in InstCombiner()
369 AssumptionCache &getAssumptionCache() const { return AC; } in getAssumptionCache()
463 llvm::computeKnownBits(V, Known, DL, Depth, &AC, CxtI, &DT); in computeKnownBits()
468 return llvm::computeKnownBits(V, DL, Depth, &AC, CxtI, &DT); in computeKnownBits()
474 return llvm::isKnownToBeAPowerOfTwo(V, DL, OrZero, Depth, &AC, CxtI, &DT);
479 return llvm::MaskedValueIsZero(V, Mask, DL, Depth, &AC, CxtI, &DT);
484 return llvm::ComputeNumSignBits(Op, DL, Depth, &AC, CxtI, &DT);
[all …]
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/share/misc/
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 …]
/openbsd-src/gnu/llvm/clang/lib/Driver/ToolChains/
H A DSPIRV.cpp59 Action::ActionClass AC = JA.getKind(); in SelectTool() local
60 return SPIRVToolChain::getTool(AC); in SelectTool()
63 clang::driver::Tool *SPIRVToolChain::getTool(Action::ActionClass AC) const { in getTool()
64 switch (AC) { in getTool()
71 return ToolChain::getTool(AC); in getTool()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp114 static void CheckUnreachable(Sema &S, AnalysisDeclContext &AC) { in CheckUnreachable() argument
122 if (!S.getSourceManager().isInMainFile(AC.getDecl()->getBeginLoc())) in CheckUnreachable()
126 reachable_code::FindUnreachableCode(AC, S.getPreprocessor(), UC); in CheckUnreachable()
260 const Stmt *Body, AnalysisDeclContext &AC) { in checkRecursiveFunction() argument
269 CFG *cfg = AC.getCFG(); in checkRecursiveFunction()
363 AnalysisDeclContext &AC) { in checkThrowInNonThrowingFunc() argument
364 CFG *BodyCFG = AC.getCFG(); in checkThrowInNonThrowingFunc()
403 static ControlFlowKind CheckFallThrough(AnalysisDeclContext &AC) { in CheckFallThrough() argument
404 CFG *cfg = AC.getCFG(); in CheckFallThrough()
413 bool AddEHEdges = AC.getAddEHEdges(); in CheckFallThrough()
[all …]

12345678910>>...14