Home
last modified time | relevance | path

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

1234567891011

/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan.h174 template <typename BT> double GetULPDiffBits(BT v1_bits, BT v2_bits) {
187 using BT = typename FTInfo<FT>::orig_bits_type;
188 static_assert(sizeof(FT) == sizeof(BT), "not implemented");
189 static_assert(sizeof(BT) <= 64, "not implemented");
190 BT v1_bits;
191 __builtin_memcpy(&v1_bits, &v1, sizeof(BT));
192 BT v2_bits;
193 __builtin_memcpy(&v2_bits, &v2, sizeof(BT));
197 constexpr BT kSignMask = BT{1} << (CHAR_BIT * sizeof(BT) - 1);
202 return GetULPDiffBits<BT>(v1_bits, kSignMask) +
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DBitTracker.cpp68 using BT = BitTracker; typedef
92 raw_ostream &operator<<(raw_ostream &OS, const BT::BitValue &BV) { in operator <<()
94 case BT::BitValue::Top: in operator <<()
97 case BT::BitValue::Zero: in operator <<()
100 case BT::BitValue::One: in operator <<()
103 case BT::BitValue::Ref: in operator <<()
110 raw_ostream &operator<<(raw_ostream &OS, const BT::RegisterCell &RC) { in operator <<()
122 const BT::BitValue &V = RC[i]; in operator <<()
123 const BT::BitValue &SV = RC[Start]; in operator <<()
124 bool IsRef = (V.Type == BT::BitValue::Ref); in operator <<()
[all …]
H A DHexagonBitTracker.cpp28 using BT = BitTracker; typedef
79 BT::BitMask HexagonEvaluator::mask(Register Reg, unsigned Sub) const { in mask()
92 return IsSubLo ? BT::BitMask(0, RW-1) in mask()
93 : BT::BitMask(RW, 2*RW-1); in mask()
153 std::vector<BT::RegisterRef> Vector;
160 Vector[i] = BT::RegisterRef(MO); in RegisterRefs()
168 const BT::RegisterRef &operator[](unsigned n) const { in operator []()
250 auto rr0 = [this,Reg] (const BT::RegisterCell &Val, CellMapType &Outputs) in evaluate()
257 uint16_t W) -> BT::RegisterCell { in evaluate()
267 auto lo = [this] (const BT::RegisterCell &RC, uint16_t RW) in evaluate()
[all …]
H A DHexagonBitSimplify.cpp1061 : Transformation(true), HII(hii), HRI(hri), MRI(mri), BT(bt) {} in RedundantInstrElimination()
1078 BitTracker &BT; member in __anonbc27dab50511::RedundantInstrElimination
1286 const BitTracker::RegisterCell &DC = BT.lookup(RD.Reg); in usedBitsEqual()
1287 const BitTracker::RegisterCell &SC = BT.lookup(RS.Reg); in usedBitsEqual()
1310 if (!BT.reached(&B)) in processBlock()
1326 if (!BT.has(RD.Reg)) in processBlock()
1328 const BitTracker::RegisterCell &DC = BT.lookup(RD.Reg); in processBlock()
1336 if (!BT.has(RS.Reg)) in processBlock()
1345 const BitTracker::RegisterCell &SC = BT.lookup(RS.Reg); in processBlock()
1366 BT.visit(*CopyI); in processBlock()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileLoaderBaseImpl.h184 using BT = std::remove_pointer_t<NodeRef>;
185 using InstructionT = typename afdo_detail::IRTraits<BT>::InstructionT;
186 using BasicBlockT = typename afdo_detail::IRTraits<BT>::BasicBlockT;
188 typename afdo_detail::IRTraits<BT>::BlockFrequencyInfoT;
189 using FunctionT = typename afdo_detail::IRTraits<BT>::FunctionT;
190 using LoopT = typename afdo_detail::IRTraits<BT>::LoopT;
191 using LoopInfoPtrT = typename afdo_detail::IRTraits<BT>::LoopInfoPtrT;
193 typename afdo_detail::IRTraits<BT>::DominatorTreePtrT;
195 typename afdo_detail::IRTraits<BT>::PostDominatorTreePtrT;
197 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()
301 template <typename BT>
302 inline void SampleProfileInference<BT>::findUnlikelyJumps( in findUnlikelyJumps()
306 template <typename BT>
307 inline bool SampleProfileInference<BT>::isExit(const BasicBlockT *BB) { in isExit()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangBuiltinsEmitter.cpp54 BuiltinType BT; member
76 if (BT == BuiltinType::TargetBuiltin) { in EmitInfo()
83 if (BT == BuiltinType::LibBuiltin || BT == BuiltinType::TargetLibBuiltin) { in EmitInfo()
90 if (BT == BuiltinType::LibBuiltin || BT == BuiltinType::LangBuiltin || in EmitInfo()
91 BT == BuiltinType::TargetLibBuiltin) { in EmitInfo()
102 switch (BT) { in EmitXMacro()
125 switch (BT) { in EmitXMacro()
375 std::string renderAttributes(const Record *Builtin, BuiltinType BT) { in renderAttributes() argument
379 if (BT == BuiltinType::LibBuiltin) { in renderAttributes()
410 Twine Spelling, BuiltinType BT) { in buildBuiltin() argument
[all …]
H A DRISCVVEmitter.cpp445 BasicType BT = ParseBasicType(I); in createHeader() local
447 auto T = TypeCache.computeType(BT, Log2LMUL, PrototypeDescriptor::Vector); in createHeader()
451 BT, Log2LMUL, in createHeader()
459 BT, Log2LMUL, in createHeader()
463 BT, Log2LMUL, in createHeader()
474 for (BasicType BT : {BasicType::Float16, BasicType::Float32, in createHeader()
477 auto T = TypeCache.computeType(BT, Log2LMUL, PrototypeDescriptor::Vector); in createHeader()
482 BT, Log2LMUL, in createHeader()
484 (BT == BasicType::BFloat16 in createHeader()
684 BasicType BT = ParseBasicType(I); in createRVVIntrinsics() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCallAndMessageChecker.cpp111 std::unique_ptr<BugType> &BT,
114 static void emitBadCall(BugType *BT, CheckerContext &C, const Expr *BadE);
122 void LazyInit_BT(const char *desc, std::unique_ptr<BugType> &BT) const { in LazyInit_BT()
123 if (!BT) in LazyInit_BT()
124 BT.reset(new BugType(OriginalName, desc)); in LazyInit_BT()
127 const Expr *ArgEx, std::unique_ptr<BugType> &BT,
133 void CallAndMessageChecker::emitBadCall(BugType *BT, CheckerContext &C, in emitBadCall() argument
139 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in emitBadCall()
186 std::unique_ptr<BugType> &BT, const ParmVarDecl *ParamDecl, const char *BD, in uninitRefOrPointer() argument
221 LazyInit_BT(BD, BT); in uninitRefOrPointer()
[all …]
H A DDereferenceChecker.cpp163 const BugType *BT = nullptr; in reportBug() local
172 BT = BT_Null.get(); in reportBug()
181 BT = BT_Undef.get(); in reportBug()
190 BT = BT_Label.get(); in reportBug()
200 BT = BT_FixedAddress.get(); in reportBug()
234 os << BT->getDescription(); in reportBug()
261 *BT, buf.empty() ? BT->getDescription() : buf.str(), N); in reportBug()
H A DCXXDeleteChecker.cpp65 const BugType BT{ member in __anon2fcef0a90111::DeleteWithNonVirtualDtorChecker
75 const BugType BT{this, member in __anon2fcef0a90111::CXXArrayDeleteChecker
128 auto R = std::make_unique<PathSensitiveBugReport>(BT, BT.getDescription(), N); in checkTypedDeleteExpr()
171 auto R = std::make_unique<PathSensitiveBugReport>(BT, OS.str(), N); in checkTypedDeleteExpr()
H A DBasicObjCFoundationChecks.cpp102 mutable std::unique_ptr<APIMisuse> BT; member in __anoncdfed0b60211::NilArgChecker
221 if (!BT) in generateBugReport()
222 BT.reset(new APIMisuse(this, "nil argument")); in generateBugReport()
224 auto R = std::make_unique<PathSensitiveBugReport>(*BT, Msg, N); in generateBugReport()
353 mutable std::unique_ptr<APIMisuse> BT; member in __anoncdfed0b60311::CFNumberChecker
527 if (!BT) in checkPreStmt()
528 BT.reset(new APIMisuse(this, "Bad use of CFNumber APIs")); in checkPreStmt()
530 auto report = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N); in checkPreStmt()
542 mutable APIMisuse BT{this, "null passed to CF memory management function"}; member in __anoncdfed0b60411::CFRetainReleaseChecker
582 auto report = std::make_unique<PathSensitiveBugReport>(BT, OS.str(), N); in checkPreCall()
[all …]
H A DUndefinedAssignmentChecker.cpp26 const BugType BT{this, "Assigned value is uninitialized"}; member in __anonb97b280e0111::UndefinedAssignmentChecker
102 OS << BT.getDescription(); in checkBind()
104 auto R = std::make_unique<PathSensitiveBugReport>(BT, OS.str(), N); in checkBind()
/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/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h842 template <class BT> class BlockFrequencyInfoImpl : BlockFrequencyInfoImplBase {
843 using BlockT = typename bfi_detail::TypeMap<BT>::BlockT;
844 using BlockKeyT = typename bfi_detail::TypeMap<BT>::BlockKeyT;
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;
1062 void verifyMatch(BlockFrequencyInfoImpl<BT> &Other) const;
1095 template <class BT>
1096 void BlockFrequencyInfoImpl<BT>::calculate(const FunctionT &F,
[all …]
/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);
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DMemoryUnsafeCastChecker.cpp32 BugType BT{this, "Unsafe cast", "WebKit coding guidelines"}; member in __anonecdce49e0111::MemoryUnsafeCastChecker
43 const BugType &BT) { in emitDiagnostics() argument
55 auto Report = std::make_unique<BasicBugReport>(BT, OS.str(), BSLoc); in emitDiagnostics()
63 const BugType &BT) { in emitDiagnosticsUnrelated() argument
75 auto Report = std::make_unique<BasicBugReport>(BT, OS.str(), BSLoc); in emitDiagnosticsUnrelated()
134 emitDiagnostics(Match, BR, ADC, this, BT); in checkASTCodeBody()
179 emitDiagnosticsUnrelated(Match, BR, ADC, this, BT); in checkASTCodeBody()
/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()
389 const BuiltinType *BT = EltType->getAs<BuiltinType>(); in getParamTypeAlignment() local
391 (BT && BT->isFloatingPoint())) in getParamTypeAlignment()
650 const BuiltinType *BT = T->getAs<BuiltinType>(); in computeInfo() local
652 (BT && BT->isFloatingPoint())) { in computeInfo()
718 if (const BuiltinType *BT = Ty->getAs<BuiltinType>()) in isPromotableTypeForABI() local
719 switch (BT->getKind()) { in isPromotableTypeForABI()
762 const BuiltinType *BT = EltType->getAs<BuiltinType>(); in getParamTypeAlignment() local
764 (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/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.cpp1618 const BuiltinType *BT = getTypePtr()->getAs<BuiltinType>(); in UseExcessPrecision() local
1619 if (!BT) { in UseExcessPrecision()
1626 switch (BT->getKind()) { in UseExcessPrecision()
2111 if (const auto *BT = dyn_cast<BuiltinType>(CanonicalType)) in isIntegralType() local
2112 return BT->isInteger(); in isIntegralType()
2123 if (const auto *BT = dyn_cast<BuiltinType>(CanonicalType)) in isIntegralOrUnscopedEnumerationType() local
2124 return BT->isInteger(); in isIntegralOrUnscopedEnumerationType()
2140 if (const auto *BT = dyn_cast<BuiltinType>(CanonicalType)) in isCharType() local
2141 return BT->getKind() == BuiltinType::Char_U || in isCharType()
2142 BT->getKind() == BuiltinType::UChar || in isCharType()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DContext.cpp261 if (const auto *BT = dyn_cast<BuiltinType>(T.getCanonicalType())) { in classify() local
262 auto Kind = BT->getKind(); in classify()
295 if (BT->isSignedInteger()) in classify()
297 if (BT->isUnsignedInteger()) in classify()
300 if (BT->isFloatingPoint()) in classify()
310 if (const auto *BT = T->getAs<BitIntType>()) { in classify() local
311 if (BT->isSigned()) in classify()
312 return integralTypeToPrimTypeS(BT->getNumBits()); in classify()
313 return integralTypeToPrimTypeU(BT->getNumBits()); in classify()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp77 if (auto *BT = dyn_cast<DIBasicType>(T)) { in printModuleDebugInfo() local
79 auto Encoding = dwarf::AttributeEncodingString(BT->getEncoding()); in printModuleDebugInfo()
83 O << "unknown-encoding(" << BT->getEncoding() << ')'; in printModuleDebugInfo()

1234567891011