Home
last modified time | relevance | path

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

12345678910

/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan.h170 template <typename BT> double GetULPDiffBits(BT v1_bits, BT v2_bits) {
183 using BT = typename FTInfo<FT>::orig_bits_type;
184 static_assert(sizeof(FT) == sizeof(BT), "not implemented");
185 static_assert(sizeof(BT) <= 64, "not implemented");
186 BT v1_bits;
187 __builtin_memcpy(&v1_bits, &v1, sizeof(BT));
188 BT v2_bits;
189 __builtin_memcpy(&v2_bits, &v2, sizeof(BT));
193 constexpr BT kSignMask = BT{1} << (CHAR_BIT * sizeof(BT) - 1);
198 return GetULPDiffBits<BT>(v1_bits, kSignMask) +
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DBitTracker.cpp73 using BT = BitTracker; typedef
97 raw_ostream &operator<<(raw_ostream &OS, const BT::BitValue &BV) { in operator <<()
99 case BT::BitValue::Top: in operator <<()
102 case BT::BitValue::Zero: in operator <<()
105 case BT::BitValue::One: in operator <<()
108 case BT::BitValue::Ref: in operator <<()
115 raw_ostream &operator<<(raw_ostream &OS, const BT::RegisterCell &RC) { in operator <<()
127 const BT::BitValue &V = RC[i]; in operator <<()
128 const BT::BitValue &SV = RC[Start]; in operator <<()
129 bool IsRef = (V.Type == BT::BitValue::Ref); in operator <<()
[all …]
H A DHexagonBitTracker.cpp38 using BT = BitTracker; typedef
89 BT::BitMask HexagonEvaluator::mask(Register Reg, unsigned Sub) const { in mask()
101 return IsSubLo ? BT::BitMask(0, RW-1) in mask()
102 : BT::BitMask(RW, 2*RW-1); in mask()
161 std::vector<BT::RegisterRef> Vector;
168 Vector[i] = BT::RegisterRef(MO); in RegisterRefs()
176 const BT::RegisterRef &operator[](unsigned n) const { in operator []()
258 auto rr0 = [this,Reg] (const BT::RegisterCell &Val, CellMapType &Outputs) in evaluate()
265 uint16_t W) -> BT::RegisterCell { in evaluate()
275 auto lo = [this] (const BT::RegisterCell &RC, uint16_t RW) in evaluate()
[all …]
H A DHexagonBitSimplify.cpp1083 : Transformation(true), HII(hii), HRI(hri), MRI(mri), BT(bt) {} in RedundantInstrElimination()
1100 BitTracker &BT; member in __anonbc27dab50511::RedundantInstrElimination
1308 const BitTracker::RegisterCell &DC = BT.lookup(RD.Reg); in usedBitsEqual()
1309 const BitTracker::RegisterCell &SC = BT.lookup(RS.Reg); in usedBitsEqual()
1332 if (!BT.reached(&B)) in processBlock()
1348 if (!BT.has(RD.Reg)) in processBlock()
1350 const BitTracker::RegisterCell &DC = BT.lookup(RD.Reg); in processBlock()
1358 if (!BT.has(RS.Reg)) in processBlock()
1367 const BitTracker::RegisterCell &SC = BT.lookup(RS.Reg); in processBlock()
1388 BT.visit(*CopyI); in processBlock()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileLoaderBaseImpl.h183 using BT = std::remove_pointer_t<NodeRef>;
184 using InstructionT = typename afdo_detail::IRTraits<BT>::InstructionT;
185 using BasicBlockT = typename afdo_detail::IRTraits<BT>::BasicBlockT;
187 typename afdo_detail::IRTraits<BT>::BlockFrequencyInfoT;
188 using FunctionT = typename afdo_detail::IRTraits<BT>::FunctionT;
189 using LoopT = typename afdo_detail::IRTraits<BT>::LoopT;
190 using LoopInfoPtrT = typename afdo_detail::IRTraits<BT>::LoopInfoPtrT;
192 typename afdo_detail::IRTraits<BT>::DominatorTreePtrT;
194 typename afdo_detail::IRTraits<BT>::PostDominatorTreePtrT;
196 typename afdo_detail::IRTraits<BT>::PostDominatorTreeT;
[all …]
H A DSampleProfileInference.h162 template <typename BT>
163 void SampleProfileInference<BT>::apply(BlockWeightMap &BlockWeights, in apply()
241 template <typename BT>
242 FlowFunction SampleProfileInference<BT>::createFlowFunction( in createFlowFunction()
300 template <typename BT>
301 inline void SampleProfileInference<BT>::findUnlikelyJumps( in findUnlikelyJumps()
305 template <typename BT>
306 inline bool SampleProfileInference<BT>::isExit(const BasicBlockT *BB) { in isExit()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h76 template <class BT> struct BlockEdgesAdder;
845 template <class BT> class BlockFrequencyInfoImpl : BlockFrequencyInfoImplBase {
847 friend struct bfi_detail::BlockEdgesAdder<BT>;
849 using BlockT = typename bfi_detail::TypeMap<BT>::BlockT;
850 using BlockKeyT = typename bfi_detail::TypeMap<BT>::BlockKeyT;
851 using FunctionT = typename bfi_detail::TypeMap<BT>::FunctionT;
853 typename bfi_detail::TypeMap<BT>::BranchProbabilityInfoT;
854 using LoopT = typename bfi_detail::TypeMap<BT>::LoopT;
855 using LoopInfoT = typename bfi_detail::TypeMap<BT>::LoopInfoT;
1068 void verifyMatch(BlockFrequencyInfoImpl<BT> &Other) const;
[all …]
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangBuiltinsEmitter.cpp217 void PrintAttributes(const Record *Builtin, BuiltinType BT, in PrintAttributes() argument
221 if (BT == BuiltinType::LibBuiltin) { in PrintAttributes()
245 const Record *Builtin, Twine Spelling, BuiltinType BT) { in EmitBuiltinDef() argument
248 switch (BT) { in EmitBuiltinDef()
269 PrintAttributes(Builtin, BT, OS); in EmitBuiltinDef()
271 switch (BT) { in EmitBuiltinDef()
328 BuiltinType BT = BuiltinType::Builtin; in EmitBuiltin() local
330 BT = BuiltinType::AtomicBuiltin; in EmitBuiltin()
332 BT = BuiltinType::LangBuiltin; in EmitBuiltin()
334 BT = BuiltinType::TargetBuiltin; in EmitBuiltin()
[all …]
H A DRISCVVEmitter.cpp360 BasicType BT = ParseBasicType(I); in createHeader() local
362 auto T = TypeCache.computeType(BT, Log2LMUL, PrototypeDescriptor::Vector); in createHeader()
366 BT, Log2LMUL, in createHeader()
374 BT, Log2LMUL, in createHeader()
378 BT, Log2LMUL, in createHeader()
389 for (BasicType BT : {BasicType::Float16, BasicType::Float32, in createHeader()
392 auto T = TypeCache.computeType(BT, Log2LMUL, PrototypeDescriptor::Vector); in createHeader()
397 BT, Log2LMUL, in createHeader()
399 (BT == BasicType::BFloat16 in createHeader()
563 BasicType BT = ParseBasicType(I); in createRVVIntrinsics() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/plugins/SampleAnalyzer/
H A DMainCallChecker.cpp11 mutable std::unique_ptr<BugType> BT; member in __anon6d3d0d6b0111::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()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMacroFusion.cpp171 const MachineOperand &BT = SecondMI.getOperand(0); in checkOpConstraints() local
172 if (!BT.isReg() || (!BT.getReg().isVirtual() && BT.getReg() != PPC::CR0)) in checkOpConstraints()
182 const MachineOperand &BT = SecondMI.getOperand(0); in checkOpConstraints() local
183 if (!BT.isReg() || (!BT.getReg().isVirtual() && BT.getReg() != PPC::CR0)) in checkOpConstraints()
/freebsd/contrib/llvm-project/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);
H A DRetainCountDiagnostics.cpp24 StringRef RefCountBug::bugTypeToName(RefCountBug::RefCountBugKind BT) { in bugTypeToName() argument
25 switch (BT) { in bugTypeToName()
47 switch (BT) { in getDescription()
69 RefCountBug::RefCountBug(CheckerNameRef Checker, RefCountBugKind BT) in RefCountBug() argument
70 : BugType(Checker, bugTypeToName(BT), categories::MemoryRefCount, in RefCountBug()
71 /*SuppressOnSink=*/BT == LeakWithinFunction || in RefCountBug()
72 BT == LeakAtReturn), in RefCountBug()
73 BT(BT) {} in RefCountBug()
456 const auto &BT = static_cast<const RefCountBug&>(BR.getBugType()); in VisitNode() local
458 bool IsFreeUnowned = BT.getBugType() == RefCountBug::FreeNotOwned || in VisitNode()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DPPC.cpp169 if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) in isPromotableTypeForABI() local
170 switch (BT->getKind()) { in isPromotableTypeForABI()
385 const BuiltinType *BT = EltType->getAs<BuiltinType>(); in getParamTypeAlignment() local
387 (BT && BT->isFloatingPoint())) in getParamTypeAlignment()
646 const BuiltinType *BT = T->getAs<BuiltinType>(); in computeInfo() local
648 (BT && BT->isFloatingPoint())) { in computeInfo()
714 if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) in isPromotableTypeForABI() local
715 switch (BT->getKind()) { in isPromotableTypeForABI()
758 const BuiltinType *BT = EltType->getAs<BuiltinType>(); in getParamTypeAlignment() local
760 (BT && BT->isFloatingPoint())) in getParamTypeAlignment()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/ipmi/
H A Daspeed,ast2400-ibt-bmc.txt1 * Aspeed BT (Block Transfer) IPMI interface
4 (BaseBoard Management Controllers) and the BT interface can be used to
18 - interrupts: interrupt generated by the BT interface. without an
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCXXDeleteChecker.cpp69 const BugType BT{ member in __anon2fcef0a90111::DeleteWithNonVirtualDtorChecker
79 const BugType BT{this, member in __anon2fcef0a90111::CXXArrayDeleteChecker
132 auto R = std::make_unique<PathSensitiveBugReport>(BT, BT.getDescription(), N); in checkTypedDeleteExpr()
175 auto R = std::make_unique<PathSensitiveBugReport>(BT, OS.str(), N); in checkTypedDeleteExpr()
H A DBasicObjCFoundationChecks.cpp103 mutable std::unique_ptr<APIMisuse> BT; member in __anoncdfed0b60211::NilArgChecker
222 if (!BT) in generateBugReport()
223 BT.reset(new APIMisuse(this, "nil argument")); in generateBugReport()
225 auto R = std::make_unique<PathSensitiveBugReport>(*BT, Msg, N); in generateBugReport()
354 mutable std::unique_ptr<APIMisuse> BT; member in __anoncdfed0b60311::CFNumberChecker
528 if (!BT) in checkPreStmt()
529 BT.reset(new APIMisuse(this, "Bad use of CFNumber APIs")); in checkPreStmt()
531 auto report = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N); in checkPreStmt()
543 mutable APIMisuse BT{this, "null passed to CF memory management function"}; member in __anoncdfed0b60411::CFRetainReleaseChecker
583 auto report = std::make_unique<PathSensitiveBugReport>(BT, OS.str(), N); in checkPreCall()
[all …]
H A DDereferenceChecker.cpp158 const BugType *BT = nullptr; in reportBug() local
163 BT = &BT_Null; in reportBug()
168 BT = &BT_Undef; in reportBug()
173 BT = &BT_Label; in reportBug()
207 os << BT->getDescription(); in reportBug()
234 *BT, buf.empty() ? BT->getDescription() : buf.str(), N); in reportBug()
/freebsd/sys/contrib/device-tree/src/arm/allwinner/
H A Dsun8i-h2-plus-bananapi-m2-zero.dts242 "WL-SDIO-D2", "WL-SDIO-D3", "BT-UART-TX", "BT-UART-RX",
243 "BT-UART-RTS", "BT-UART-CTS", "WL-WAKE-AP", "BT-WAKE-AP",
244 "BT-RST-N", "AP-WAKE-BT", "", "",
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp1572 const BuiltinType *BT = getTypePtr()->getAs<BuiltinType>(); in UseExcessPrecision() local
1573 if (!BT) { in UseExcessPrecision()
1580 switch (BT->getKind()) { in UseExcessPrecision()
2059 if (const auto *BT = dyn_cast<BuiltinType>(CanonicalType)) in isIntegralType() local
2060 return BT->getKind() >= BuiltinType::Bool && in isIntegralType()
2061 BT->getKind() <= BuiltinType::Int128; in isIntegralType()
2072 if (const auto *BT = dyn_cast<BuiltinType>(CanonicalType)) in isIntegralOrUnscopedEnumerationType() local
2073 return BT->getKind() >= BuiltinType::Bool && in isIntegralOrUnscopedEnumerationType()
2074 BT->getKind() <= BuiltinType::Int128; in isIntegralOrUnscopedEnumerationType()
2090 if (const auto *BT = dyn_cast<BuiltinType>(CanonicalType)) in isCharType() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp79 if (auto *BT = dyn_cast<DIBasicType>(T)) { in printModuleDebugInfo() local
81 auto Encoding = dwarf::AttributeEncodingString(BT->getEncoding()); in printModuleDebugInfo()
85 O << "unknown-encoding(" << BT->getEncoding() << ')'; in printModuleDebugInfo()
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Dnokia-bluetooth.txt16 - reset-gpios: GPIO specifier, used to reset the BT module (active low)
17 - bluetooth-wakeup-gpios: GPIO specifier, used to wakeup the BT module (active high)
29 /* controlled (enabled/disabled) directly by BT module */
H A Dti-bluetooth.txt9 * TI WiLink 7/8 (wl12xx/wl18xx) Shared Transport BT/FM/GPS devices
13 standard BT HCI protocol with additional channels for the other functions.
36 - enable-gpios : GPIO signal controlling enabling of BT. Active high.
/freebsd/sys/contrib/device-tree/Bindings/net/bluetooth/
H A Dnokia,h4p-bluetooth.txt16 - reset-gpios: GPIO specifier, used to reset the BT module (active low)
17 - bluetooth-wakeup-gpios: GPIO specifier, used to wakeup the BT module (active high)
29 /* controlled (enabled/disabled) directly by BT module */

12345678910