| /freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_ilist.h | 27 template <typename Base, INode Base::*Node, typename Elem> 41 template <typename Base, INode Base::*Node, typename Elem = Base> 46 void PushFront(Elem* e); 47 void PushBack(Elem* e); 48 void Remove(Elem* e); 50 Elem* PopFront(); 51 Elem* PopBack(); 52 Elem* Front(); 53 Elem* Back(); 56 Elem* Prev(Elem* e); [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SymbolManager.cpp | 81 if (Elem.getParent() == nullptr || in getStmt() 82 Elem.getIndexInBlock() >= Elem.getParent()->size()) in getStmt() 84 switch (Elem->getKind()) { in getStmt() 86 if (const auto *Init = Elem->castAs<CFGInitializer>().getInitializer()) { in getStmt() 91 return Elem->castAs<CFGScopeBegin>().getTriggerStmt(); in getStmt() 93 return Elem->castAs<CFGScopeEnd>().getTriggerStmt(); in getStmt() 95 return Elem->castAs<CFGNewAllocator>().getAllocatorExpr(); in getStmt() 97 return Elem->castAs<CFGLifetimeEnds>().getTriggerStmt(); in getStmt() 99 return Elem->castAs<CFGLoopExit>().getLoopStmt(); in getStmt() 101 return Elem->castAs<CFGStmt>().getStmt(); in getStmt() [all …]
|
| H A D | LoopWidening.cpp | 32 ConstCFGElementRef Elem) { in getWidenedLoopState() argument 77 return PrevState->invalidateRegions(Regions, Elem, BlockCount, LCtx, true, in getWidenedLoopState()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | MemProfRadixTree.h | 130 LinearFrameId Elem = in operator() local 134 if (static_cast<std::make_signed_t<LinearFrameId>>(Elem) < 0) { in operator() 135 Ptr += (-Elem) * sizeof(LinearFrameId); in operator() 136 Elem = in operator() 140 assert(static_cast<std::make_signed_t<LinearFrameId>>(Elem) >= 0); in operator() 141 Frames.push_back(FrameIdToFrame(Elem)); in operator() 183 LinearFrameId Elem = in operator() local 187 if (static_cast<std::make_signed_t<LinearFrameId>>(Elem) < 0) { in operator() 188 Ptr += (-Elem) * sizeof(LinearFrameId); in operator() 189 Elem = in operator() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IteratorModeling.cpp | 102 ConstCFGElementRef Elem, SVal RetVal, SVal LVal, 111 void handleRandomIncrOrDecr(CheckerContext &C, ConstCFGElementRef Elem, 115 ConstCFGElementRef Elem, OverloadedOperatorKind OK, 117 void handleAdvance(CheckerContext &C, ConstCFGElementRef Elem, SVal RetVal, 119 void handlePrev(CheckerContext &C, ConstCFGElementRef Elem, SVal RetVal, 121 void handleNext(CheckerContext &C, ConstCFGElementRef Elem, SVal RetVal, 123 void assignToContainer(CheckerContext &C, ConstCFGElementRef Elem, 355 const auto Elem = Call.getCFGElementRef(); in handleOverloadedOperator() local 360 handleComparison(C, OrigExpr, Elem, Call.getReturnValue(), in handleOverloadedOperator() 365 handleComparison(C, OrigExpr, Elem, Call.getReturnValue(), in handleOverloadedOperator() [all …]
|
| H A D | STLAlgorithmModeling.cpp | 133 const auto &Elem = Call.getCFGElementRef(); in Find() local 138 SVal RetVal = SVB.conjureSymbolVal(nullptr, Elem, LCtx, C.blockCount()); in Find() 150 Elem, LCtx, C.blockCount()); in Find() 172 Elem, LCtx, C.blockCount()); in Find()
|
| H A D | ContainerModeling.cpp | 35 void handleBegin(CheckerContext &C, ConstCFGElementRef Elem, SVal RetVal, 37 void handleEnd(CheckerContext &C, ConstCFGElementRef Elem, SVal RetVal, 39 void handleAssignment(CheckerContext &C, SVal Cont, ConstCFGElementRef Elem, 111 ConstCFGElementRef Elem, QualType T, 115 ConstCFGElementRef Elem, QualType T, 253 void ContainerModeling::handleBegin(CheckerContext &C, ConstCFGElementRef Elem, in handleBegin() argument 266 State = createContainerBegin(State, ContReg, Elem, C.getASTContext().LongTy, in handleBegin() 275 void ContainerModeling::handleEnd(CheckerContext &C, ConstCFGElementRef Elem, in handleEnd() argument 288 State = createContainerEnd(State, ContReg, Elem, C.getASTContext().LongTy, in handleEnd() 298 ConstCFGElementRef Elem, in handleAssignment() argument [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | ProgramStateTrait.h | 112 #define REGISTER_SET_WITH_PROGRAMSTATE(Name, Elem) \ argument 113 REGISTER_TRAIT_WITH_PROGRAMSTATE(Name, llvm::ImmutableSet<Elem>) 119 #define REGISTER_SET_FACTORY_WITH_PROGRAMSTATE(Name, Elem) \ argument 120 using Name = llvm::ImmutableSet<Elem>; \ 135 #define REGISTER_LIST_WITH_PROGRAMSTATE(Name, Elem) \ argument 136 REGISTER_TRAIT_WITH_PROGRAMSTATE(Name, llvm::ImmutableList<Elem>) 142 #define REGISTER_LIST_FACTORY_WITH_PROGRAMSTATE(Name, Elem) \ argument 143 using Name = llvm::ImmutableList<Elem>; \
|
| H A D | SymbolManager.h | 83 ConstCFGElementRef Elem; variable 93 : SymbolData(ClassKind, sym), Elem(elem), T(t), Count(count), LCtx(lctx), in SymbolConjured() 100 ConstCFGElementRef getCFGElementRef() const { return Elem; } in getCFGElementRef() 115 static void Profile(llvm::FoldingSetNodeID &profile, ConstCFGElementRef Elem, in Profile() argument 119 profile.Add(Elem); in Profile() 127 Profile(profile, Elem, LCtx, T, Count, SymbolTag); in Profile() 537 const SymbolConjured *conjureSymbol(ConstCFGElementRef Elem, 542 return acquire<SymbolConjured>(Elem, LCtx, T, VisitCount, SymbolTag);
|
| /freebsd/contrib/llvm-project/libcxx/include/ |
| H A D | locale | 84 template<class Codecvt, class Elem = wchar_t, 85 class Wide_alloc = allocator<Elem>, 91 typedef basic_string<Elem, char_traits<Elem>, Wide_alloc> wide_string; 112 byte_string to_bytes(Elem wchar); 113 byte_string to_bytes(const Elem* wptr); 115 byte_string to_bytes(const Elem* first, const Elem* last); 121 template <class Codecvt, class Elem = wchar_t, class Tr = char_traits<Elem>> 123 : public basic_streambuf<Elem, Tr>
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | AssumptionCache.cpp | 103 if (llvm::none_of(AVV, [&](ResultElem &Elem) { in updateAffectedValues() argument 104 return Elem.Assume == CI && Elem.Index == AV.Index; in updateAffectedValues() 120 for (ResultElem &Elem : AVI->second) { in unregisterAssumption() 121 if (Elem.Assume == CI) { in unregisterAssumption() 123 Elem.Assume = nullptr; in unregisterAssumption() 125 HasNonnull |= !!Elem.Assume; in unregisterAssumption()
|
| H A D | CFG.cpp | 229 SingleEntrySet(T Elem) : Elem(Elem) {} in SingleEntrySet() argument 231 bool contains(T Other) const { return Elem == Other; } in contains() 233 const_iterator begin() const { return &Elem; } in begin() 234 const_iterator end() const { return &Elem + 1; } in end() 237 T Elem; member in SingleEntrySet
|
| H A D | AssumeBundleQueries.cpp | 168 for (AssumptionCache::ResultElem &Elem : AC.assumptionsFor(V)) { in getKnowledgeForValue() 169 auto *II = cast_or_null<AssumeInst>(Elem.Assume); in getKnowledgeForValue() 170 if (!II || Elem.Index == AssumptionCache::ExprResultIdx) in getKnowledgeForValue() 173 *II, II->bundle_op_info_begin()[Elem.Index])) { in getKnowledgeForValue() 177 Filter(RK, II, &II->bundle_op_info_begin()[Elem.Index])) { in getKnowledgeForValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyDebugFixup.cpp | 104 for (auto &Elem : reverse(Stack)) { in runOnMachineFunction() local 105 if (MO.getReg() == Elem.Reg) { in runOnMachineFunction() 106 auto Depth = static_cast<unsigned>(&Elem - &Stack[0]); in runOnMachineFunction() 113 Elem.DebugValue = &MI; in runOnMachineFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | AssumeBundleBuilder.cpp | 364 for (auto &Elem : BBToAssume) { in buildMapping() local 365 llvm::sort(Elem.second, in buildMapping() 445 for (MapValue &Elem : Lookup) { in dropRedundantKnowledge() 446 if (!isValidAssumeForContext(Elem.Assume, Assume, DT)) in dropRedundantKnowledge() 448 if (Elem.ArgValue >= RK.ArgValue) { in dropRedundantKnowledge() 451 } else if (isValidAssumeForContext(Assume, Elem.Assume, DT)) { in dropRedundantKnowledge() 452 Elem.Assume->op_begin()[Elem.BOI->Begin + ABA_Argument].set( in dropRedundantKnowledge() 517 for (auto &Elem : BBToAssume) { in mergeAssumes() local 518 SmallVectorImpl<IntrinsicInst *> &AssumesInBB = Elem.second; in mergeAssumes() 537 mergeRange(Elem.first, *SplitIt, *(SplitIt + 1)); in mergeAssumes()
|
| H A D | LowerVectorIntrinsics.cpp | 43 Value *Elem = LoopBuilder.CreateExtractElement(Vec, LoopIndex); in lowerUnaryVectorIntrinsicAsLoop() local 46 Value *Res = LoopBuilder.CreateCall(Exp, Elem); in lowerUnaryVectorIntrinsicAsLoop()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | MachOBuilder.h | 461 for (auto &Elem : StrTab) { 462 Elem.Offset = Offset; 463 Offset += Elem.S.size() + 1; 554 for (auto &Elem : StrTab) { 555 assert(Offset + Elem.S.size() + 1 <= Buf.size() && "Buffer overflow"); 556 memcpy(&Buf[Offset], Elem.S.data(), Elem.S.size()); 557 Offset += Elem.S.size();
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | StmtObjC.cpp | 20 ObjCForCollectionStmt::ObjCForCollectionStmt(Stmt *Elem, Expr *Collect, in ObjCForCollectionStmt() argument 24 SubExprs[ELEM] = Elem; in ObjCForCollectionStmt()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyUtil.h | 178 void push_back(const T &Elem) { in push_back() argument 180 Data[Size++] = Elem; in push_back() 326 void push_back(const T &Elem) { in push_back() argument 328 Data->Vect.push_back(Elem); in push_back()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | SelfExecutorProcessControl.cpp | 92 for (auto &Elem : Request) { in lookupSymbolsAsync() local 93 sys::DynamicLibrary Dylib(Elem.Handle.toPtr<void *>()); in lookupSymbolsAsync() 95 for (auto &KV : Elem.Symbols) { in lookupSymbolsAsync()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | CheckExprLifetime.cpp | 1110 for (auto Elem : Path) { in shouldLifetimeExtendThroughPath() local 1111 if (Elem.Kind == IndirectLocalPathEntry::MemberExpr || in shouldLifetimeExtendThroughPath() 1112 Elem.Kind == IndirectLocalPathEntry::LambdaCaptureInit) in shouldLifetimeExtendThroughPath() 1114 return Elem.Kind == IndirectLocalPathEntry::DefaultInit in shouldLifetimeExtendThroughPath() 1544 auto Elem = Path[I]; in checkExprLifetimeImpl() local 1546 switch (Elem.Kind) { in checkExprLifetimeImpl() 1564 auto *FD = cast<FieldDecl>(Elem.D); in checkExprLifetimeImpl() 1572 const VarDecl *VD = cast<VarDecl>(Elem.D); in checkExprLifetimeImpl() 1580 if (!Elem.Capture->capturesVariable()) in checkExprLifetimeImpl() 1584 const ValueDecl *VD = Elem.Capture->getCapturedVar(); in checkExprLifetimeImpl() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Function.cpp | 67 using Elem = std::pair<unsigned, SourceInfo>; in getSource() typedef 68 auto It = llvm::lower_bound(SrcMap, Elem{Offset, {}}, llvm::less_first()); in getSource()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | CreateInvocationFromCommandLine.cpp | 49 Args, [](const char *Elem) { return llvm::StringRef(Elem) == "--"; }), in createInvocation() argument
|
| /freebsd/contrib/googletest/docs/ |
| H A D | gmock_cheat_sheet.md | 59 template <typename Elem> 64 virtual void Push(const Elem& x) = 0; 72 template <typename Elem> 73 class MockStack : public StackInterface<Elem> { 76 MOCK_METHOD(void, Push, (const Elem& x), (override));
|
| /freebsd/contrib/llvm-project/libcxx/src/filesystem/ |
| H A D | path.cpp | 240 auto Elem = *PP; in DetermineLexicalElementCount() local 241 if (Elem == PATHSTR("..")) in DetermineLexicalElementCount() 243 else if (Elem != PATHSTR(".") && Elem != PATHSTR("")) in DetermineLexicalElementCount()
|