Home
last modified time | relevance | path

Searched refs:BR (Results 1 – 25 of 221) sorted by relevance

123456789

/openbsd/src/gnu/usr.bin/binutils/opcodes/
Dia64-opc-b.c80 #define BR(a,b) \ macro
82 {"br.few", BR (0, 0)},
83 {"br", BR (0, 0)},
84 {"br.few.clr", BR (0, 1)},
85 {"br.clr", BR (0, 1)},
86 {"br.many", BR (1, 0)},
87 {"br.many.clr", BR (1, 1)},
88 #undef BR
90 #define BR(a,b,c,d,e) B0, OpX6BtypePaWhaD (0, a, b, c, d, e), {B2}, EMPTY macro
93 {"br.cond.sptk.few", BR (0x20, 0, 0, 0, 0)},
[all …]
/openbsd/src/gnu/usr.bin/binutils-2.17/opcodes/
Dia64-opc-b.c81 #define BR(a,b) \ macro
83 {"br.few", BR (0, 0)},
84 {"br", BR (0, 0)},
85 {"br.few.clr", BR (0, 1)},
86 {"br.clr", BR (0, 1)},
87 {"br.many", BR (1, 0)},
88 {"br.many.clr", BR (1, 1)},
89 #undef BR
91 #define BR(a,b,c,d,e) B0, OpX6BtypePaWhaD (0, a, b, c, d, e), {B2}, EMPTY macro
94 {"br.cond.sptk.few", BR (0x20, 0, 0, 0, 0)},
[all …]
/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp71 BugReporter &BR; member in __anon2f49f4e90111::WalkAST
82 : BR(br), AC(ac), II_setid(), in WalkAST()
83 CheckRand(isArc4RandomAvailable(BR.getContext())), in WalkAST()
337 PathDiagnosticLocation::createBegin(FS, BR.getSourceManager(), AC); in checkLoopConditionForFloat()
338 BR.EmitBasicReport(AC->getDecl(), filter.checkName_FloatLoopCounter, in checkLoopConditionForFloat()
367 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().VoidTy) in checkCall_bcmp()
377 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_bcmp()
378 BR.EmitBasicReport(AC->getDecl(), filter.checkName_bcmp, in checkCall_bcmp()
409 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().VoidTy) in checkCall_bcopy()
419 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC); in checkCall_bcopy()
[all …]
DCloneChecker.cpp42 BugReporter &BR) const;
45 AnalysisManager &Mgr, BugReporter &BR) const;
48 void reportClones(BugReporter &BR, AnalysisManager &Mgr,
54 BugReporter &BR, AnalysisManager &Mgr,
60 BugReporter &BR) const { in checkASTCodeBody()
68 BugReporter &BR) const { in checkEndOfTranslationUnit()
83 reportSuspiciousClones(BR, Mgr, AllCloneGroups); in checkEndOfTranslationUnit()
96 reportClones(BR, Mgr, AllCloneGroups); in checkEndOfTranslationUnit()
108 BugReporter &BR, AnalysisManager &Mgr, in reportClones() argument
124 BR.emitReport(std::move(R)); in reportClones()
[all …]
DLLVMConventionsChecker.cpp117 BugReporter &BR; member in __anon38e7c5700111::StringRefCheckerVisitor
123 : DeclWithIssue(declWithIssue), BR(br), Checker(checker) {} in StringRefCheckerVisitor()
136 static void CheckStringRefAssignedTemporary(const Decl *D, BugReporter &BR, in CheckStringRefAssignedTemporary() argument
138 StringRefCheckerVisitor walker(D, BR, Checker); in CheckStringRefAssignedTemporary()
182 PathDiagnosticLocation::createBegin(VD, BR.getSourceManager()); in VisitVarDecl()
183 BR.EmitBasicReport(DeclWithIssue, Checker, desc, "LLVM Conventions", desc, in VisitVarDecl()
217 BugReporter &BR; member in __anon38e7c5700211::ASTFieldVisitor
223 : Root(root), BR(br), Checker(checker) {} in ASTFieldVisitor()
230 static void CheckASTMemory(const CXXRecordDecl *R, BugReporter &BR, in CheckASTMemory() argument
236 ASTFieldVisitor walker(R, BR, Checker); in CheckASTMemory()
[all …]
DRunLoopAutoreleaseLeakChecker.cpp54 BugReporter &BR) const;
82 BugReporter &BR, in emitDiagnostics() argument
113 ME, BR.getSourceManager(), ADC); in emitDiagnostics()
116 BR.EmitBasicReport(ADC->getDecl(), Checker, in emitDiagnostics()
155 checkTempObjectsInSamePool(const Decl *D, AnalysisManager &AM, BugReporter &BR, in checkTempObjectsInSamePool() argument
170 emitDiagnostics(Match, D, BR, AM, Chkr); in checkTempObjectsInSamePool()
174 checkTempObjectsInNoPool(const Decl *D, AnalysisManager &AM, BugReporter &BR, in checkTempObjectsInNoPool() argument
191 emitDiagnostics(Match, D, BR, AM, Chkr); in checkTempObjectsInNoPool()
197 BugReporter &BR) const { in checkASTCodeBody()
198 checkTempObjectsInSamePool(D, AM, BR, this); in checkASTCodeBody()
[all …]
DObjCPropertyChecker.cpp27 void checkCopyMutable(const ObjCPropertyDecl *D, BugReporter &BR) const;
31 BugReporter &BR) const;
37 BugReporter &BR) const { in checkASTDecl()
38 checkCopyMutable(D, BR); in checkASTDecl()
42 BugReporter &BR) const { in checkCopyMutable()
72 BR.EmitBasicReport( in checkCopyMutable()
74 PathDiagnosticLocation::createBegin(D, BR.getSourceManager()), in checkCopyMutable()
DCheckObjCInstMethSignature.cpp41 BugReporter &BR, ASTContext &Ctx, in CompareReturnTypes() argument
68 BR.getSourceManager()); in CompareReturnTypes()
70 BR.EmitBasicReport( in CompareReturnTypes()
77 BugReporter &BR, in CheckObjCInstMethSignature() argument
86 ASTContext &Ctx = BR.getContext(); in CheckObjCInstMethSignature()
113 CompareReturnTypes(MethDerived, M, BR, Ctx, ID, Checker); in CheckObjCInstMethSignature()
129 BugReporter &BR) const { in checkASTDecl()
130 CheckObjCInstMethSignature(D, BR, this); in checkASTDecl()
DSmartPtrModeling.cpp394 State, C.getNoteTag([ThisRegion](PathSensitiveBugReport &BR, in evalCall()
396 if (&BR.getBugType() != smartptr::getNullDereferenceBugType() || in evalCall()
397 !BR.isInteresting(ThisRegion)) in evalCall()
411 ArgVal](PathSensitiveBugReport &BR, in evalCall() argument
413 if (&BR.getBugType() != smartptr::getNullDereferenceBugType() || in evalCall()
414 !BR.isInteresting(ThisRegion)) in evalCall()
416 bugreporter::trackExpressionValue(BR.getErrorNode(), TrackingExpr, BR); in evalCall()
615 State, C.getNoteTag([ThisRegion, TrackingExpr](PathSensitiveBugReport &BR, in handleReset()
617 if (&BR.getBugType() != smartptr::getNullDereferenceBugType() || in handleReset()
618 !BR.isInteresting(ThisRegion)) in handleReset()
[all …]
DCastToStructChecker.cpp27 BugReporter &BR; member in __anon2cbe76f20111::CastToStructVisitor
34 : BR(B), Checker(Checker), AC(A) {} in CastToStructVisitor()
64 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr()
65 BR.EmitBasicReport( in VisitCastExpr()
96 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC); in VisitCastExpr()
97 BR.EmitBasicReport(AC->getDecl(), Checker, "Widening cast to struct type", in VisitCastExpr()
112 BugReporter &BR) const { in checkASTCodeBody()
113 CastToStructVisitor Visitor(BR, this, Mgr.getAnalysisDeclContext(D)); in checkASTCodeBody()
DCStringSyntaxChecker.cpp34 BugReporter &BR; member in __anon6929bd200111::WalkAST
104 WalkAST(const CheckerBase *Checker, BugReporter &BR, AnalysisDeclContext *AC) in WalkAST() argument
105 : Checker(Checker), BR(BR), AC(AC) {} in WalkAST()
201 ASTContext &C = BR.getContext(); in containsBadStrlcpyStrlcatPattern()
223 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC); in VisitCallExpr()
238 BR.EmitBasicReport(FD, Checker, "Anti-pattern in the argument", in VisitCallExpr()
248 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC); in VisitCallExpr()
262 BR.EmitBasicReport(FD, Checker, "Anti-pattern in the argument", in VisitCallExpr()
283 BugReporter &BR) const { in checkASTCodeBody()
284 WalkAST walker(this, BR, Mgr.getAnalysisDeclContext(D)); in checkASTCodeBody()
DCheckSizeofPointer.cpp25 BugReporter &BR; member in __anon321ba1390111::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()
83 BugReporter &BR) const { in checkASTCodeBody()
84 WalkAST walker(BR, this, mgr.getAnalysisDeclContext(D)); in checkASTCodeBody()
DPointerIterationChecker.cpp32 BugReporter &BR) const;
36 BugReporter &BR, AnalysisManager &AM, in emitDiagnostics() argument
45 BR.getSourceManager(), in emitDiagnostics()
52 BR.EmitBasicReport(ADC->getDecl(), Checker, in emitDiagnostics()
84 BugReporter &BR) const { in checkASTCodeBody()
89 emitDiagnostics(Match, D, BR, AM, this); in checkASTCodeBody()
DPointerSortingChecker.cpp32 BugReporter &BR) const;
36 BugReporter &BR, AnalysisManager &AM, in emitDiagnostics() argument
45 BR.getSourceManager(), in emitDiagnostics()
52 BR.EmitBasicReport(ADC->getDecl(), Checker, in emitDiagnostics()
98 BugReporter &BR) const { in checkASTCodeBody()
103 emitDiagnostics(Match, D, BR, AM, this); in checkASTCodeBody()
DNSErrorChecker.cpp48 AnalysisManager &mgr, BugReporter &BR) const;
54 BugReporter &BR) const { in checkASTDecl()
76 PathDiagnosticLocation::create(D, BR.getSourceManager()); in checkASTDecl()
77 BR.EmitBasicReport(D, this, "Bad return type when passing NSError**", in checkASTDecl()
95 AnalysisManager &mgr, BugReporter &BR) const;
110 BugReporter &BR) const { in checkASTDecl()
134 PathDiagnosticLocation::create(D, BR.getSourceManager()); in checkASTDecl()
135 BR.EmitBasicReport(D, this, "Bad return type when passing CFErrorRef*", in checkASTDecl()
256 BugReporter &BR = *event.BR; in checkEvent() local
288 BR.emitReport( in checkEvent()
DDebugCheckers.cpp36 BugReporter &BR) const { in checkASTCodeBody()
62 BugReporter &BR) const { in checkASTCodeBody()
88 BugReporter &BR) const { in checkASTCodeBody()
113 BugReporter &BR) const { in checkASTCodeBody()
137 BugReporter &BR) const { in checkASTCodeBody()
160 BugReporter &BR) const { in checkASTCodeBody()
184 BugReporter &BR) const { in checkASTCodeBody()
214 BugReporter &BR) const { in checkASTDecl()
238 BugReporter &BR) const { in checkASTDecl()
270 BugReporter &BR) const { in checkEndOfTranslationUnit()
DIdenticalExprChecker.cpp37 BugReporter &BR; member in __anondb9d5eab0111::FindIdenticalExprVisitor
44 : BR(B), Checker(Checker), AC(A) {} in FindIdenticalExprVisitor()
70 PathDiagnosticLocation::createOperatorLoc(B, BR.getSourceManager()); in reportIdenticalExpr()
71 BR.EmitBasicReport(AC->getDecl(), Checker, in reportIdenticalExpr()
119 PathDiagnosticLocation ELoc(InnerIf->getCond(), BR.getSourceManager(), AC); in VisitIfStmt()
120 BR.EmitBasicReport(AC->getDecl(), Checker, "Identical conditions", in VisitIfStmt()
142 PathDiagnosticLocation ELoc(Cond2, BR.getSourceManager(), AC); in VisitIfStmt()
143 BR.EmitBasicReport(AC->getDecl(), Checker, "Identical conditions", in VisitIfStmt()
172 PathDiagnosticLocation::createBegin(I, BR.getSourceManager(), AC); in VisitIfStmt()
173 BR.EmitBasicReport(AC->getDecl(), Checker, in VisitIfStmt()
[all …]
DOSObjectCStyleCast.cpp33 BugReporter &BR) const;
52 BugReporter &BR, in emitDiagnostics() argument
66 BR.EmitBasicReport( in emitDiagnostics()
72 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), ADC), in emitDiagnostics()
82 BugReporter &BR) const { in checkASTCodeBody()
116 emitDiagnostics(Match, BR, ADC, this); in checkASTCodeBody()
DDirectIvarAssignment.cpp63 BugReporter &BR; member in __anon8f4719d00111::DirectIvarAssignment::MethodCrawler
71 : IvarToPropMap(InMap), MD(InMD), InterfD(InID), BR(InBR), in MethodCrawler()
91 BugReporter &BR) const;
118 BugReporter &BR) const { in checkASTDecl()
151 MethodCrawler MC(IvarToPropMap, M->getCanonicalDecl(), InterD, BR, this, in checkASTDecl()
200 BR.EmitBasicReport( in VisitBinaryOperator()
204 PathDiagnosticLocation(IvarRef, BR.getSourceManager(), DCtx)); in VisitBinaryOperator()
DUndefCapturedBlockVarChecker.cpp39 if (const DeclRefExpr *BR = dyn_cast<DeclRefExpr>(S)) in FindBlockDeclRefExpr() local
40 if (BR->getDecl() == VD) in FindBlockDeclRefExpr()
41 return BR; in FindBlockDeclRefExpr()
45 if (const DeclRefExpr *BR = FindBlockDeclRefExpr(Child, VD)) in FindBlockDeclRefExpr() local
46 return BR; in FindBlockDeclRefExpr()
DGCDAntipatternChecker.cpp52 BugReporter &BR) const;
181 BugReporter &BR, in emitDiagnostics() argument
193 BR.EmitBasicReport( in emitDiagnostics()
199 PathDiagnosticLocation::createBegin(SW, BR.getSourceManager(), ADC), in emitDiagnostics()
205 BugReporter &BR) const { in checkASTCodeBody()
214 emitDiagnostics(Match, "semaphore", BR, ADC, this); in checkASTCodeBody()
219 emitDiagnostics(Match, "group", BR, ADC, this); in checkASTCodeBody()
/openbsd/src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
DReduceUsingSimplifyCFG.cpp44 auto *BR = dyn_cast<BranchInst>(BB.getTerminator()); in reduceConditionals() local
45 if (!BR || !BR->isConditional() || O.shouldKeep()) in reduceConditionals()
49 BR->setCondition(ConstantInt::getTrue(BR->getContext())); in reduceConditionals()
51 BR->setCondition(ConstantInt::getFalse(BR->getContext())); in reduceConditionals()
/openbsd/src/gnu/llvm/llvm/lib/Object/
DObject.cpp79 LLVMMemoryBufferRef LLVMBinaryCopyMemoryBuffer(LLVMBinaryRef BR) { in LLVMBinaryCopyMemoryBuffer() argument
80 auto Buf = unwrap(BR)->getMemoryBufferRef(); in LLVMBinaryCopyMemoryBuffer()
86 void LLVMDisposeBinary(LLVMBinaryRef BR) { in LLVMDisposeBinary() argument
87 delete unwrap(BR); in LLVMDisposeBinary()
90 LLVMBinaryType LLVMBinaryGetType(LLVMBinaryRef BR) { in LLVMBinaryGetType() argument
135 return BinaryTypeMapper::mapBinaryTypeToLLVMBinaryType(unwrap(BR)->getType()); in LLVMBinaryGetType()
138 LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR, in LLVMMachOUniversalBinaryCopyObjectForArch() argument
142 auto universal = cast<MachOUniversalBinary>(unwrap(BR)); in LLVMMachOUniversalBinaryCopyObjectForArch()
152 LLVMSectionIteratorRef LLVMObjectFileCopySectionIterator(LLVMBinaryRef BR) { in LLVMObjectFileCopySectionIterator() argument
153 auto OF = cast<ObjectFile>(unwrap(BR)); in LLVMObjectFileCopySectionIterator()
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm-c/
DObject.h86 void LLVMDisposeBinary(LLVMBinaryRef BR);
97 LLVMMemoryBufferRef LLVMBinaryCopyMemoryBuffer(LLVMBinaryRef BR);
104 LLVMBinaryType LLVMBinaryGetType(LLVMBinaryRef BR);
117 LLVMBinaryRef LLVMMachOUniversalBinaryCopyObjectForArch(LLVMBinaryRef BR,
133 LLVMSectionIteratorRef LLVMObjectFileCopySectionIterator(LLVMBinaryRef BR);
140 LLVMBool LLVMObjectFileIsSectionIteratorAtEnd(LLVMBinaryRef BR,
154 LLVMSymbolIteratorRef LLVMObjectFileCopySymbolIterator(LLVMBinaryRef BR);
161 LLVMBool LLVMObjectFileIsSymbolIteratorAtEnd(LLVMBinaryRef BR,
/openbsd/src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugReporterVisitors.h68 PathSensitiveBugReport &BR) = 0;
74 PathSensitiveBugReport &BR);
83 PathSensitiveBugReport &BR);
90 const PathSensitiveBugReport &BR);
411 PathSensitiveBugReport &BR) override;
429 PathSensitiveBugReport &BR) override;
456 PathSensitiveBugReport &BR) override;
460 PathSensitiveBugReport &BR);
535 PathSensitiveBugReport &BR) override;
558 PathSensitiveBugReport &BR) override;
[all …]

123456789