Home
last modified time | relevance | path

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

123456

/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileLoaderBaseImpl.h227 template <typename BT>
249 template <typename BT>
259 template <typename BT>
271 template <typename BT>
291 template <typename BT>
297 template <typename BT>
349 template <typename BT>
370 template <typename BT>
396 template <typename BT>
433 template <typename BT>
[all …]
H A DSampleProfileInference.h83 template <typename BT> class SampleProfileInference {
85 using BasicBlockT = typename afdo_detail::TypeMap<BT>::BasicBlockT;
86 using FunctionT = typename afdo_detail::TypeMap<BT>::FunctionT;
120 template <typename BT>
121 void SampleProfileInference<BT>::apply(BlockWeightMap &BlockWeights,
242 template <typename BT>
243 inline void SampleProfileInference<BT>::findUnlikelyJumps(
272 template <typename BT>
273 inline bool SampleProfileInference<BT>::isExit(const BasicBlockT *BB) {
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DBitTracker.cpp214 BT::RegisterCell &BT::RegisterCell::insert(const BT::RegisterCell &RC, in insert()
235 BT::RegisterCell BT::RegisterCell::extract(const BitMask &M) const { in extract()
253 BT::RegisterCell &BT::RegisterCell::rol(uint16_t Sh) { in rol()
274 BT::RegisterCell &BT::RegisterCell::fill(uint16_t B, uint16_t E, in fill()
282 BT::RegisterCell &BT::RegisterCell::cat(const RegisterCell &RC) { in cat()
320 BT::RegisterCell &BT::RegisterCell::regify(unsigned R) { in regify()
432 BT::RegisterCell BT::MachineEvaluator::eADD(const RegisterCell &A1, in eADD()
465 BT::RegisterCell BT::MachineEvaluator::eSUB(const RegisterCell &A1, in eSUB()
498 BT::RegisterCell BT::MachineEvaluator::eMLS(const RegisterCell &A1, in eMLS()
990 BT::RegisterCell BT::get(RegisterRef RR) const { in get()
[all …]
H A DHexagonBitTracker.cpp38 using BT = BitTracker; typedef
276 -> BT::RegisterCell { in evaluate()
282 -> BT::RegisterCell { in evaluate()
289 -> BT::RegisterCell { in evaluate()
294 auto shuffle = [this] (const BT::RegisterCell &Rs, const BT::RegisterCell &Rt, in evaluate()
706 const BT::BitValue Zero = BT::BitValue::Zero; in evaluate()
801 BT::BitValue F = (V.is(0) || V.is(1)) ? V : BT::BitValue::self(); in evaluate()
895 RC.fill(0, W0, (All1 ? BT::BitValue::One : BT::BitValue::Zero)); in evaluate()
912 RC.fill(0, W0, (Has1 ? BT::BitValue::One : BT::BitValue::Zero)); in evaluate()
957 BT::BitValue F = V.is(TV) ? BT::BitValue::One : BT::BitValue::Zero; in evaluate()
[all …]
H A DHexagonBitSimplify.cpp1100 BitTracker &BT; member in __anon7ae497e50511::RedundantInstrElimination
1417 BitTracker &BT; member in __anon7ae497e50611::ConstGeneration
1547 BitTracker &BT; member in __anon7ae497e50711::CopyGeneration
1648 BT.put(BitTracker::RegisterRef(NewR), BT.get(MR)); in processBlock()
1670 BT.put(BitTracker::RegisterRef(NewR), BT.get(R)); in processBlock()
1823 BitTracker &BT; member in __anon7ae497e50811::BitSimplification
2811 BT.run(); in runOnMachineFunction()
2824 BT.run(); in runOnMachineFunction()
2837 BT.run(); in runOnMachineFunction()
3353 BT.run(); in runOnMachineFunction()
[all …]
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dns_returns_retained_block_return.m8 typedef void (^BT) (void);
10 BT foo(void) __attribute__((ns_returns_retained));
13 BT foo(void) __attribute__((ns_returns_retained));
14 - (BT) Meth __attribute__((ns_returns_retained));
15 + (BT) ClsMeth __attribute__((ns_returns_retained));
19 BT foo(void) __attribute__((ns_returns_retained)) {return ^{}; }
20 - (BT) Meth {return ^{}; }
21 + (BT) ClsMeth {return ^{}; }
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCallAndMessageChecker.cpp125 if (!BT) in LazyInit_BT()
142 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in emitBadCall()
224 LazyInit_BT(BD, BT); in uninitRefOrPointer()
301 LazyInit_BT(BD, BT); in PreVisitProcessArg()
331 LazyInit_BT(BD, BT); in PreVisitProcessArg()
522 std::unique_ptr<BugType> *BT; in checkArgInitializedness() local
524 BT = &BT_msg_arg; in checkArgInitializedness()
526 BT = &BT_call_arg; in checkArgInitializedness()
584 BugType *BT = nullptr; in checkPreObjCMessage() local
591 BT = BT_msg_undef.get(); in checkPreObjCMessage()
[all …]
H A DFixedAddressChecker.cpp27 mutable std::unique_ptr<BuiltinBug> BT; member in __anon241add890111::FixedAddressChecker
52 if (!BT) in checkPreStmt()
53 BT.reset( in checkPreStmt()
59 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
H A DUndefinedArraySubscriptChecker.cpp27 mutable std::unique_ptr<BugType> BT; member in __anonf352b8830111::UndefinedArraySubscriptChecker
51 if (!BT) in checkPreStmt()
52 BT.reset(new BuiltinBug(this, "Array subscript is undefined")); in checkPreStmt()
55 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
H A DPointerSubChecker.cpp27 mutable std::unique_ptr<BuiltinBug> BT; member in __anondf4b745e0111::PointerSubChecker
61 if (!BT) in checkPreStmt()
62 BT.reset( in checkPreStmt()
67 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
H A DArrayBoundChecker.cpp28 mutable std::unique_ptr<BuiltinBug> BT; member in __anon0288412a0111::ArrayBoundChecker
68 if (!BT) in checkLocation()
69 BT.reset(new BuiltinBug( in checkLocation()
79 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in checkLocation()
H A DUndefBranchChecker.cpp29 mutable std::unique_ptr<BuiltinBug> BT; member in __anon1a2a7ff30111::UndefBranchChecker
72 if (!BT) in checkBranchCondition()
73 BT.reset(new BuiltinBug( in checkBranchCondition()
105 *BT, BT->getDescription(), N); in checkBranchCondition()
H A DNSAutoreleasePoolChecker.cpp34 mutable std::unique_ptr<BugType> BT; member in __anona9a931080111::NSAutoreleasePoolChecker
60 if (!BT) in checkPreObjCMessage()
61 BT.reset(new BugType(this, "Use -drain instead of -release", in checkPreObjCMessage()
71 *BT, in checkPreObjCMessage()
H A DReturnPointerRangeChecker.cpp29 mutable std::unique_ptr<BuiltinBug> BT; member in __anonb1bad0210111::ReturnPointerRangeChecker
77 if (!BT) in checkPreStmt()
78 BT.reset(new BuiltinBug( in checkPreStmt()
85 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
H A DDeleteWithNonVirtualDtorChecker.cpp39 mutable std::unique_ptr<BugType> BT; member in __anondcb69f8d0111::DeleteWithNonVirtualDtorChecker
88 if (!BT) in checkPreStmt()
89 BT.reset(new BugType(this, in checkPreStmt()
97 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
H A DMmapWriteExecChecker.cpp34 mutable std::unique_ptr<BugType> BT; member in __anond759516e0111::MmapWriteExecChecker
63 if (!BT) in checkPreCall()
64 BT.reset(new BugType(this, "W^X check fails, Write Exec prot flags set", "Security")); in checkPreCall()
71 *BT, "Both PROT_WRITE and PROT_EXEC flags are set. This can " in checkPreCall()
H A DCastSizeChecker.cpp27 mutable std::unique_ptr<BuiltinBug> BT; member in __anona63716b90111::CastSizeChecker
134 if (!BT) in checkPreStmt()
135 BT.reset(new BuiltinBug(this, "Cast region with wrong size.", in checkPreStmt()
138 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), in checkPreStmt()
H A DUndefCapturedBlockVarChecker.cpp29 mutable std::unique_ptr<BugType> BT; member in __anon865025310111::UndefCapturedBlockVarChecker
75 if (!BT) in checkPostStmt()
76 BT.reset( in checkPostStmt()
86 auto R = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N); in checkPostStmt()
H A DUndefinedAssignmentChecker.cpp26 mutable std::unique_ptr<BugType> BT; member in __anon75a8513e0111::UndefinedAssignmentChecker
55 if (!BT) in checkBind()
56 BT.reset(new BuiltinBug(this, DefaultMsg)); in checkBind()
111 auto R = std::make_unique<PathSensitiveBugReport>(*BT, OS.str(), N); in checkBind()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h1109 template <class BT>
1151 template <class BT>
1256 template <class BT>
1330 template <class BT>
1359 template <class BT>
1427 template <class BT>
1512 template <class BT>
1567 template <class BT>
1625 template <class BT>
1665 template <class BT>
[all …]
/llvm-project-15.0.7/clang/lib/Analysis/plugins/SampleAnalyzer/
H A DMainCallChecker.cpp11 mutable std::unique_ptr<BugType> BT; member in __anonc367449b0111::MainCallChecker
36 if (!BT) in checkPreStmt()
37 BT.reset(new BugType(this, "call to main", "example analyzer plugin")); in checkPreStmt()
40 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A 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()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DNativeSymbolEnumerator.cpp77 const NativeTypeBuiltin &BT = Parent.getUnderlyingBuiltinType(); in getValue() local
79 switch (BT.getBuiltinType()) { in getValue()
83 assert(Record.Value.isSignedIntN(BT.getLength() * 8)); in getValue()
85 switch (BT.getLength()) { in getValue()
99 assert(Record.Value.isIntN(BT.getLength() * 8)); in getValue()
101 switch (BT.getLength()) { in getValue()
114 assert(Record.Value.isIntN(BT.getLength() * 8)); in getValue()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCMacroFusion.cpp170 const MachineOperand &BT = SecondMI.getOperand(0); in checkOpConstraints() local
171 if (!BT.isReg() || in checkOpConstraints()
172 (!Register::isVirtualRegister(BT.getReg()) && BT.getReg() != PPC::CR0)) in checkOpConstraints()
182 const MachineOperand &BT = SecondMI.getOperand(0); in checkOpConstraints() local
183 if (!BT.isReg() || in checkOpConstraints()
184 (!Register::isVirtualRegister(BT.getReg()) && BT.getReg() != PPC::CR0)) in checkOpConstraints()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.h39 RefCountBug(CheckerNameRef Checker, RefCountBugKind BT);
42 RefCountBugKind getBugType() const { return BT; } in getBugType()
45 RefCountBugKind BT;
46 static StringRef bugTypeToName(RefCountBugKind BT);

123456