Home
last modified time | relevance | path

Searched refs:BT (Results 1 – 25 of 356) sorted by relevance

12345678910>>...15

/external/llvm/lib/Target/Hexagon/
DBitTracker.cpp69 typedef BitTracker BT; typedef
87 raw_ostream &llvm::operator<<(raw_ostream &OS, const BT::BitValue &BV) { in operator <<()
89 case BT::BitValue::Top: in operator <<()
92 case BT::BitValue::Zero: in operator <<()
95 case BT::BitValue::One: in operator <<()
98 case BT::BitValue::Ref: in operator <<()
105 raw_ostream &llvm::operator<<(raw_ostream &OS, const BT::RegisterCell &RC) { in operator <<()
117 const BT::BitValue &V = RC[i]; in operator <<()
118 const BT::BitValue &SV = RC[Start]; in operator <<()
119 bool IsRef = (V.Type == BT::BitValue::Ref); in operator <<()
[all …]
DHexagonBitTracker.cpp23 typedef BitTracker BT; typedef
78 BT::BitMask HexagonEvaluator::mask(unsigned Reg, unsigned Sub) const { in mask()
89 return (Sub == subreg_loreg) ? BT::BitMask(0, RW-1) in mask()
90 : BT::BitMask(RW, 2*RW-1); in mask()
102 std::vector<BT::RegisterRef> Vector;
109 Vector[i] = BT::RegisterRef(MO); in RegisterRefs()
116 const BT::RegisterRef &operator[](unsigned n) const { in operator []()
187 auto rr0 = [this,Reg] (const BT::RegisterCell &Val, CellMapType &Outputs) in evaluate()
194 -> BT::RegisterCell { in evaluate()
204 auto lo = [this] (const BT::RegisterCell &RC, uint16_t RW) in evaluate()
[all …]
/external/clang/test/SemaObjC/
Dns_returns_retained_block_return.m8 typedef void (^BT) (); typedef
10 BT foo() __attribute__((ns_returns_retained));
13 BT foo() __attribute__((ns_returns_retained));
14 - (BT) Meth __attribute__((ns_returns_retained));
15 + (BT) ClsMeth __attribute__((ns_returns_retained));
19 BT foo() __attribute__((ns_returns_retained)) {return ^{}; }
20 - (BT) Meth {return ^{}; }
21 + (BT) ClsMeth {return ^{}; }
/external/clang/lib/StaticAnalyzer/Checkers/
DCallAndMessageChecker.cpp76 std::unique_ptr<BugType> &BT,
79 static void emitBadCall(BugType *BT, CheckerContext &C, const Expr *BadE);
87 void LazyInit_BT(const char *desc, std::unique_ptr<BugType> &BT) const { in LazyInit_BT()
88 if (!BT) in LazyInit_BT()
89 BT.reset(new BuiltinBug(this, desc)); in LazyInit_BT()
93 const Expr *ArgEx, std::unique_ptr<BugType> &BT,
98 void CallAndMessageChecker::emitBadCall(BugType *BT, CheckerContext &C, in emitBadCall() argument
104 auto R = llvm::make_unique<BugReport>(*BT, BT->getName(), N); in emitBadCall()
143 std::unique_ptr<BugType> &BT, in uninitRefOrPointer() argument
173 LazyInit_BT(BD, BT); in uninitRefOrPointer()
[all …]
DExprInspectionChecker.cpp21 mutable std::unique_ptr<BugType> BT; member in __anon6f2d8ca50111::ExprInspectionChecker
103 if (!BT) in analyzerEval()
104 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug")); in analyzerEval()
110 llvm::make_unique<BugReport>(*BT, getArgumentValueString(CE, C), N)); in analyzerEval()
116 if (!BT) in analyzerWarnIfReached()
117 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug")); in analyzerWarnIfReached()
122 C.emitReport(llvm::make_unique<BugReport>(*BT, "REACHABLE", N)); in analyzerWarnIfReached()
137 if (!BT) in analyzerCheckInlined()
138 BT.reset(new BugType(this, "Checking analyzer assumptions", "debug")); in analyzerCheckInlined()
144 llvm::make_unique<BugReport>(*BT, getArgumentValueString(CE, C), N)); in analyzerCheckInlined()
[all …]
DUndefinedArraySubscriptChecker.cpp28 mutable std::unique_ptr<BugType> BT; member in __anondd56475a0111::UndefinedArraySubscriptChecker
52 if (!BT) in checkPreStmt()
53 BT.reset(new BuiltinBug(this, "Array subscript is undefined")); in checkPreStmt()
56 auto R = llvm::make_unique<BugReport>(*BT, BT->getName(), N); in checkPreStmt()
DFixedAddressChecker.cpp28 mutable std::unique_ptr<BuiltinBug> BT; member in __anon7b5ebcc00111::FixedAddressChecker
54 if (!BT) in checkPreStmt()
55 BT.reset( in checkPreStmt()
60 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
DPointerArithChecker.cpp27 mutable std::unique_ptr<BuiltinBug> BT; member in __anon7272efc30111::PointerArithChecker
55 if (!BT) in checkPreStmt()
56 BT.reset( in checkPreStmt()
61 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
DCastToStructChecker.cpp27 mutable std::unique_ptr<BuiltinBug> BT; member in __anon9a9ad7dd0111::CastToStructChecker
60 if (!BT) in checkPreStmt()
61 BT.reset( in checkPreStmt()
66 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
DPointerSubChecker.cpp28 mutable std::unique_ptr<BuiltinBug> BT; member in __anon42d019d50111::PointerSubChecker
64 if (!BT) in checkPreStmt()
65 BT.reset( in checkPreStmt()
69 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
DArrayBoundChecker.cpp28 mutable std::unique_ptr<BuiltinBug> BT; member in __anon660ce6a10111::ArrayBoundChecker
69 if (!BT) in checkLocation()
70 BT.reset(new BuiltinBug( in checkLocation()
79 auto report = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N); in checkLocation()
DReturnPointerRangeChecker.cpp28 mutable std::unique_ptr<BuiltinBug> BT; member in __anonb3ecfc980111::ReturnPointerRangeChecker
72 if (!BT) in checkPreStmt()
73 BT.reset(new BuiltinBug( in checkPreStmt()
83 auto report = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
DTaintTesterChecker.cpp25 mutable std::unique_ptr<BugType> BT; member in __anonb2fbf0e10111::TaintTesterChecker
40 if (!BT) in initBugType()
41 BT.reset(new BugType(this, "Tainted data", "General")); in initBugType()
53 auto report = llvm::make_unique<BugReport>(*BT, "tainted",N); in checkPostStmt()
DUndefBranchChecker.cpp27 mutable std::unique_ptr<BuiltinBug> BT; member in __anonee43d44a0111::UndefBranchChecker
67 if (!BT) in checkBranchCondition()
68 BT.reset(new BuiltinBug( in checkBranchCondition()
99 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), N); in checkBranchCondition()
DNSAutoreleasePoolChecker.cpp35 mutable std::unique_ptr<BugType> BT; member in __anonb17c2a9f0111::NSAutoreleasePoolChecker
61 if (!BT) in checkPreObjCMessage()
62 BT.reset(new BugType(this, "Use -drain instead of -release", in checkPreObjCMessage()
72 *BT, "Use -drain instead of -release when using NSAutoreleasePool and " in checkPreObjCMessage()
DBoolAssignmentChecker.cpp26 mutable std::unique_ptr<BuiltinBug> BT; member in __anonbc8dd0cf0111::BoolAssignmentChecker
36 if (!BT) in emitReport()
37 BT.reset(new BuiltinBug(this, "Assignment of a non-Boolean value")); in emitReport()
38 C.emitReport(llvm::make_unique<BugReport>(*BT, BT->getDescription(), N)); in emitReport()
DUndefinedAssignmentChecker.cpp27 mutable std::unique_ptr<BugType> BT; member in __anonbe200c950111::UndefinedAssignmentChecker
56 if (!BT) in checkBind()
57 BT.reset(new BuiltinBug(this, str)); in checkBind()
86 auto R = llvm::make_unique<BugReport>(*BT, str, N); in checkBind()
DCastSizeChecker.cpp26 mutable std::unique_ptr<BuiltinBug> BT; member in __anon7695f2700111::CastSizeChecker
135 if (!BT) in checkPreStmt()
136 BT.reset(new BuiltinBug(this, "Cast region with wrong size.", in checkPreStmt()
139 auto R = llvm::make_unique<BugReport>(*BT, BT->getDescription(), errorNode); in checkPreStmt()
DUndefResultChecker.cpp31 mutable std::unique_ptr<BugType> BT; member in __anonacb608fb0111::UndefResultChecker
57 if (!BT) in checkPostStmt()
58 BT.reset( in checkPostStmt()
87 auto report = llvm::make_unique<BugReport>(*BT, OS.str(), N); in checkPostStmt()
DDivZeroChecker.cpp26 mutable std::unique_ptr<BuiltinBug> BT; member in __anon1521446d0111::DivZeroChecker
39 if (!BT) in reportBug()
40 BT.reset(new BuiltinBug(this, "Division by zero")); in reportBug()
42 auto R = llvm::make_unique<BugReport>(*BT, Msg, N); in reportBug()
DUndefCapturedBlockVarChecker.cpp30 mutable std::unique_ptr<BugType> BT; member in __anoncba412480111::UndefCapturedBlockVarChecker
78 if (!BT) in checkPostStmt()
79 BT.reset( in checkPostStmt()
89 auto R = llvm::make_unique<BugReport>(*BT, os.str(), N); in checkPostStmt()
/external/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h52 template <class BT> struct BlockEdgesAdder;
788 template <class BT> class BlockFrequencyInfoImpl : BlockFrequencyInfoImplBase {
789 typedef typename bfi_detail::TypeMap<BT>::BlockT BlockT;
790 typedef typename bfi_detail::TypeMap<BT>::FunctionT FunctionT;
791 typedef typename bfi_detail::TypeMap<BT>::BranchProbabilityInfoT
793 typedef typename bfi_detail::TypeMap<BT>::LoopT LoopT;
794 typedef typename bfi_detail::TypeMap<BT>::LoopInfoT LoopInfoT;
797 friend struct bfi_detail::BlockEdgesAdder<BT>;
943 template <class BT>
944 void BlockFrequencyInfoImpl<BT>::calculate(const FunctionT &F,
[all …]
/external/clang/test/SemaCXX/
Dns_returns_retained_block_return.cpp6 typedef void (^BT) (); typedef
9 BT br() __attribute__((ns_returns_retained)) { in br()
12 BT br1() __attribute__((ns_returns_retained));
15 BT S::br1() { in br1()
/external/skia/resources/
Dpdf_command_stream.txt44 BT
54 BT
139 BT
225 BT
234 BT
240 BT
272 BT
295 BT
322 BT
408 BT
[all …]
/external/clang/examples/analyzer-plugin/
DMainCallChecker.cpp11 mutable std::unique_ptr<BugType> BT; member in __anon987aebf00111::MainCallChecker
37 if (!BT) in checkPreStmt()
38 BT.reset(new BugType(this, "call to main", "example analyzer plugin")); in checkPreStmt()
41 llvm::make_unique<BugReport>(*BT, BT->getName(), N); in checkPreStmt()

12345678910>>...15