/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/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>; \
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | CFG.cpp | 228 SingleEntrySet(T Elem) : Elem(Elem) {} in SingleEntrySet() argument 230 bool contains(T Other) const { return Elem == Other; } in contains() 232 const_iterator begin() const { return &Elem; } in begin() 233 const_iterator end() const { return &Elem + 1; } in end() 236 T Elem; member in SingleEntrySet
|
H A D | AssumptionCache.cpp | 105 if (llvm::none_of(AVV, [&](ResultElem &Elem) { in updateAffectedValues() argument 106 return Elem.Assume == CI && Elem.Index == AV.Index; in updateAffectedValues() 122 for (ResultElem &Elem : AVI->second) { in unregisterAssumption() 123 if (Elem.Assume == CI) { in unregisterAssumption() 125 Elem.Assume = nullptr; in unregisterAssumption() 127 HasNonnull |= !!Elem.Assume; in unregisterAssumption()
|
H A D | AssumeBundleQueries.cpp | 165 for (AssumptionCache::ResultElem &Elem : AC->assumptionsFor(V)) { in getKnowledgeForValue() 166 auto *II = cast_or_null<AssumeInst>(Elem.Assume); in getKnowledgeForValue() 167 if (!II || Elem.Index == AssumptionCache::ExprResultIdx) in getKnowledgeForValue() 170 *II, II->bundle_op_info_begin()[Elem.Index])) { in getKnowledgeForValue() 174 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 | 107 for (auto &Elem : reverse(Stack)) { in runOnMachineFunction() local 108 if (MO.getReg() == Elem.Reg) { in runOnMachineFunction() 109 auto Depth = static_cast<unsigned>(&Elem - &Stack[0]); in runOnMachineFunction() 116 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()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Function.cpp | 41 using Elem = std::pair<unsigned, SourceInfo>; in getSource() typedef 42 auto It = llvm::lower_bound(SrcMap, Elem{Offset, {}}, llvm::less_first()); in getSource()
|
H A D | Descriptor.cpp | 324 Descriptor::Descriptor(const DeclTy &D, const Descriptor *Elem, MetadataSize MD, in Descriptor() argument 327 : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), in Descriptor() 330 ElemDesc(Elem), IsConst(IsConst), IsMutable(IsMutable), in Descriptor() 337 Descriptor::Descriptor(const DeclTy &D, const Descriptor *Elem, MetadataSize MD, in Descriptor() argument 339 : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), in Descriptor() 341 AllocSize(MDSize + alignof(void *)), ElemDesc(Elem), IsConst(true), in Descriptor()
|
H A D | Descriptor.h | 173 Descriptor(const DeclTy &D, const Descriptor *Elem, MetadataSize MD, 177 Descriptor(const DeclTy &D, const Descriptor *Elem, MetadataSize MD,
|
/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/lib/Sema/ |
H A D | CheckExprLifetime.cpp | 930 for (auto Elem : Path) { in shouldLifetimeExtendThroughPath() local 931 if (Elem.Kind == IndirectLocalPathEntry::DefaultInit) in shouldLifetimeExtendThroughPath() 933 else if (Elem.Kind != IndirectLocalPathEntry::LambdaCaptureInit) in shouldLifetimeExtendThroughPath() 1234 auto Elem = Path[I]; in checkExprLifetimeImpl() local 1236 switch (Elem.Kind) { in checkExprLifetimeImpl() 1252 auto *FD = cast<FieldDecl>(Elem.D); in checkExprLifetimeImpl() 1260 const VarDecl *VD = cast<VarDecl>(Elem.D); in checkExprLifetimeImpl() 1268 if (!Elem.Capture->capturesVariable()) in checkExprLifetimeImpl() 1272 const ValueDecl *VD = Elem.Capture->getCapturedVar(); in checkExprLifetimeImpl() 1273 SemaRef.Diag(Elem.Capture->getLocation(), in checkExprLifetimeImpl() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | MachOBuilder.h | 466 for (auto &Elem : StrTab) { 467 Elem.Offset = Offset; 468 Offset += Elem.S.size() + 1; 559 for (auto &Elem : StrTab) { 560 assert(Offset + Elem.S.size() + 1 <= Buf.size() && "Buffer overflow"); 561 memcpy(&Buf[Offset], Elem.S.data(), Elem.S.size()); 562 Offset += Elem.S.size();
|
H A D | ObjectLinkingLayer.h | 137 auto I = llvm::find_if(Plugins, [&](const std::shared_ptr<Plugin> &Elem) { in removePlugin() 138 return Elem.get() == &P; in removePlugin()
|
/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/clang/lib/Frontend/ |
H A D | CreateInvocationFromCommandLine.cpp | 42 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/llvm/lib/ExecutionEngine/Orc/ |
H A D | ExecutorProcessControl.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/libcxx/src/filesystem/ |
H A D | path.cpp | 237 auto Elem = *PP; in DetermineLexicalElementCount() local 238 if (Elem == PATHSTR("..")) in DetermineLexicalElementCount() 240 else if (Elem != PATHSTR(".") && Elem != PATHSTR("")) in DetermineLexicalElementCount()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | DynamicType.cpp | 168 for (const auto &Elem : Map) in removeDeadImpl() local 169 if (!isLive(SR, Elem.first)) in removeDeadImpl() 170 State = State->remove<MapTy>(Elem.first); in removeDeadImpl()
|
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/Serialization/ |
H A D | SymbolGraphSerializer.cpp | 589 Object Elem; in generateParentContexts() local 590 Elem["usr"] = Parent.USR; in generateParentContexts() 591 Elem["name"] = Parent.Name; in generateParentContexts() 593 Elem["kind"] = serializeSymbolKind(Parent.Record->KindForDisplay, in generateParentContexts() 596 Elem["kind"] = in generateParentContexts() 598 ParentContexts.emplace_back(std::move(Elem)); in generateParentContexts()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLowering.cpp | 2520 HexagonTargetLowering::buildVector32(ArrayRef<SDValue> Elem, const SDLoc &dl, in buildVector32() argument 2523 assert(VecTy.getVectorNumElements() == Elem.size()); in buildVector32() 2525 SmallVector<ConstantInt*,4> Consts(Elem.size()); in buildVector32() 2526 bool AllConst = getBuildVectorConstInts(Elem, VecTy, DAG, Consts); in buildVector32() 2528 unsigned First, Num = Elem.size(); in buildVector32() 2530 if (!isUndef(Elem[First])) in buildVector32() 2541 assert(Elem.size() == 2); in buildVector32() 2551 E0 = DAG.getZExtOrTrunc(DAG.getBitcast(MVT::i16, Elem[0]), dl, MVT::i32); in buildVector32() 2552 E1 = DAG.getZExtOrTrunc(DAG.getBitcast(MVT::i16, Elem[1]), dl, MVT::i32); in buildVector32() 2554 E0 = Elem[0]; in buildVector32() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | UnreachableCodeChecker.cpp | 201 for (const CFGElement &Elem : *CB) { in getUnreachableStmt() 202 if (std::optional<CFGStmt> S = Elem.getAs<CFGStmt>()) { in getUnreachableStmt()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | LLVMContextImpl.cpp | 133 FoldingSetIterator<AttributeSetNode> Elem = I++; in ~LLVMContextImpl() local 134 delete &*Elem; in ~LLVMContextImpl()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | codecvt | 26 template <class Elem, unsigned long Maxcode = 0x10ffff, 29 : public codecvt<Elem, char, mbstate_t> 35 template <class Elem, unsigned long Maxcode = 0x10ffff, 38 : public codecvt<Elem, char, mbstate_t> 44 template <class Elem, unsigned long Maxcode = 0x10ffff, 47 : public codecvt<Elem, char, mbstate_t>
|