/llvm-project/llvm/include/llvm/DebugInfo/PDB/DIA/ |
H A D | DIARawSymbol.h | 20 DIARawSymbol(const DIASession &PDBSession, CComPtr<IDiaSymbol> DiaSymbol); 23 PdbSymbolIdField RecurseIdFields) const override; 25 CComPtr<IDiaSymbol> getDiaSymbol() const { return Symbol; } in getDiaSymbol() 28 findChildren(PDB_SymType Type) const override; 31 PDB_NameSearchFlags Flags) const override; 35 uint32_t Section, uint32_t Offset) const override; 38 uint64_t VA) const override; 41 uint32_t RVA) const override; 44 findInlineFramesByAddr(uint32_t Section, uint32_t Offset) const override; 46 findInlineFramesByRVA(uint32_t RVA) const override; [all …]
|
/llvm-project/flang/include/flang/Runtime/ |
H A D | reduction.h | 49 std::int8_t RTDECL(SumInteger1)(const Descriptor &, const char *source, 50 int line, int dim = 0, const Descriptor *mask = nullptr); 51 std::int16_t RTDECL(SumInteger2)(const Descriptor &, const char *source, 52 int line, int dim = 0, const Descriptor *mask = nullptr); 53 std::int32_t RTDECL(SumInteger4)(const Descriptor &, const char *source, 54 int line, int dim = 0, const Descriptor *mask = nullptr); 55 std::int64_t RTDECL(SumInteger8)(const Descripto [all...] |
H A D | reduce.h | 32 using ReferenceReductionOperation = T (*)(const T *, const T *); 36 std::size_t resultLen, const CHAR *x, const CHAR *y, std::size_t xLen, 39 void *hiddenResult, const void *x, const void *y); 43 std::int8_t RTDECL(ReduceInteger1Ref)(const Descriptor &, 44 ReferenceReductionOperation<std::int8_t>, const char *source, int line, 45 int dim = 0, const Descriptor *mask = nullptr, 46 const st [all...] |
/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | NativeRawSymbol.h | 30 PdbSymbolIdField RecurseIdFields) const override; 33 findChildren(PDB_SymType Type) const override; 36 PDB_NameSearchFlags Flags) const override; 40 uint32_t Section, uint32_t Offset) const override; 43 uint64_t VA) const override; 46 uint32_t RVA) const override; 49 findInlineFramesByAddr(uint32_t Section, uint32_t Offset) const override; 51 findInlineFramesByRVA(uint32_t RVA) const override; 53 findInlineFramesByVA(uint64_t VA) const override; 55 std::unique_ptr<IPDBEnumLineNumbers> findInlineeLines() const override; [all …]
|
/llvm-project/clang/unittests/Format/ |
H A D | QualifierFixerTest.cpp | 32 const FormatStyle &Style = getLLVMStyle()) { in annotate() 41 EXPECT_EQ(LeftRightQualifierAlignmentFixer::getTokenFromQualifier("const"), in TEST_F() 59 "QualifierOrder: [const, volatile, apples, type]", in TEST_F() 61 std::vector<std::string>({"const", "volatile", "apples", "type"})); in TEST_F() 68 "QualifierOrder: [const, volatile, const, type]", in TEST_F() 70 std::vector<std::string>({"const", "volatile", "const", "type"})); in TEST_F() 77 "QualifierOrder: [const, volatile ]", in TEST_F() 80 "const", in TEST_F() [all...] |
/llvm-project/clang/test/CXX/class/class.compare/class.compare.default/ |
H A D | p3.cpp | 10 constexpr operator int() const { return n; } in operator int() 11 static const strong_ordering less, equal, greater; 19 friend bool operator==(const A&, const A&) = default; 20 friend bool operator!=(const A&, const A&) = default; 22 friend std::strong_ordering operator<=>(const A&, const A&) = default; 23 friend bool operator<(const A&, const A&) = default; 24 friend bool operator<=(const A&, const A&) = default; 25 friend bool operator>(const A&, const A&) = default; 26 friend bool operator>=(const A&, const A&) = default; 29 friend constexpr bool operator==(const A&, const A&) noexcept; [all …]
|
/llvm-project/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/ |
H A D | is_permutation_pred.pass.cpp | 25 bool counting_equals ( const T &a, const T &b ) { in counting_equals() 49 bool operator==(const S& other) = delete; 54 bool operator()(const S& a, const S& b) const { return a.i_ == b.i_; } in operator ()() 61 const int ia[] = {0}; in main() 62 const int ib[] = {0}; in main() 63 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in main() 64 assert(std::is_permutation(forward_iterator<const in in main() [all...] |
H A D | is_permutation.pass.cpp | 41 const int ia[] = {0}; in main() 42 const int ib[] = {0}; in main() 43 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in main() 44 assert(std::is_permutation(forward_iterator<const int*>(ia), in main() 45 forward_iterator<const int*>(ia + 0), in main() 46 forward_iterator<const int*>(ib)) == true); in main() 48 assert(std::is_permutation(forward_iterator<const int*>(ia), in main() 49 forward_iterator<const int*>(ia + 0), in main() 50 forward_iterator<const int*>(ib), in main() 51 forward_iterator<const int*>(ib + 0)) == true); in main() [all …]
|
/llvm-project/clang-tools-extra/unittests/clang-tidy/ |
H A D | DeclRefExprUtilsTest.cpp | 26 void check(const MatchFinder::MatchResult &Result) override { in check() 27 const auto *D = Result.Nodes.getNodeAs<VarDecl>("var"); in check() 29 const auto const_decrefexprs = constReferenceDeclRefExprs( in check() 33 for (const DeclRefExpr *const Expr : const_decrefexprs) { in check() 35 diag(Expr->getBeginLoc(), "const usage") in check() 36 << FixItHint::CreateInsertion(Expr->getBeginLoc(), "/*const*/"); in check() 52 void constMethod() const; in RunTest() 57 void operator()(ConstTag) const; in RunTest() 61 void operator[](int) const; in RunTest() 64 const int& at(int) const; in RunTest() [all …]
|
/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/ |
H A D | binary_transform.pass.cpp | 12 // Callable<auto, const InIter1::value_type&, const InIter2::value_type&> BinaryOp> 26 const int ia[] = {1, 3, 6, 7}; in test_constexpr() 27 const int ib[] = {2, 4, 7, 8}; in test_constexpr() 29 const int expected[] = {3, 7, 13, 15}; in test_constexpr() 47 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in test() 61 …test<cpp17_input_iterator<const int*>, cpp17_input_iterator<const int*>, cpp17_output_iterator<int… in main() 62 …test<cpp17_input_iterator<const int*>, cpp17_input_iterator<const int*>, cpp17_input_iterator<int*… in main() 63 …test<cpp17_input_iterator<const int*>, cpp17_input_iterator<const int*>, forward_iterator<int*> >(… in main() 64 …test<cpp17_input_iterator<const int*>, cpp17_input_iterator<const int*>, bidirectional_iterator<in… in main() 65 …test<cpp17_input_iterator<const int*>, cpp17_input_iterator<const int*>, random_access_iterator<in… in main() [all …]
|
/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIISelLowering.h | 33 const GCNSubtarget *Subtarget; 38 EVT VT) const override; 41 EVT VT) const override; 45 unsigned &NumIntermediates, MVT &RegisterVT) const override; 48 SDValue lowerKernArgParameterPtr(SelectionDAG &DAG, const SDLoc &SL, 49 SDValue Chain, uint64_t Offset) const; 50 SDValue getImplicitArgPtr(SelectionDAG &DAG, const SDLoc &SL) const; 51 SDValue getLDSKernelId(SelectionDAG &DAG, const SDLoc &SL) const; [all...] |
H A D | AMDGPUInstructionSelector.h | 51 const GCNSubtarget *Subtarget; 54 AMDGPUInstructionSelector(const GCNSubtarget &STI, 55 const AMDGPURegisterBankInfo &RBI, 56 const AMDGPUTargetMachine &TM); 59 static const char *getName(); 72 bool isSGPR(Register Reg) const; 74 bool isInstrUniform(const MachineInstr &MI) const; 75 bool isVCC(Register Reg, const MachineRegisterInfo &MRI) const; [all...] |
/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TargetLoweringObjectFileImpl.h | 47 void Initialize(MCContext &Ctx, const TargetMachine &TM) override; 52 void emitModuleMetadata(MCStreamer &Streamer, Module &M) const override; 54 void emitPersonalityValue(MCStreamer &Streamer, const DataLayout &DL, 55 const MCSymbol *Sym, 56 const MachineModuleInfo *MMI) const override; 59 const DataLayout &DL, 60 const MCSymbol *Sym, 61 const MachineModuleInfo *MMI) const; [all...] |
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/ |
H A D | raw-string-literal.cpp | 3 char const *const BackSlash("goink\\frob"); 5 // CHECK-FIXES: {{^}}char const *const BackSlash(R"(goink\frob)");{{$}} 7 char const *const PlainLiteral("plain literal"); 10 char const *const Nul("goink\\\000"); 11 char const *const So [all...] |
/llvm-project/llvm/include/llvm/DebugInfo/PDB/ |
H A D | IPDBRawSymbol.h | 36 int Indent, const IPDBSession &Session, 50 PdbSymbolIdField RecurseIdFields) const = 0; 53 findChildren(PDB_SymType Type) const = 0; 57 PDB_NameSearchFlags Flags) const = 0; 61 uint32_t Section, uint32_t Offset) const = 0; 64 uint64_t VA) const = 0; 67 uint32_t RVA) const = 0; 70 findInlineFramesByAddr(uint32_t Section, uint32_t Offset) const = 0; 72 findInlineFramesByRVA(uint32_t RVA) const = 0; 74 findInlineFramesByVA(uint64_t VA) const = 0; [all …]
|
/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
H A D | AMDGPUInstPrinter.h | 22 AMDGPUInstPrinter(const MCAsmInfo &MAI, in AMDGPUInstPrinter() 23 const MCInstrInfo &MII, const MCRegisterInfo &MRI) in AMDGPUInstPrinter() 27 std::pair<const char *, uint64_t> 28 getMnemonic(const MCInst &MI) const override; 29 void printInstruction(const MCInst *MI, uint64_t Address, 30 const MCSubtargetInfo &STI, raw_ostream &O); 31 static const char *getRegisterName(MCRegister Reg); 34 void printInst(const MCIns [all...] |
/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonInstrInfo.h | 39 const HexagonSubtarget &Subtarget; 57 Register isLoadFromStackSlot(const MachineInstr &MI, 58 int &FrameIndex) const override; 65 Register isStoreToStackSlot(const MachineInstr &MI, 66 int &FrameIndex) const override; 72 const MachineInstr &MI, 73 SmallVectorImpl<const MachineMemOperand *> &Accesses) const override; 79 const MachineInstr &MI, 80 SmallVectorImpl<const MachineMemOperan [all...] |
/llvm-project/libcxx/include/ |
H A D | __locale | 45 _LIBCPP_HIDE_FROM_ABI bool has_facet(const locale&) _NOEXCEPT; 48 _LIBCPP_HIDE_FROM_ABI const _Facet& use_facet(const locale&); 61 static const category // values assigned here are for exposition only 69 locale(const locale&) _NOEXCEPT; 70 explicit locale(const char*); 71 explicit locale(const string&); 72 locale(const locale&, const char*, category); 73 locale(const local [all...] |
H A D | filesystem | 28 path(const path& p); 32 path(const Source& source, format fmt = auto_format); 36 path(const Source& source, const locale& loc, format fmt = auto_format); 38 path(InputIterator first, InputIterator last, const locale& loc, format fmt = auto_format); 41 path& operator=(const path& p); 46 path& operator=(const Source& source); 48 path& assign(const Source& source); 52 path& operator/=(const path& p); 54 path& operator/=(const Sourc [all...] |
/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMInstPrinter.h | 23 ARMInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, 24 const MCRegisterInfo &MRI); 28 void printInst(const MCInst *MI, uint64_t Address, StringRef Annot, 29 const MCSubtargetInfo &STI, raw_ostream &O) override; 33 std::pair<const char *, uint64_t> 34 getMnemonic(const MCInst &MI) const override; 35 void printInstruction(const MCInst *MI, uint64_t Address, 36 const MCSubtargetInf [all...] |
/llvm-project/lldb/source/Plugins/Instruction/ARM/ |
H A D | EmulateInstructionARM.h | 70 CreateInstance(const lldb_private::ArchSpec &arch, InstructionType inst_type); 88 bool SetTargetTriple(const ArchSpec &arch) override; 92 EmulateInstructionARM(const ArchSpec &arch) in EmulateInstructionARM() 99 // EmulateInstructionARM (const ArchSpec &arch, 124 virtual bool SetArchitecture(const ArchSpec &arch); 128 bool SetInstruction(const Opcode &insn_opcode, const Address &inst_addr, 145 bool ConditionPassed(const uint32_t opcode); 147 uint32_t CurrentCond(const uint32_t opcode); 163 bool BranchWritePC(const Context &context, uint32_t addr); 196 bool WriteCoreRegOptionalFlags(Context &context, const uint32_t result, [all …]
|
/llvm-project/clang/include/clang/AST/ |
H A D | TextNodeDumper.h | 36 const bool ShowColors; 131 const comments::FullComment *>, 139 const bool ShowColors; 143 const char *LastLocFilename = ""; 150 const ASTContext *Context = nullptr; 151 const SourceManager *SM = nullptr; 156 const comments::CommandTraits *Traits = nullptr; 158 const char *getCommandName(unsigned CommandID); 161 void dumpAPValueChildren(const APValue &Value, QualType Ty, 162 const APValu [all...] |
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/ |
H A D | const-return-type.cpp | 1 // RUN: %check_clang_tidy -std=c++14-or-later %s readability-const-return-type %t 8 struct add_cv { typedef const volatile T type; }; 10 template< class T> struct add_const { typedef const T type; }; 15 const int p1() { in p1() 16 … warning: return type 'const int' is 'const'-qualified at the top level, which may reduce code rea… in p1() 21 const int p15(); 25 const int p31(T v) { return 2; } in p31() 26 // CHECK-MESSAGES: [[@LINE-1]]:1: warning: return type 'const int' is 'const'-qu 29 // We detect const-ness even without instantiating T. 31 const T p32(T t) { return t; } in p32() [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/ |
H A D | string | 25 basic_string(const C *p, const A &a = A()); 26 basic_string(const C *p, size_type count); 27 basic_string(const C *b, const C *e); 31 const C *c_str() const; 32 const C *data() const; 34 bool empty() const; [all...] |
/llvm-project/clang/tools/scan-build-py/lib/libear/ |
H A D | ear.c | 62 TYPE_ const VAR_ = cast.to; 64 typedef char const *bear_env_t[ENV_SIZE]; 69 static char const **bear_update_environment(char *const envp[], 71 static char const **bear_update_environ(char const **in, char const *key, 72 char const *value); 74 static void bear_report_call(char const *fun, char const *const argv[]); 75 static char const **bear_strings_build(char const *arg, va_list *ap); 76 static char const **bear_strings_copy(char const **const in); 77 static char const **bear_strings_append(char const **in, char const *e); 78 static size_t bear_strings_length(char const *const *in); [all …]
|