/llvm-project/clang/test/CodeGenCXX/ |
H A D | lambda-expressions-nested-linkage.cpp | 9 auto L = [](int a) { in foo() local 19 struct L { struct 34 struct L { struct 53 auto L = [](int a) { in foo() local 20 tnon_template::L __anone4b317560302() argument 35 t2lambdas_in_NSDMIs_template_class::L __anone4b317560602() argument
|
H A D | 2007-04-10-PackedUnion.cpp | 28 class L { class 30 L() {} in L() function in L 38 L::L(const L& other) in L() function in L
|
H A D | nested-base-member-access.cpp | 24 struct L : IQ { struct 25 L(int i) : IQ(i+100) { iL = i; } in L() argument 26 int iL; argument
|
/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86WinCOFFTargetStreamer.cpp | 101 emitFPOProc(const MCSymbol * ProcSym,unsigned ParamsSize,SMLoc L) emitFPOProc() argument 108 emitFPOEndPrologue(SMLoc L) emitFPOEndPrologue() argument 113 emitFPOEndProc(SMLoc L) emitFPOEndProc() argument 119 emitFPOData(const MCSymbol * ProcSym,SMLoc L) emitFPOData() argument 126 emitFPOPushReg(unsigned Reg,SMLoc L) emitFPOPushReg() argument 134 emitFPOStackAlloc(unsigned StackAlloc,SMLoc L) emitFPOStackAlloc() argument 139 emitFPOStackAlign(unsigned Align,SMLoc L) emitFPOStackAlign() argument 144 emitFPOSetFrame(unsigned Reg,SMLoc L) emitFPOSetFrame() argument 151 checkInFPOPrologue(SMLoc L) checkInFPOPrologue() argument 168 emitFPOProc(const MCSymbol * ProcSym,unsigned ParamsSize,SMLoc L) emitFPOProc() argument 181 emitFPOEndProc(SMLoc L) emitFPOEndProc() argument 204 emitFPOSetFrame(unsigned Reg,SMLoc L) emitFPOSetFrame() argument 215 emitFPOPushReg(unsigned Reg,SMLoc L) emitFPOPushReg() argument 226 emitFPOStackAlloc(unsigned StackAlloc,SMLoc L) emitFPOStackAlloc() argument 237 emitFPOStackAlign(unsigned Align,SMLoc L) emitFPOStackAlign() argument 255 emitFPOEndPrologue(SMLoc L) emitFPOEndPrologue() argument 386 emitFPOData(const MCSymbol * ProcSym,SMLoc L) emitFPOData() argument [all...] |
/llvm-project/clang/include/clang/Basic/ |
H A D | Linkage.h | 80 inline bool isDiscardableGVALinkage(GVALinkage L) { in isDiscardableGVALinkage() 86 inline bool isUniqueGVALinkage(GVALinkage L) { in isUniqueGVALinkage() 90 inline bool isExternallyVisible(Linkage L) { in isExternallyVisible() 106 inline Linkage getFormalLinkage(Linkage L) { in getFormalLinkage() 117 inline bool isExternalFormalLinkage(Linkage L) { in isExternalFormalLinkage()
|
H A D | Visibility.h | 49 inline Visibility minVisibility(Visibility L, Visibility R) { in minVisibility() 66 LinkageInfo(Linkage L, Visibility V, bool E) in LinkageInfo() 92 void setLinkage(Linkage L) { linkage_ = llvm::to_underlying(L); } in setLinkage() 94 void mergeLinkage(Linkage L) { in mergeLinkage() 101 void mergeExternalVisibility(Linkage L) { in mergeExternalVisibility()
|
/llvm-project/clang/test/SemaCXX/ |
H A D | cxx1z-constexpr-lambdas.cpp | 12 auto L = [] { }; in __anon9a14b3500102() variable 22 auto L = [](NonLit NL) constexpr { }; //expected-error{{not a literal type}} in __anon9a14b3500202() variable 26 auto L = [](int I) constexpr { if (I == 5) asm("non-constexpr"); }; in __anon9a14b3500302() variable 65 auto L = [](int I) { return I; }; in __anon9a14b3500702() variable 69 auto L variable 74 auto L = [](auto a) { asm("non-constexpr"); return a; }; __anon9a14b3500902() variable 91 auto L = [] { return c; }; f() local 96 auto L = [] { return c; }; //expected-error{{cannot be implicitly captured}} expected-note{{lambda expression begins here}} expected-note 2 {{capture 'c' by}} expected-note 2 { f() local 105 auto L = [](int i) { return i; }; __anon9a14b3500c02() variable 153 auto L = [=](auto a) { f() local 160 constexpr auto L = f(3); global() variable 169 auto L = [](auto a) { return a + a; }; f() local 172 constexpr auto L = f(3); global() variable 180 auto L = [=](auto a) { f() local 188 constexpr auto L = f(3); global() variable 209 auto L = [=](auto a) { f() local 223 auto L = [i = n] (auto N) mutable { foo() local 236 constexpr auto L = foo(3); global() variable 242 auto L = [i = n] (auto N) mutable { foo() local 257 constexpr auto L = foo(3); global() variable 284 constexpr auto L = SObj.f(); global() variable 301 constexpr auto L = f(3); global() variable [all...] |
H A D | cxx1y-generic-lambdas-variadics.cpp | 21 auto L = [](auto ... as) { }; in test() local 25 auto L = [](auto a) { }; in test() local 29 auto L = [](auto a, auto b) { }; in test() local 33 auto L = [](auto a, auto b) { }; in test() local 37 auto L = [](auto a, auto b, auto ... cs) { }; in test() local 43 auto L = [](auto ... As) { test() local 48 auto L = [](auto A, auto B, auto ... As) { test() local 55 auto L = [](auto ... As) { test() local 68 auto L = [](auto A, auto ... As) { test() local [all...] |
H A D | cxx1y-init-captures.cpp | 13 auto L = [x = f([&a(t)]()->decltype(auto) { return a; }()...)]() { return x; }; in g() local 43 auto L = [z = x + 2](int a) { in test() local 53 auto L = [&z = x](int a) { in test() local 60 auto L = [k = x](char a) { //expected-note {{declared}} in test() local 70 auto L = [k = x](char a) { in test() local 80 auto L = [k = x](char a) { in test() local 103 auto L = [z = x](char a) { in __anonc26aba101102() local 113 auto L = [&z = x](T a) { in __anonc26aba101302() local 120 …auto L = [z = x](char a) { //expected-note {{begins}} expected-note 2 {{capture 'x' by}} expected-… in __anonc26aba101402() local 129 auto L = [=,z = x](char a) { in __anonc26aba101602() local [all …]
|
H A D | cxx1y-generic-lambdas-capturing.cpp | 24 #define ASSERT_NO_CAPTURES(L) static_assert(sizeof(L) == 1, "size of closure with no captures must … argument 25 #define ASSERT_CLOSURE_SIZE_EXACT(L, N) static_assert(sizeof(L) == (N), "size of closure must be " … argument 26 #define ASSERT_CLOSURE_SIZE(L, N) static_assert(sizeof(L) >= (N), "size of closure must be >=" #N) argument 38 auto L = [](auto a) { return a; }; in foo() local 41 auto L = [](auto a) -> void { in foo2() local 66 auto L = [](auto a, auto b) { in doit() local 98 auto L = [=](auto a) { in doit() local 106 …auto L = [](auto a) { //expected-note{{begins here}} expected-note 2 {{capture 'x' by}} expected-n… in doit() local 115 auto L = [=](auto a) { in doit() local 133 auto L = [=](auto a) { in doit() local [all …]
|
/llvm-project/llvm/unittests/ADT/ |
H A D | IListIteratorTest.cpp | 43 simple_ilist<Node> L; in TEST() local 63 simple_ilist<Node> L; in TEST() local 86 simple_ilist<Node> L; in TEST() local 107 simple_ilist<Node> L; in TEST() local 122 simple_ilist<Node> L; in TEST() local 137 simple_ilist<Node> L; in TEST() local 175 simple_ilist<ParentNode, ilist_parent<Parent>> L; in TEST() local
|
H A D | SimpleIListTest.cpp | 18 bool operator<(const Node &L, const Node &R) { return &L < &R; } in operator <() 25 simple_ilist<Node> L; in TEST() local 32 simple_ilist<Node> L; in TEST() local 51 simple_ilist<Node> L; in TEST() local 84 simple_ilist<Node> L; in TEST() local 95 simple_ilist<Node> L; in TEST() local 106 simple_ilist<Node> L; in TEST() local 130 simple_ilist<Node> L; in TEST() local 148 simple_ilist<Node> L; in TEST() local 165 simple_ilist<Node> L; in TEST() local [all …]
|
H A D | ImmutableListTest.cpp | 28 void concat(const ImmutableList<Wrapper<char>> &L, char *Buffer) { in concat() 44 ImmutableList<Wrapper<int>> L = f.getEmptyList(); in TEST_F() local 52 ImmutableList<Wrapper<int>> L = f.getEmptyList(); in TEST_F() local 104 ImmutableList<const Unmodifiable &> L = f.create(N); in TEST_F() local 115 ImmutableList<Wrapper<int>> L = f.getEmptyList(); in TEST_F() local 128 ImmutableList<Wrapper<int>> L = f.getEmptyList(); in TEST_F() local 194 ImmutableList<ExplicitCtorWrapper<int>> L = f.getEmptyList(); in TEST_F() local 227 ImmutableList<Wrapper<char>> L = f.getEmptyList(); in TEST_F() local 240 ImmutableList<Wrapper<long>> L = f.getEmptyList(); in TEST_F() local
|
H A D | BumpPtrListTest.cpp | 44 BumpPtrList<int> L; in TEST() local 50 BumpPtrList<int> L; in TEST() local 71 BumpPtrList<int> L; in TEST() local 91 BumpPtrList<MoveOnly> L; in TEST() local 103 BumpPtrList<MoveOnly> L; in TEST() local 115 BumpPtrList<EmplaceOnly> L; in TEST() local 129 BumpPtrList<EmplaceOnly> L; in TEST() local 174 BumpPtrList<CountsDestructors> L; in TEST() local 227 BumpPtrList<int> L; in TEST() local
|
/llvm-project/clang/include/clang/Analysis/ |
H A D | ProgramPoint.h | 94 llvm::PointerIntPair<const LocationContext *, 2, unsigned> L; variable 223 : ProgramPoint(B, BlockEntranceKind, L, tag) { in ProgramPoint() argument 246 BlockExit(const CFGBlock *B, const LocationContext *L) in BlockExit() 268 StmtPoint(const Stmt *S, const void *p2, Kind k, const LocationContext *L, in StmtPoint() 294 : StmtPoint(S, SubStmt, PreStmtKind, L, tag) {} in StmtPoint() argument 311 : StmtPoint(S, data, k, L, tag) {} in StmtPoint() argument 316 : StmtPoint(S, nullptr, k, L, tag) {} in StmtPoint() argument 320 : StmtPoint(S, nullptr, PostStmtKind, L, tag) {} in StmtPoint() argument 358 : PostStmt(S, PostConditionKind, L, tag) {} in PostStmt() argument 371 LocationCheck(const Stmt *S, const LocationContext *L, in LocationCheck() [all …]
|
/llvm-project/compiler-rt/lib/scudo/standalone/tests/ |
H A D | list_test.cpp | 30 setList(ListT * L,ListItem * I1=nullptr,ListItem * I2=nullptr,ListItem * I3=nullptr) setList() argument 42 checkList(ListT * L,ListItem * I1,ListItem * I2=nullptr,ListItem * I3=nullptr,ListItem * I4=nullptr,ListItem * I5=nullptr,ListItem * I6=nullptr) checkList() argument 73 ListT L; testListCommon() local 134 SLList L; TEST() local 184 DLList L; TEST() local [all...] |
/llvm-project/llvm/include/llvm/Support/ |
H A D | GenericLoopInfo.h | 104 const LoopT *L = static_cast<const LoopT *>(this); in getOutermostLoop() local 111 LoopT *L = static_cast<LoopT *>(this); in getOutermostLoop() local 118 setParentLoop(LoopT * L) setParentLoop() argument 124 contains(const LoopT * L) contains() argument 337 getInnerLoopsInPreorder(const LoopT & L,SmallVectorImpl<Type> & PreOrderLoops) getInnerLoopsInPreorder() argument 343 LoopT *L = PreOrderWorklist.pop_back_val(); getInnerLoopsInPreorder() local 610 const LoopT *L = getLoopFor(BB); getLoopDepth() local 616 const LoopT *L = getLoopFor(BB); isLoopHeader() local 631 LoopT *L = *I; removeLoop() local 640 changeLoopFor(BlockT * BB,LoopT * L) changeLoopFor() argument 670 for (LoopT *L = I->second; L; L = L->getParentLoop()) removeBlock() local 706 destroy(LoopT * L) destroy() argument [all...] |
/llvm-project/llvm/lib/Analysis/ |
H A D | IVUsers.cpp | 36 IVUsers IVUsersAnalysis::run(Loop &L, LoopAnalysisManager &AM, in run() argument 56 static bool isInteresting(const SCEV *S, const Instruction *I, const Loop *L, in isInteresting() argument 98 const Loop *L, DominatorTree *DT) { in IVUseShouldUsePostIncValue() argument 212 auto *L = AR->getLoop(); AddUsersIfInteresting() local 251 IVUsers(Loop * L,AssumptionCache * AC,LoopInfo * LI,DominatorTree * DT,ScalarEvolution * SE) IVUsers() argument 312 runOnLoop(Loop * L,LPPassManager & LPM) runOnLoop() argument 341 findAddRecForLoop(const SCEV * S,const Loop * L) findAddRecForLoop() argument 367 transformToPostInc(const Loop * L) transformToPostInc() argument [all...] |
/llvm-project/lldb/unittests/ScriptInterpreter/Lua/ |
H A D | LuaTests.cpp | 15 extern "C" int luaopen_lldb(lua_State *L) { return 0; } in luaopen_lldb() 19 lua_State *L, lldb::StackFrameSP stop_frame_sp, in LLDBSwigLuaBreakpointCallbackFunction() 27 lua_State *L, lldb::StackFrameSP stop_frame_sp, lldb::WatchpointSP wp_sp) { in LLDBSwigLuaWatchpointCallbackFunction()
|
/llvm-project/llvm/unittests/Target/SPIRV/ |
H A D | SPIRVConvergenceRegionAnalysisTests.cpp | 277 const auto *L = CR->Children[0]; in TEST_F() local 325 const auto *L = CR->Children[0]; in TEST_F() local 377 const auto *L = CR->Children[0]; in TEST_F() local 442 const auto *L = getRegionWithEntry("l1_header"); in TEST_F() local 518 const auto *L = getRegionWithEntry("l1_header"); in TEST_F() local 531 const auto *L = getRegionWithEntry("l2_header"); in TEST_F() local 737 const auto *L = getRegionWithEntry("l1"); in TEST_F() local 808 const auto *L = getRegionWithEntry("l1"); in TEST_F() local 875 const auto *L = getRegionWithEntry("l1_header"); in TEST_F() local 944 const auto *L = getRegionWithEntry("l1_header"); in TEST_F() local [all …]
|
/llvm-project/llvm/lib/Support/ |
H A D | Timer.cpp | 254 sys::SmartScopedLock<true> L(*TimerLock); get() local 291 sys::SmartScopedLock<true> L(*TimerLock); TimerGroup() local 316 sys::SmartScopedLock<true> L(*TimerLock); ~TimerGroup() local 324 sys::SmartScopedLock<true> L(*TimerLock); removeTimer() local 347 sys::SmartScopedLock<true> L(*TimerLock); addTimer() local 429 sys::SmartScopedLock<true> L(*TimerLock); print() local 439 sys::SmartScopedLock<true> L(*TimerLock); clear() local 445 sys::SmartScopedLock<true> L(*TimerLock); printAll() local 452 sys::SmartScopedLock<true> L(*TimerLock); clearAll() local 469 sys::SmartScopedLock<true> L(*TimerLock); printJSONValues() local 496 sys::SmartScopedLock<true> L(*TimerLock); printAllJSONValues() local [all...] |
/llvm-project/clang/test/CodeGen/ |
H A D | 2002-07-14-MiscListTests.c | 10 struct list *PassThroughList(struct list *L) { in PassThroughList() 41 void InsertIntoListTail(list **L, int Data) { in InsertIntoListTail() 50 list *FindData(list *L, int Data) { in FindData()
|
/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
H A D | CNFFormula.h | 55 inline constexpr bool isPosLit(Literal L) { return 0 == (L & 1); } in isPosLit() 58 inline constexpr bool isNegLit(Literal L) { return 1 == (L & 1); } in isNegLit() 61 inline constexpr Literal notLit(Literal L) { return L ^ 1; } in notLit() 64 inline constexpr Variable var(Literal L) { return L >> 1; } in var()
|
/llvm-project/clang-tools-extra/clangd/index/ |
H A D | SymbolLocation.cpp | 17 void SymbolLocation::Position::setLine(uint32_t L) { in setLine() 28 llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const SymbolLocation &L) { in operator <<()
|
/llvm-project/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 209 LTy L; member 224 LTy L; member 239 inline match_combine_or<LTy, RTy> m_CombineOr(const LTy &L, const RTy &R) { in m_CombineOr() argument 245 m_CombineAnd(const LTy & L,const RTy & R) m_CombineAnd() argument 1023 LHS_t L; global() member 1040 m_BinOp(const LHS & L,const RHS & R) m_BinOp() argument 1071 LHS_t L; global() member 1092 m_Add(const LHS & L,const RHS & R) m_Add() argument 1098 m_FAdd(const LHS & L,const RHS & R) m_FAdd() argument 1104 m_Sub(const LHS & L,const RHS & R) m_Sub() argument 1110 m_FSub(const LHS & L,const RHS & R) m_FSub() argument 1158 m_Mul(const LHS & L,const RHS & R) m_Mul() argument 1164 m_FMul(const LHS & L,const RHS & R) m_FMul() argument 1170 m_UDiv(const LHS & L,const RHS & R) m_UDiv() argument 1176 m_SDiv(const LHS & L,const RHS & R) m_SDiv() argument 1182 m_FDiv(const LHS & L,const RHS & R) m_FDiv() argument 1188 m_URem(const LHS & L,const RHS & R) m_URem() argument 1194 m_SRem(const LHS & L,const RHS & R) m_SRem() argument 1200 m_FRem(const LHS & L,const RHS & R) m_FRem() argument 1206 m_And(const LHS & L,const RHS & R) m_And() argument 1212 m_Or(const LHS & L,const RHS & R) m_Or() argument 1218 m_Xor(const LHS & L,const RHS & R) m_Xor() argument 1224 m_Shl(const LHS & L,const RHS & R) m_Shl() argument 1230 m_LShr(const LHS & L,const RHS & R) m_LShr() argument 1236 m_AShr(const LHS & L,const RHS & R) m_AShr() argument 1244 LHS_t L; global() member 1271 m_NSWAdd(const LHS & L,const RHS & R) m_NSWAdd() argument 1279 m_NSWSub(const LHS & L,const RHS & R) m_NSWSub() argument 1287 m_NSWMul(const LHS & L,const RHS & R) m_NSWMul() argument 1295 m_NSWShl(const LHS & L,const RHS & R) m_NSWShl() argument 1304 m_NUWAdd(const LHS & L,const RHS & R) m_NUWAdd() argument 1313 m_c_NUWAdd(const LHS & L,const RHS & R) m_c_NUWAdd() argument 1322 m_NUWSub(const LHS & L,const RHS & R) m_NUWSub() argument 1330 m_NUWMul(const LHS & L,const RHS & R) m_NUWMul() argument 1338 m_NUWShl(const LHS & L,const RHS & R) m_NUWShl() argument 1359 m_BinOp(unsigned Opcode,const LHS & L,const RHS & R) m_BinOp() argument 1366 LHS L; global() member 1385 m_DisjointOr(const LHS & L,const RHS & R) m_DisjointOr() argument 1390 m_c_DisjointOr(const LHS & L,const RHS & R) m_c_DisjointOr() argument 1399 m_AddLike(const LHS & L,const RHS & R) m_AddLike() argument 1409 m_NSWAddLike(const LHS & L,const RHS & R) m_NSWAddLike() argument 1419 m_NUWAddLike(const LHS & L,const RHS & R) m_NUWAddLike() argument 1429 LHS_t L; global() member 1480 m_Shift(const LHS & L,const RHS & R) m_Shift() argument 1487 m_Shr(const LHS & L,const RHS & R) m_Shr() argument 1495 m_LogicalShift(const LHS & L,const RHS & R) m_LogicalShift() argument 1502 m_BitwiseLogic(const LHS & L,const RHS & R) m_BitwiseLogic() argument 1509 m_c_BitwiseLogic(const LHS & L,const RHS & R) m_c_BitwiseLogic() argument 1515 m_IDiv(const LHS & L,const RHS & R) m_IDiv() argument 1522 m_IRem(const LHS & L,const RHS & R) m_IRem() argument 1554 LHS_t L; global() member 1579 m_Cmp(CmpInst::Predicate & Pred,const LHS & L,const RHS & R) m_Cmp() argument 1585 m_ICmp(ICmpInst::Predicate & Pred,const LHS & L,const RHS & R) m_ICmp() argument 1591 m_FCmp(FCmpInst::Predicate & Pred,const LHS & L,const RHS & R) m_FCmp() argument 1683 m_Select(const Cond & C,const LHS & L,const RHS & R) m_Select() argument 2115 LHS_t L; global() member 2218 m_SMax(const LHS & L,const RHS & R) m_SMax() argument 2224 m_SMin(const LHS & L,const RHS & R) m_SMin() argument 2230 m_UMax(const LHS & L,const RHS & R) m_UMax() argument 2236 m_UMin(const LHS & L,const RHS & R) m_UMin() argument 2247 m_MaxOrMin(const LHS & L,const RHS & R) m_MaxOrMin() argument 2262 m_OrdFMax(const LHS & L,const RHS & R) m_OrdFMax() argument 2277 m_OrdFMin(const LHS & L,const RHS & R) m_OrdFMin() argument 2293 m_UnordFMax(const LHS & L,const RHS & R) m_UnordFMax() argument 2308 m_UnordFMin(const LHS & L,const RHS & R) m_UnordFMin() argument 2335 LHS_t L; global() member 2398 m_UAddWithOverflow(const LHS_t & L,const RHS_t & R,const Sum_t & S) m_UAddWithOverflow() argument [all...] |