/openbsd/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_ilist.h | 56 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 …]
|
/openbsd/gnu/lib/libstdc++/libstdc++/testsuite/20_util/ |
H A D | binders.cc | 27 class Elem class 37 std::vector<Elem> coll(2); in test01() 40 std::bind2nd(std::mem_fun_ref(&Elem::print), 42)); in test01() 43 std::bind2nd(std::mem_fun_ref(&Elem::modify), 42)); in test01()
|
/openbsd/gnu/llvm/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>; \
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/llvm/lib/Analysis/ |
H A D | AssumptionCache.cpp | 149 if (llvm::none_of(AVV, [&](ResultElem &Elem) { in updateAffectedValues() argument 150 return Elem.Assume == CI && Elem.Index == AV.Index; in updateAffectedValues() 166 for (ResultElem &Elem : AVI->second) { in unregisterAssumption() 167 if (Elem.Assume == CI) { in unregisterAssumption() 169 Elem.Assume = nullptr; in unregisterAssumption() 171 HasNonnull |= !!Elem.Assume; in unregisterAssumption()
|
H A D | AssumeBundleQueries.cpp | 164 for (AssumptionCache::ResultElem &Elem : AC->assumptionsFor(V)) { in getKnowledgeForValue() 165 auto *II = dyn_cast_or_null<AssumeInst>(Elem.Assume); in getKnowledgeForValue() 166 if (!II || Elem.Index == AssumptionCache::ExprResultIdx) in getKnowledgeForValue() 169 *II, II->bundle_op_info_begin()[Elem.Index])) { in getKnowledgeForValue() 173 Filter(RK, II, &II->bundle_op_info_begin()[Elem.Index])) { in getKnowledgeForValue()
|
H A D | StratifiedSets.h | 93 std::optional<StratifiedInfo> find(const T &Elem) const { in find() argument 94 auto Iter = Values.find(Elem); in find() 342 bool has(const T &Elem) const { return get(Elem).has_value(); } in has() argument
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/ |
H A D | Scalarizer.cpp | 520 for (unsigned Elem = 0; Elem < NumElems; ++Elem) in splitUnary() local 521 Res[Elem] = Split(Builder, Op[Elem], I.getName() + ".i" + Twine(Elem)); in splitUnary() 542 for (unsigned Elem = 0; Elem < NumElems; ++Elem) { in splitBinary() local 543 Value *Op0 = VOp0[Elem]; in splitBinary() 544 Value *Op1 = VOp1[Elem]; in splitBinary() 545 Res[Elem] = Split(Builder, Op0, Op1, I.getName() + ".i" + Twine(Elem)); in splitBinary() 611 for (unsigned Elem = 0; Elem < NumElems; ++Elem) { in splitCall() local 618 ScalarCallOps.push_back(Scattered[J][Elem]); in splitCall() 621 Res[Elem] = Builder.CreateCall(NewIntrin, ScalarCallOps, in splitCall() 622 CI.getName() + ".i" + Twine(Elem)); in splitCall()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/ |
H A D | AssumeBundleBuilder.cpp | 362 for (auto &Elem : BBToAssume) { in buildMapping() local 363 llvm::sort(Elem.second, in buildMapping() 443 for (MapValue &Elem : Lookup) { in dropRedundantKnowledge() 444 if (!isValidAssumeForContext(Elem.Assume, Assume, DT)) in dropRedundantKnowledge() 446 if (Elem.ArgValue >= RK.ArgValue) { in dropRedundantKnowledge() 449 } else if (isValidAssumeForContext(Assume, Elem.Assume, DT)) { in dropRedundantKnowledge() 450 Elem.Assume->op_begin()[Elem.BOI->Begin + ABA_Argument].set( in dropRedundantKnowledge() 515 for (auto &Elem : BBToAssume) { in mergeAssumes() local 516 SmallVectorImpl<IntrinsicInst *> &AssumesInBB = Elem.second; in mergeAssumes() 535 mergeRange(Elem.first, *SplitIt, *(SplitIt + 1)); in mergeAssumes()
|
/openbsd/gnu/llvm/clang/lib/AST/Interp/ |
H A D | Function.cpp | 36 using Elem = std::pair<unsigned, SourceInfo>; in getSource() typedef 37 auto It = llvm::lower_bound(SrcMap, Elem{Offset, {}}, llvm::less_first()); in getSource()
|
H A D | Descriptor.cpp | 228 Descriptor::Descriptor(const DeclTy &D, Descriptor *Elem, MetadataSize MD, in Descriptor() argument 231 : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), in Descriptor() 234 ElemDesc(Elem), IsConst(IsConst), IsMutable(IsMutable), in Descriptor() 240 Descriptor::Descriptor(const DeclTy &D, Descriptor *Elem, bool IsTemporary, in Descriptor() argument 242 : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), in Descriptor() 244 ElemDesc(Elem), IsConst(true), IsMutable(false), IsTemporary(IsTemporary), in Descriptor()
|
H A D | Descriptor.h | 132 Descriptor(const DeclTy &D, Descriptor *Elem, MetadataSize MD, 136 Descriptor(const DeclTy &D, Descriptor *Elem, bool IsTemporary, UnknownSize);
|
/openbsd/gnu/llvm/clang/lib/AST/ |
H A D | StmtObjC.cpp | 20 ObjCForCollectionStmt::ObjCForCollectionStmt(Stmt *Elem, Expr *Collect, in ObjCForCollectionStmt() argument 24 SubExprs[ELEM] = Elem; in ObjCForCollectionStmt()
|
/openbsd/gnu/llvm/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() 322 void push_back(const T &Elem) { in push_back() argument 324 Data->Vect.push_back(Elem); in push_back()
|
/openbsd/gnu/llvm/clang/lib/Frontend/ |
H A D | CreateInvocationFromCommandLine.cpp | 42 Args, [](const char *Elem) { return llvm::StringRef(Elem) == "--"; }), in createInvocation() argument
|
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/ |
H A D | ExecutorProcessControl.cpp | 88 for (auto &Elem : Request) { in lookupSymbols() local 89 sys::DynamicLibrary Dylib(Elem.Handle.toPtr<void *>()); in lookupSymbols() 91 for (auto &KV : Elem.Symbols) { in lookupSymbols()
|
/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLowering.cpp | 2502 unsigned First, Num = Elem.size(); in buildVector32() 2504 if (!isUndef(Elem[First])) in buildVector32() 2515 assert(Elem.size() == 2); in buildVector32() 2528 E0 = Elem[0]; in buildVector32() 2529 E1 = Elem[1]; in buildVector32() 2548 if (Elem[i] == Elem[First] || isUndef(Elem[i])) in buildVector32() 2562 assert(Elem.size() == 4); in buildVector32() 2595 if (!isUndef(Elem[First])) in buildVector64() 2609 if (Elem[i] == Elem[First] || isUndef(Elem[i])) in buildVector64() 2637 ? Elem[0] in buildVector64() [all …]
|
/openbsd/gnu/llvm/llvm/lib/IR/ |
H A D | LLVMContextImpl.cpp | 126 FoldingSetIterator<AttributeSetNode> Elem = I++; in ~LLVMContextImpl() local 127 delete &*Elem; in ~LLVMContextImpl()
|
/openbsd/gnu/llvm/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>
|
/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntimeGPU.cpp | 1381 llvm::Value *Elem, in createRuntimeShuffleFunction() argument 1650 llvm::Value *Elem = CGF.EmitLoadOfScalar( local 1661 CodeGenFunction::ComplexPairTy Elem = CGF.EmitLoadOfComplex( local 1890 llvm::Value *Elem = CGF.EmitLoadOfScalar( in emitInterWarpCopyFunction() local 2381 Elem = CGF.Builder.CreateConstArrayGEP(ReductionList, Idx); in emitListToGlobalReduceFunction() 2388 Elem); in emitListToGlobalReduceFunction() 2591 Elem = CGF.Builder.CreateConstArrayGEP(ReductionList, Idx); in emitGlobalToListReduceFunction() 2598 Elem); in emitGlobalToListReduceFunction() 2909 Elem); in emitReduction() 2913 Elem = CGF.Builder.CreateConstArrayGEP(ReductionList, Idx); in emitReduction() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelDAGToDAG.cpp | 267 bool selectBDVAddr12Only(SDValue Addr, SDValue Elem, SDValue &Base, 704 bool SystemZDAGToDAGISel::selectBDVAddr12Only(SDValue Addr, SDValue Elem, in selectBDVAddr12Only() argument 719 Index.getOperand(1) == Elem) { in selectBDVAddr12Only() 1191 unsigned Elem = ElemN->getZExtValue(); in tryGather() local 1193 if (Elem >= VT.getVectorNumElements()) in tryGather() 1211 CurDAG->getTargetConstant(Elem, DL, MVT::i32), Load->getChain() in tryGather() 1233 unsigned Elem = ElemN->getZExtValue(); in tryScatter() local 1234 if (Elem >= VT.getVectorNumElements()) in tryScatter() 1244 Vec, Base, Disp, Index, CurDAG->getTargetConstant(Elem, DL, MVT::i32), in tryScatter()
|
/openbsd/gnu/llvm/llvm/include/llvm/IR/ |
H A D | ModuleSummaryIndexYAML.h | 217 auto &Elem = V.find(KeyInt)->second; 225 Elem.SummaryList.push_back(std::make_unique<FunctionSummary>(
|
/openbsd/gnu/llvm/llvm/tools/llvm-rc/ |
H A D | ResourceFileWriter.cpp | 1309 for (auto &Elem : Res->Contents) { in writeUserDefinedBody() local 1310 if (Elem.isInt()) { in writeUserDefinedBody() 1312 checkRCInt(Elem.getInt(), "Number in user-defined resource")); in writeUserDefinedBody() 1313 writeRCInt(Elem.getInt()); in writeUserDefinedBody() 1320 processString(Elem.getString(), NullHandlingMethod::UserResource, in writeUserDefinedBody()
|
/openbsd/gnu/llvm/clang/lib/Index/ |
H A D | IndexingContext.cpp | 419 auto It = llvm::find_if(FinalRelations, [&](SymbolRelation Elem) -> bool { in handleDeclOccurrence() argument 420 return Elem.RelatedSymbol == Rel.RelatedSymbol; in handleDeclOccurrence()
|