Home
last modified time | relevance | path

Searched refs:Elem (Results 1 – 25 of 84) sorted by relevance

1234

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_ilist.h56 Elem* Prev(Elem* e);
58 Elem* Next(Elem* e);
82 void IList<Base, Node, Elem>::PushFront(Elem* e) { in PushFront()
87 void IList<Base, Node, Elem>::PushBack(Elem* e) { in PushBack()
105 void IList<Base, Node, Elem>::Remove(Elem* e) { in Remove()
119 Elem* IList<Base, Node, Elem>::PopFront() { in PopFront()
127 Elem* IList<Base, Node, Elem>::PopBack() { in PopBack()
135 Elem* IList<Base, Node, Elem>::Front() { in Front()
140 Elem* IList<Base, Node, Elem>::Back() { in Back()
145 Elem* IList<Base, Node, Elem>::Prev(Elem* e) { in Prev()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DProgramStateTrait.h112 #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-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyDebugFixup.cpp107 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-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DAssumptionCache.cpp152 if (llvm::none_of(AVV, [&](ResultElem &Elem) { in updateAffectedValues() argument
153 return Elem.Assume == CI && Elem.Index == AV.Index; in updateAffectedValues()
169 for (ResultElem &Elem : AVI->second) { in unregisterAssumption()
170 if (Elem.Assume == CI) { in unregisterAssumption()
172 Elem.Assume = nullptr; in unregisterAssumption()
174 HasNonnull |= !!Elem.Assume; in unregisterAssumption()
H A DAssumeBundleQueries.cpp165 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-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp364 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-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DFunction.cpp41 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 DDescriptor.cpp265 Descriptor::Descriptor(const DeclTy &D, const Descriptor *Elem, MetadataSize MD, in Descriptor() argument
268 : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), in Descriptor()
271 ElemDesc(Elem), IsConst(IsConst), IsMutable(IsMutable), in Descriptor()
278 Descriptor::Descriptor(const DeclTy &D, const Descriptor *Elem, in Descriptor() argument
280 : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), in Descriptor()
282 AllocSize(alignof(void *) + sizeof(InitMapPtr)), ElemDesc(Elem), in Descriptor()
H A DDescriptor.h134 Descriptor(const DeclTy &D, const Descriptor *Elem, MetadataSize MD,
138 Descriptor(const DeclTy &D, const Descriptor *Elem, bool IsTemporary,
H A DInterpBuiltin.cpp270 const Pointer &Elem = Arg.atIndex(I); in interp__builtin_nan() local
272 if (!CheckLoad(S, OpPC, Elem)) in interp__builtin_nan()
275 if (Elem.deref<int8_t>() == 0) in interp__builtin_nan()
278 Str += Elem.deref<char>(); in interp__builtin_nan()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DStmtObjC.cpp20 ObjCForCollectionStmt::ObjCForCollectionStmt(Stmt *Elem, Expr *Collect, in ObjCForCollectionStmt() argument
24 SubExprs[ELEM] = Elem; in ObjCForCollectionStmt()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DMachOBuilder.h466 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();
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyUtil.h178 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-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DCreateInvocationFromCommandLine.cpp42 Args, [](const char *Elem) { return llvm::StringRef(Elem) == "--"; }), in createInvocation() argument
/freebsd-14.2/contrib/googletest/docs/
H A Dgmock_cheat_sheet.md59 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-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DExecutorProcessControl.cpp96 for (auto &Elem : Request) { in lookupSymbols() local
97 sys::DynamicLibrary Dylib(Elem.Handle.toPtr<void *>()); in lookupSymbols()
99 for (auto &KV : Elem.Symbols) { in lookupSymbols()
/freebsd-14.2/contrib/llvm-project/libcxx/src/filesystem/
H A Dpath.cpp237 auto Elem = *PP; in DetermineLexicalElementCount() local
238 if (Elem == PATHSTR("..")) in DetermineLexicalElementCount()
240 else if (Elem != PATHSTR(".") && Elem != PATHSTR("")) in DetermineLexicalElementCount()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DDynamicType.cpp168 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-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUnreachableCodeChecker.cpp199 for (const CFGElement &Elem : *CB) { in getUnreachableStmt()
200 if (std::optional<CFGStmt> S = Elem.getAs<CFGStmt>()) { in getUnreachableStmt()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp2511 unsigned First, Num = Elem.size(); in buildVector32()
2513 if (!isUndef(Elem[First])) in buildVector32()
2524 assert(Elem.size() == 2); in buildVector32()
2537 E0 = Elem[0]; in buildVector32()
2538 E1 = Elem[1]; in buildVector32()
2557 if (Elem[i] == Elem[First] || isUndef(Elem[i])) in buildVector32()
2571 assert(Elem.size() == 4); in buildVector32()
2604 if (!isUndef(Elem[First])) in buildVector64()
2618 if (Elem[i] == Elem[First] || isUndef(Elem[i])) in buildVector64()
2646 ? Elem[0] in buildVector64()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.cpp128 FoldingSetIterator<AttributeSetNode> Elem = I++; in ~LLVMContextImpl() local
129 delete &*Elem; in ~LLVMContextImpl()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dcodecvt26 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>
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp1435 llvm::Value *Elem, in createRuntimeShuffleFunction() argument
1645 llvm::Value *Elem = CGF.EmitLoadOfScalar( local
1656 CodeGenFunction::ComplexPairTy Elem = CGF.EmitLoadOfComplex( local
1846 llvm::Value *Elem = CGF.EmitLoadOfScalar( in emitInterWarpCopyFunction() local
2329 Elem = CGF.Builder.CreateConstArrayGEP(ReductionList, Idx); in emitListToGlobalReduceFunction()
2336 Elem); in emitListToGlobalReduceFunction()
2536 Elem = CGF.Builder.CreateConstArrayGEP(ReductionList, Idx); in emitGlobalToListReduceFunction()
2543 Elem); in emitGlobalToListReduceFunction()
2863 Elem); in emitReduction()
2867 Elem = CGF.Builder.CreateConstArrayGEP(ReductionList, Idx); in emitReduction()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp267 bool selectBDVAddr12Only(SDValue Addr, SDValue Elem, SDValue &Base,
708 bool SystemZDAGToDAGISel::selectBDVAddr12Only(SDValue Addr, SDValue Elem, in selectBDVAddr12Only() argument
723 Index.getOperand(1) == Elem) { in selectBDVAddr12Only()
1226 unsigned Elem = ElemN->getZExtValue(); in tryGather() local
1228 if (Elem >= VT.getVectorNumElements()) in tryGather()
1246 CurDAG->getTargetConstant(Elem, DL, MVT::i32), Load->getChain() in tryGather()
1268 unsigned Elem = ElemN->getZExtValue(); in tryScatter() local
1269 if (Elem >= VT.getVectorNumElements()) in tryScatter()
1279 Vec, Base, Disp, Index, CurDAG->getTargetConstant(Elem, DL, MVT::i32), in tryScatter()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndexYAML.h217 auto &Elem = V.find(KeyInt)->second;
225 Elem.SummaryList.push_back(std::make_unique<FunctionSummary>(

1234