Searched refs:BT (Results 1 - 25 of 95) sorted by relevance

1234

/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DFixedAddressChecker.cpp27 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon793::FixedAddressChecker
52 if (!BT)
53 BT.reset(
59 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
H A DTaintTesterChecker.cpp27 mutable std::unique_ptr<BugType> BT; member in class:__anon851::TaintTesterChecker
42 if (!BT)
43 BT.reset(new BugType(this, "Tainted data", "General"));
55 auto report = std::make_unique<PathSensitiveBugReport>(*BT, "tainted", N);
H A DReturnPointerRangeChecker.cpp27 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon845::ReturnPointerRangeChecker
71 if (!BT)
72 BT.reset(new BuiltinBug(
83 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
H A DPointerSubChecker.cpp27 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon841::PointerSubChecker
61 if (!BT)
62 BT.reset(
67 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
H A DUndefinedArraySubscriptChecker.cpp27 mutable std::unique_ptr<BugType> BT; member in class:__anon856::UndefinedArraySubscriptChecker
51 if (!BT)
52 BT.reset(new BuiltinBug(this, "Array subscript is undefined"));
55 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
H A DArrayBoundChecker.cpp27 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon737::ArrayBoundChecker
68 if (!BT)
69 BT.reset(new BuiltinBug(
79 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
H A DNSAutoreleasePoolChecker.cpp34 mutable std::unique_ptr<BugType> BT; member in class:__anon822::NSAutoreleasePoolChecker
60 if (!BT)
61 BT.reset(new BugType(this, "Use -drain instead of -release",
71 *BT,
H A DUndefBranchChecker.cpp27 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon853::UndefBranchChecker
67 if (!BT)
68 BT.reset(new BuiltinBug(
100 *BT, BT->getDescription(), N);
H A DMmapWriteExecChecker.cpp34 mutable std::unique_ptr<BugType> BT; member in class:__anon819::MmapWriteExecChecker
63 if (!BT)
64 BT.reset(new BugType(this, "W^X check fails, Write Exec prot flags set", "Security"));
71 *BT, "Both PROT_WRITE and PROT_EXEC flags are set. This can "
H A DUndefinedAssignmentChecker.cpp26 mutable std::unique_ptr<BugType> BT; member in class:__anon857::UndefinedAssignmentChecker
55 if (!BT)
56 BT.reset(new BuiltinBug(this, DefaultMsg));
111 auto R = std::make_unique<PathSensitiveBugReport>(*BT, OS.str(), N);
H A DUndefCapturedBlockVarChecker.cpp29 mutable std::unique_ptr<BugType> BT; member in class:__anon854::UndefCapturedBlockVarChecker
75 if (!BT)
76 BT.reset(
86 auto R = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N);
H A DCallAndMessageChecker.cpp69 std::unique_ptr<BugType> &BT,
72 static void emitBadCall(BugType *BT, CheckerContext &C, const Expr *BadE);
80 void LazyInit_BT(const char *desc, std::unique_ptr<BugType> &BT) const {
81 if (!BT)
82 BT.reset(new BuiltinBug(this, desc));
86 std::unique_ptr<BugType> &BT,
92 void CallAndMessageChecker::emitBadCall(BugType *BT, CheckerContext &C, argument
98 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
145 std::unique_ptr<BugType> &BT, cons
143 uninitRefOrPointer( CheckerContext &C, const SVal &V, SourceRange ArgRange, const Expr *ArgEx, std::unique_ptr<BugType> &BT, const ParmVarDecl *ParamDecl, const char *BD, int ArgumentNumber) const argument
232 PreVisitProcessArg(CheckerContext &C, SVal V, SourceRange ArgRange, const Expr *ArgEx, int ArgumentNumber, bool CheckUninitFields, const CallEvent &Call, std::unique_ptr<BugType> &BT, const ParmVarDecl *ParamDecl ) const argument
360 BugType *BT = BT_cxx_delete_undef.get(); local
435 std::unique_ptr<BugType> *BT; local
461 BugType *BT = nullptr; local
[all...]
H A DCastSizeChecker.cpp25 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon755::CastSizeChecker
131 if (!BT)
132 BT.reset(new BuiltinBug(this, "Cast region with wrong size.",
135 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(),
H A DDeleteWithNonVirtualDtorChecker.cpp39 mutable std::unique_ptr<BugType> BT; member in class:__anon784::DeleteWithNonVirtualDtorChecker
88 if (!BT)
89 BT.reset(new BugType(this,
95 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
H A DBoolAssignmentChecker.cpp25 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon748::BoolAssignmentChecker
35 if (!BT)
36 BT.reset(new BuiltinBug(this, "Assignment of a non-Boolean value"));
39 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N));
H A DDivZeroChecker.cpp27 mutable std::unique_ptr<BuiltinBug> BT; member in class:__anon787::DivZeroChecker
47 if (!BT)
48 BT.reset(new BuiltinBug(this, "Division by zero"));
50 auto R = std::make_unique<PathSensitiveBugReport>(*BT, Msg, N);
H A DReturnUndefChecker.cpp80 static void emitBug(CheckerContext &C, BuiltinBug &BT, const Expr *RetE, argument
87 std::make_unique<PathSensitiveBugReport>(BT, BT.getDescription(), N);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/plugins/SampleAnalyzer/
H A DMainCallChecker.cpp11 mutable std::unique_ptr<BugType> BT; member in class:__anon310::MainCallChecker
36 if (!BT)
37 BT.reset(new BugType(this, "call to main", "example analyzer plugin"));
40 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DBitTracker.cpp45 // BitTracker BT(TSE, MF);
46 // BT.run();
49 // RegisterCell RC = BT.get(Reg);
73 using BT = BitTracker;
97 raw_ostream &operator<<(raw_ostream &OS, const BT::BitValue &BV) {
99 case BT::BitValue::Top:
102 case BT::BitValue::Zero:
105 case BT::BitValue::One:
108 case BT::BitValue::Ref:
115 raw_ostream &operator<<(raw_ostream &OS, const BT
[all...]
H A DHexagonBitTracker.cpp38 using BT = BitTracker;
89 BT::BitMask HexagonEvaluator::mask(unsigned Reg, unsigned Sub) const {
101 return IsSubLo ? BT::BitMask(0, RW-1)
102 : BT::BitMask(RW, 2*RW-1);
163 std::vector<BT::RegisterRef> Vector;
170 Vector[i] = BT::RegisterRef(MO);
178 const BT::RegisterRef &operator[](unsigned n) const {
260 auto rr0 = [this,Reg] (const BT::RegisterCell &Val, CellMapType &Outputs)
267 uint16_t W) -> BT::RegisterCell {
277 auto lo = [this] (const BT
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.h39 RefCountBug(const CheckerBase *checker, RefCountBugType BT);
43 return BT;
51 RefCountBugType BT; member in class:clang::ento::retaincountchecker::RefCountBug
53 static StringRef bugTypeToName(RefCountBugType BT);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeSymbolEnumerator.cpp75 const NativeTypeBuiltin &BT = Parent.getUnderlyingBuiltinType(); local
77 switch (BT.getBuiltinType()) {
81 assert(Record.Value.isSignedIntN(BT.getLength() * 8));
83 switch (BT.getLength()) {
97 assert(Record.Value.isIntN(BT.getLength() * 8));
99 switch (BT.getLength()) {
112 assert(Record.Value.isIntN(BT.getLength() * 8));
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.h47 TypeIdx TypeIdxFromBuiltin(const BuiltinType *BT);
62 if (const BuiltinType *BT = dyn_cast<BuiltinType>(T.getTypePtr()))
63 return TypeIdxFromBuiltin(BT).asTypeID(FastQuals);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp107 if (auto *BT = dyn_cast<DIBasicType>(T)) {
109 auto Encoding = dwarf::AttributeEncodingString(BT->getEncoding());
113 O << "unknown-encoding(" << BT->getEncoding() << ')';
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h66 template <class BT> struct BlockEdgesAdder;
840 template <class BT> class BlockFrequencyInfoImpl : BlockFrequencyInfoImplBase {
842 friend struct bfi_detail::BlockEdgesAdder<BT>;
844 using BlockT = typename bfi_detail::TypeMap<BT>::BlockT;
845 using FunctionT = typename bfi_detail::TypeMap<BT>::FunctionT;
847 typename bfi_detail::TypeMap<BT>::BranchProbabilityInfoT;
848 using LoopT = typename bfi_detail::TypeMap<BT>::LoopT;
849 using LoopInfoT = typename bfi_detail::TypeMap<BT>::LoopInfoT;
1019 template <class BT>
1020 void BlockFrequencyInfoImpl<BT>
[all...]

Completed in 319 milliseconds

1234