| /openbsd/src/gnu/llvm/llvm/include/llvm/Transforms/Utils/ |
| D | SampleProfileLoaderBaseImpl.h | 80 template <typename BT> class SampleProfileLoaderBaseImpl { 86 using InstructionT = typename afdo_detail::IRTraits<BT>::InstructionT; 87 using BasicBlockT = typename afdo_detail::IRTraits<BT>::BasicBlockT; 89 typename afdo_detail::IRTraits<BT>::BlockFrequencyInfoT; 90 using FunctionT = typename afdo_detail::IRTraits<BT>::FunctionT; 91 using LoopT = typename afdo_detail::IRTraits<BT>::LoopT; 92 using LoopInfoPtrT = typename afdo_detail::IRTraits<BT>::LoopInfoPtrT; 94 typename afdo_detail::IRTraits<BT>::DominatorTreePtrT; 96 typename afdo_detail::IRTraits<BT>::PostDominatorTreePtrT; 98 typename afdo_detail::IRTraits<BT>::PostDominatorTreeT; [all …]
|
| D | SampleProfileInference.h | 141 template <typename BT> class SampleProfileInference { 143 using BasicBlockT = typename afdo_detail::TypeMap<BT>::BasicBlockT; 144 using FunctionT = typename afdo_detail::TypeMap<BT>::FunctionT; 183 template <typename BT> 184 void SampleProfileInference<BT>::apply(BlockWeightMap &BlockWeights, 263 template <typename BT> 264 void SampleProfileInference<BT>::initFunction( 319 template <typename BT> 320 inline void SampleProfileInference<BT>::findUnlikelyJumps( 349 template <typename BT> [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| D | BitTracker.cpp | 73 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 …]
|
| D | HexagonBitTracker.cpp | 38 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 …]
|
| D | HexagonBitSimplify.cpp | 1083 : Transformation(true), HII(hii), HRI(hri), MRI(mri), BT(bt) {} in RedundantInstrElimination() 1100 BitTracker &BT; member in __anon0e88cdb10511::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 …]
|
| /openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/ |
| D | spec17.C | 7 struct BT { }; struct 10 struct BT< Foo<T1>, Foo<T2> > { static const int i = 1; }; 13 struct BT< T1, Foo<T2> > { static const int i = 2; }; 16 struct BT< Foo<T1>, T2 > { static const int i = 3; }; 38 BT< double, Foo<int> >::i; 39 BT< Foo<int>, Foo<int> >::i; 40 BT< Foo<int>, float >::i;
|
| /openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| D | CallAndMessageChecker.cpp | 113 std::unique_ptr<BugType> &BT, 116 static void emitBadCall(BugType *BT, CheckerContext &C, const Expr *BadE); 124 void LazyInit_BT(const char *desc, std::unique_ptr<BugType> &BT) const { in LazyInit_BT() 125 if (!BT) in LazyInit_BT() 126 BT.reset(new BuiltinBug(OriginalName, desc)); in LazyInit_BT() 130 std::unique_ptr<BugType> &BT, 136 void CallAndMessageChecker::emitBadCall(BugType *BT, CheckerContext &C, in emitBadCall() argument 142 auto R = std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in emitBadCall() 189 std::unique_ptr<BugType> &BT, const ParmVarDecl *ParamDecl, const char *BD, in uninitRefOrPointer() argument 224 LazyInit_BT(BD, BT); in uninitRefOrPointer() [all …]
|
| D | FixedAddressChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; member in __anon0d825bd50111::FixedAddressChecker 52 if (!BT) in checkPreStmt() 53 BT.reset( in checkPreStmt() 59 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
|
| D | UndefinedArraySubscriptChecker.cpp | 27 mutable std::unique_ptr<BugType> BT; member in __anon1e8f2f4f0111::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()
|
| D | PointerSubChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; member in __anon33e6efaa0111::PointerSubChecker 61 if (!BT) in checkPreStmt() 62 BT.reset( in checkPreStmt() 67 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
|
| D | ArrayBoundChecker.cpp | 28 mutable std::unique_ptr<BuiltinBug> BT; member in __anon5723bc760111::ArrayBoundChecker 68 if (!BT) in checkLocation() 69 BT.reset(new BuiltinBug( in checkLocation() 79 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in checkLocation()
|
| D | UndefBranchChecker.cpp | 30 mutable std::unique_ptr<BuiltinBug> BT; member in __anon023564bf0111::UndefBranchChecker 73 if (!BT) in checkBranchCondition() 74 BT.reset(new BuiltinBug( in checkBranchCondition() 106 *BT, BT->getDescription(), N); in checkBranchCondition()
|
| D | NSAutoreleasePoolChecker.cpp | 34 mutable std::unique_ptr<BugType> BT; member in __anon26b77ed40111::NSAutoreleasePoolChecker 60 if (!BT) in checkPreObjCMessage() 61 BT.reset(new BugType(this, "Use -drain instead of -release", in checkPreObjCMessage() 71 *BT, in checkPreObjCMessage()
|
| D | DeleteWithNonVirtualDtorChecker.cpp | 39 mutable std::unique_ptr<BugType> BT; member in __anon6f81efd90111::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()
|
| D | ReturnPointerRangeChecker.cpp | 29 mutable std::unique_ptr<BuiltinBug> BT; member in __anond092d76d0111::ReturnPointerRangeChecker 81 if (!BT) in checkPreStmt() 82 BT.reset(new BuiltinBug( in checkPreStmt() 89 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N); in checkPreStmt()
|
| D | MmapWriteExecChecker.cpp | 34 mutable std::unique_ptr<BugType> BT; member in __anonedb0993a0111::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()
|
| D | CastSizeChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; member in __anon1ee34f050111::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()
|
| D | UndefCapturedBlockVarChecker.cpp | 30 mutable std::unique_ptr<BugType> BT; member in __anon5a2878fd0111::UndefCapturedBlockVarChecker 76 if (!BT) in checkPostStmt() 77 BT.reset( in checkPostStmt() 87 auto R = std::make_unique<PathSensitiveBugReport>(*BT, os.str(), N); in checkPostStmt()
|
| D | BoolAssignmentChecker.cpp | 27 mutable std::unique_ptr<BuiltinBug> BT; member in __anon661589240111::BoolAssignmentChecker 39 if (!BT) in emitReport() 40 BT.reset(new BuiltinBug(this, "Assignment of a non-Boolean value")); in emitReport() 44 C.emitReport(std::make_unique<PathSensitiveBugReport>(*BT, Msg, N)); in emitReport()
|
| D | UndefinedAssignmentChecker.cpp | 26 mutable std::unique_ptr<BugType> BT; member in __anon6f81420a0111::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()
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/Analysis/ |
| D | BlockFrequencyInfoImpl.h | 75 template <class BT> struct BlockEdgesAdder; 848 template <class BT> class BlockFrequencyInfoImpl : BlockFrequencyInfoImplBase { 850 friend struct bfi_detail::BlockEdgesAdder<BT>; 852 using BlockT = typename bfi_detail::TypeMap<BT>::BlockT; 853 using BlockKeyT = typename bfi_detail::TypeMap<BT>::BlockKeyT; 854 using FunctionT = typename bfi_detail::TypeMap<BT>::FunctionT; 856 typename bfi_detail::TypeMap<BT>::BranchProbabilityInfoT; 857 using LoopT = typename bfi_detail::TypeMap<BT>::LoopT; 858 using LoopInfoT = typename bfi_detail::TypeMap<BT>::LoopInfoT; 1076 void verifyMatch(BlockFrequencyInfoImpl<BT> &Other) const; [all …]
|
| /openbsd/src/gnu/llvm/clang/lib/Analysis/plugins/SampleAnalyzer/ |
| D | MainCallChecker.cpp | 11 mutable std::unique_ptr<BugType> BT; member in __anonf5bd08e70111::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()
|
| /openbsd/src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/ |
| D | NativeSymbolEnumerator.cpp | 77 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()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| D | PPCMacroFusion.cpp | 171 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()
|
| /openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| D | RetainCountDiagnostics.h | 39 RefCountBug(CheckerNameRef Checker, RefCountBugKind BT); 42 RefCountBugKind getBugType() const { return BT; } in getBugType() 45 RefCountBugKind BT; 46 static StringRef bugTypeToName(RefCountBugKind BT);
|