reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/ADT/STLExtras.h
  517 bool all_of(R &&range, UnaryPredicate P);

References

include/llvm/ADT/STLExtras.h
  607     return all_of(std::initializer_list<bool>{std::get<Ns>(this->iterators) !=
include/llvm/Analysis/LazyCallGraph.h
 1097         if (llvm::all_of(BA->users(), [&](User *U) {
lib/Analysis/BranchProbabilityInfo.cpp
  181   if (llvm::all_of(successors(BB), [&](const BasicBlock *SuccBB) {
lib/Analysis/CodeMetrics.cpp
   58     if (!all_of(V->users(), [&](const User *U) { return EphValues.count(U); }))
lib/Analysis/ConstantFolding.cpp
 1152   if (!all_of(I->operands(), [](Use &U) { return isa<Constant>(U); }))
lib/Analysis/GlobalsModRef.cpp
  905     if (!all_of(Objects, isIdentifiedObject) &&
  907         !all_of(Objects, [&](const Value *V) {
lib/Analysis/InlineCost.cpp
 1701             llvm::all_of(predecessors(BB),
lib/Analysis/InstructionSimplify.cpp
 2437       return all_of(Objects, isNoAliasCall);
 2447       return all_of(Objects, [](const Value *V) {
 4064       all_of(Ops.slice(1).drop_back(1),
 4090   if (!all_of(Ops, [](Value *V) { return isa<Constant>(V); }))
lib/Analysis/LazyCallGraph.cpp
 1157   if (llvm::all_of(TargetNs,
 1164   if (llvm::all_of(TargetNs, [&](Node *TargetN) {
lib/Analysis/LoopAccessAnalysis.cpp
 1103   assert(llvm::all_of(
 1152   if (llvm::all_of(SortedIndices, [&SortedIndices](const unsigned I) {
lib/Analysis/LoopCacheAnalysis.cpp
  353     return all_of(Subscripts, [&](const SCEV *Subscript) {
  371   bool allCoeffForLoopAreZero = all_of(Subscripts, [&](const SCEV *Subscript) {
lib/Analysis/LoopInfo.cpp
   68   return all_of(I->operands(), [this](Value *V) { return isLoopInvariant(V); });
  450   return all_of(this->blocks(), [&](const BasicBlock *BB) {
  459   return all_of(this->blocks(), [&](const BasicBlock *BB) {
lib/Analysis/MemorySSA.cpp
  801       assert(all_of(TerminatedPaths, [&](const TerminatedPath &P) {
  897       assert(all_of(NewPaused,
  914     assert(all_of(R.OtherClobbers, [&](const TerminatedPath &P) {
lib/Analysis/ModuleSummaryAnalysis.cpp
  796         llvm::all_of(Summary->refs(), [&](const ValueInfo &VI) {
  805       bool AllCallsCanBeExternallyReferenced = llvm::all_of(
lib/Analysis/ScalarEvolution.cpp
 2358   if (SignOrUnsignWrap == SCEV::FlagNSW && all_of(Ops, IsKnownNonNegative))
 3449       bool AllInvariant = all_of(
 3461         AllInvariant = all_of(NestedOperands, [&](const SCEV *Op) {
 5271   if (PN->getNumIncomingValues() == 2 && all_of(PN->blocks(), IsReachable)) {
12326   return all_of(Preds,
12340     return all_of(Set->Preds,
lib/Analysis/ValueTracking.cpp
  481     if (llvm::all_of(V->users(), [&](const User *U) {
 2236     bool AllNonZeroConstants = llvm::all_of(PN->operands(), [](Value *V) {
lib/AsmParser/LLLexer.cpp
  950     if (!all_of(HexStr, isxdigit)) {
lib/CodeGen/AsmPrinter/DebugLocEntry.h
  130     assert((Values.size() == 1 || all_of(Values, [](DbgValueLoc V) {
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  272   assert(llvm::all_of(FrameIndexExprs,
  313           llvm::all_of(FrameIndexExprs,
 2231     assert(llvm::all_of(Values, [](DbgValueLoc P) {
 2753   if (llvm::all_of(CUMap, [](const decltype(CUMap)::value_type &Pair) {
lib/CodeGen/CodeGenPrepare.cpp
  726     if (llvm::all_of(DestBB->phis(), [&](const PHINode &DestPN) {
lib/CodeGen/ImplicitNullChecks.cpp
  242   return llvm::all_of(MI->memoperands(), IsUnordered);
  248   assert(llvm::all_of(Block, canHandle) && "Check this first!");
lib/CodeGen/MIRParser/MIParser.cpp
 1522     if (SizeStr.size() == 0 || !llvm::all_of(SizeStr, isdigit))
 1566   if (SizeStr.size() == 0 || !llvm::all_of(SizeStr, isdigit))
 1601   if (SizeStr.size() == 0 || !llvm::all_of(SizeStr, isdigit))
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
16936   if (llvm::all_of(VecOp->uses(), [&](SDNode *Use) {
17918   if (llvm::all_of(N->ops(), IsBuildVectorOrUndef)) {
18430       llvm::all_of(Mask.slice(NumElemsPerConcat, NumElemsPerConcat),
18446     if (llvm::all_of(SubMask, IsUndefMaskElt)) {
20846   bool AddNewChain = llvm::all_of(TFOps, hasImprovedChain);
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  265   return all_of(N->op_values(), [](SDValue Op) { return Op.isUndef(); });
 1583   assert(llvm::all_of(Mask,
 3387     if (llvm::all_of(Val->ops(), [BitWidth](SDValue E) {
 4160   if (llvm::all_of(Ops, [](SDValue Op) { return Op.isUndef(); }))
 4189   assert(llvm::all_of(Ops,
 4202   if (llvm::all_of(Ops, [](SDValue Op) { return Op.isUndef(); }))
 4915   if (!llvm::all_of(Ops, IsConstantBuildVectorOrUndef) ||
 4916       !llvm::all_of(Ops, IsScalarOrSameVectorSize))
 8990     return llvm::all_of((*this)->ops(), [=](SDValue Op) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 3245   return llvm::all_of(Cond->users(), [](const Value *V) {
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 4886     if (llvm::all_of(Values, [Predicate, SplatValue](SDValue Value) {
 5383     return llvm::all_of(Op->op_values(), [&](SDValue N) {
lib/CodeGen/WinEHPrepare.cpp
  835                   llvm::all_of(IncomingColors,
lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
  114   return llvm::all_of(S, [](char C) { return unsigned(C) < 0x80; });
lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp
  284   assert(llvm::all_of(G->external_symbols(),
lib/ExecutionEngine/Orc/SpeculateAnalyses.cpp
   70   return llvm::all_of(F.getBasicBlockList(), [](const BasicBlock &BB) {
lib/IR/Function.cpp
  319     assert(llvm::all_of(makeArgArray(Arguments, NumArgs),
lib/IR/Instructions.cpp
 3910       all_of(Weights.getValue(), [](uint32_t W) { return W == 0; });
lib/IR/ModuleSummaryIndex.cpp
   35          llvm::all_of(getSummaryList(),
   44          llvm::all_of(getSummaryList(),
lib/IR/Verifier.cpp
 3281   Assert(all_of(
lib/LTO/LTO.cpp
 1099         all_of(CombinedIndex.getModuleHash(ModuleID),
lib/LTO/ThinLTOCodeGenerator.cpp
  327     if (all_of(Index.getModuleHash(ModuleID),
lib/MC/XCOFFObjectWriter.cpp
  559         llvm::all_of(Section->Groups, [](const CsectGroup *Group) {
lib/MCA/Instruction.cpp
  192   if (!all_of(getUses(), [](const ReadState &Use) { return Use.isReady(); }))
  196   if (!all_of(getDefs(), [](const WriteState &Def) { return Def.isReady(); }))
  206   if (!all_of(getUses(), [](const ReadState &Use) {
  212   if (!all_of(getDefs(),
lib/ObjectYAML/MinidumpYAML.cpp
  185     if (!all_of(Scalar, isHexDigit))
lib/ProfileData/Coverage/CoverageMappingWriter.cpp
  129   assert(all_of(MappingRegions,
lib/TableGen/Record.cpp
  233   return llvm::all_of(RTy->getClasses(), [this](Record *TargetClass) {
lib/Target/AArch64/AArch64InstructionSelector.cpp
 4164   return all_of(MRI.use_instructions(DefReg),
lib/Target/AArch64/AArch64RedundantCopyElimination.cpp
  357       if (all_of(KnownRegs, [&](RegImm KnownReg) {
lib/Target/AArch64/AArch64SpeculationHardening.cpp
  484     bool AllDefsAreGPR = llvm::all_of(MI.defs(), [&](MachineOperand &Op) {
lib/Target/AArch64/MCTargetDesc/AArch64AddressingModes.h
  757   return all_of(Parts, [&](T Elem) { return Elem == Parts[0]; });
lib/Target/AMDGPU/SIInstrInfo.cpp
 3454           if (llvm::all_of(SGPRsUsed, [this, SGPRUsed](unsigned SGPR) {
lib/Target/ARM/ARMISelLowering.cpp
 7913       assert(llvm::all_of(ShuffleMask, [&](int i) {
lib/Target/Hexagon/HexagonConstExtenders.cpp
 1467     if (all_of(P.second, SameValue)) {
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
 1224   assert(all_of(SM.Mask, [this](int M) { return M == -1 || M < int(HwLen); }));
lib/Target/Hexagon/HexagonISelLowering.cpp
 2139       llvm::all_of(Consts, [](ConstantInt *CI) { return CI->isZero(); }))
 2222       llvm::all_of(Consts, [](ConstantInt *CI) { return CI->isZero(); }))
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 2363   if (!all_of(ExitBlocks, DominatedByBB))
lib/Target/Hexagon/HexagonRDFOpt.cpp
  261     if (!llvm::all_of(Defs, IsDead))
lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
  709   return all_of(Objs, [&](const Value *V) {
lib/Target/PowerPC/PPCBoolRetToInt.cpp
  150       if (!llvm::all_of(Users, IsValidUser) ||
  151           !llvm::all_of(Operands, IsValidOperand))
  169         if (!llvm::all_of(Users, IsPromotable) ||
  170             !llvm::all_of(Operands, IsPromotable))
lib/Target/X86/X86ISelLowering.cpp
 5192   return llvm::all_of(Mask.slice(Pos, Size),
 5228   return llvm::all_of(
 5241   return llvm::all_of(
 5272   return llvm::all_of(Mask.slice(Pos, Size),
17082   assert(llvm::all_of(OrigMask,
20750         if (llvm::all_of(EltBits, [](APInt &V) { return V.isPowerOf2(); })) {
32846   if (llvm::all_of(Offsets, [](unsigned Offset) { return Offset == 0; }))
33168   if (all_of(Mask, [](int Idx) { return Idx == SM_SentinelUndef; }))
33174   if (all_of(Mask, [](int Idx) { return Idx < 0; }))
34289     bool AssumeSingleUse = llvm::all_of(Amt->uses(), [&Amt](SDNode *Use) {
35022         llvm::all_of(ShuffleOps, [VT](SDValue V) {
36490     if (all_of(InputVector->uses(), IsBoolExtract) &&
39260         llvm::all_of(EltBits, [](APInt M) {
44274   if (llvm::all_of(Ops, [](SDValue Op) { return Op.isUndef(); }))
44277   if (llvm::all_of(Ops, [](SDValue Op) {
44299   if (llvm::all_of(Ops, [Op0](SDValue Op) { return Op == Op0; })) {
44322   bool IsSplat = llvm::all_of(Ops, [&Op0](SDValue Op) { return Op == Op0; });
44327   if (llvm::all_of(Ops, [Op0](SDValue Op) {
lib/Target/X86/X86SpeculativeLoadHardening.cpp
 1088       if (!llvm::all_of(Pred->successors(), [&](MachineBasicBlock *Succ) {
lib/Target/X86/X86TargetTransformInfo.cpp
 3099       if (!all_of(GEP->indices(), [](Value *V) { return isa<Constant>(V); }))
lib/Transforms/IPO/Attributor.cpp
 3824     if (llvm::all_of(DeducedAttrs, [&](const Attribute &Attr) {
 4945       if (llvm::all_of(F.uses(), [](const Use &U) {
lib/Transforms/IPO/GlobalOpt.cpp
  392   return llvm::all_of(U->users(),
lib/Transforms/IPO/PartialInlining.cpp
 1057     if (all_of(PN->incoming_values(),
lib/Transforms/IPO/WholeProgramDevirt.cpp
  847            llvm::all_of(
lib/Transforms/InstCombine/InstCombineCalls.cpp
  508   if (llvm::all_of(ShiftAmts, OutOfRange)) {
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  594     if (all_of(LI.users(), [&LI](User *U) {
 1328   if (!all_of(LI->users(), [LI, LoadAddr](User *U) {
lib/Transforms/InstCombine/InstCombinePHI.cpp
  213   if (all_of(AvailablePtrVals, [&](Value *V) {
lib/Transforms/Scalar/CallSiteSplitting.cpp
  484   if (all_of(PredsCS, [](const std::pair<BasicBlock *, ConditionsTy> &P) {
lib/Transforms/Scalar/GVNHoist.cpp
  945       if (llvm::all_of(In, [&](Use &U) { return U == NewMemAcc; })) {
lib/Transforms/Scalar/GVNSink.cpp
  294     return llvm::all_of(Values, [&](Value *V) { return V == Values[0]; });
  298     return llvm::all_of(
  616       if (!llvm::all_of(PN->incoming_values(), [&](const Value *V) {
lib/Transforms/Scalar/GuardWidening.cpp
  515   return all_of(Inst->operands(),
lib/Transforms/Scalar/IndVarSimplify.cpp
 2908   assert(llvm::all_of(ExitingBlocks, [&](BasicBlock *ExitingBB) {
lib/Transforms/Scalar/JumpThreading.cpp
 2571     if (llvm::all_of(PN->incoming_values(),
lib/Transforms/Scalar/LICM.cpp
  252     assert(all_of(AliasSetMap,
  942       if (!llvm::all_of(I->uses(),
 2027           SafeToInsertStore = llvm::all_of(ExitBlocks, [&](BasicBlock *Exit) {
lib/Transforms/Scalar/LoopDeletion.cpp
   61         all_of(makeArrayRef(ExitingBlocks).slice(1), [&](BasicBlock *BB) {
lib/Transforms/Scalar/LoopInterchange.cpp
 1362     assert(all_of(P.users(),
lib/Transforms/Scalar/LoopLoadElimination.cpp
  150   return llvm::all_of(Latches, [&](const BasicBlock *Latch) {
lib/Transforms/Scalar/LoopSink.cpp
  268   if (all_of(L.blocks(), [&](const BasicBlock *BB) {
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 2376   if (llvm::all_of(ExitingBlocks, [&LatchBlock](const BasicBlock *BB) {
lib/Transforms/Scalar/NewGVN.cpp
  390     return all_of(Members,
 1722       bool AllPhis = llvm::all_of(SCC, [](const Value *V) {
 1779   if (llvm::all_of(Filtered, [&](Value *Arg) { return Arg == AllSameValue; })) {
lib/Transforms/Scalar/SCCP.cpp
 1935       all_of(F.users(),
 1947                  return all_of(
lib/Transforms/Scalar/SROA.cpp
  483         assert(llvm::all_of(P.SplitTails,
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
 1526     assert(llvm::all_of(ChildL->blocks(),
 2004         llvm::all_of(predecessors(SuccBB), [&](BasicBlock *PredBB) {
 2707           llvm::all_of(predecessors(SuccBB), [&](BasicBlock *PredBB) {
lib/Transforms/Scalar/StructurizeCFG.cpp
  773   return llvm::all_of(Preds, [&](std::pair<BasicBlock *, Value *> Pred) {
lib/Transforms/Scalar/TailRecursionElimination.cpp
   96   return llvm::all_of(instructions(F), [](Instruction &I) {
lib/Transforms/Utils/BypassSlowDivision.cpp
  219     return llvm::all_of(cast<PHINode>(I)->incoming_values(), [&](Value *V) {
lib/Transforms/Utils/LCSSA.cpp
  425       assert(all_of(*LI,
lib/Transforms/Utils/LoopSimplify.cpp
  823     bool InLCSSA = all_of(
lib/Transforms/Utils/LoopUnrollPeel.cpp
   92              all_of(Exits, [](const BasicBlock *BB) {
lib/Transforms/Utils/SimplifyCFG.cpp
 1484     if (!all_of(Insts, [&PNUse,&Succ](const Instruction *I) -> bool {
 1525     if (!all_of(Insts, SameAsI0)) {
 1566     if (!all_of(Insts, [&PNUse](const Instruction *I) -> bool {
lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  787       if (isa<VectorType>(Ty) && !llvm::all_of(LI->users(), [](const User *U) {
  833       if (isa<VectorType>(Ty) && !llvm::all_of(SI->users(), [](const User *U) {
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  563   if (llvm::all_of(Header->phis(), isSupportedPhi))
lib/Transforms/Vectorize/LoopVectorize.cpp
 3911       if (!llvm::all_of(I->uses(), isBlockOfUsePredicated)) {
 4416     if (isScalarUse(MemAccess, Ptr) && llvm::all_of(I->users(), [&](User *U) {
 4490     if (llvm::all_of(Src->users(), [&](User *U) -> bool {
 4517     auto ScalarInd = llvm::all_of(Ind->users(), [&](User *U) -> bool {
 4527         llvm::all_of(IndUpdate->users(), [&](User *U) -> bool {
 4716           llvm::all_of(Ptr->users(), [&](User *U) -> bool {
 4761       if (llvm::all_of(OI->users(), [&](User *U) -> bool {
 4791     auto UniformInd = llvm::all_of(Ind->users(), [&](User *U) -> bool {
 4802         llvm::all_of(IndUpdate->users(), [&](User *U) -> bool {
 6539     if (llvm::all_of(IndUpdate->users(), [&](User *U) -> bool {
lib/Transforms/Vectorize/SLPVectorizer.cpp
 3015                   all_of(Ext->users(),
 3559   assert(llvm::all_of(make_range(E->Scalars.begin(), E->Scalars.end()),
 5127       llvm::all_of(TreeRoot, [](Value *R) {
 5135     IsKnownPositive = llvm::all_of(TreeRoot, [&](Value *R) {
 6847       (llvm::all_of(BuildVectorOpds,
lib/Transforms/Vectorize/VPlanSLP.cpp
   58   if (all_of(Operands, [](VPValue *V) {
   78   if (!all_of(Operands, [](VPValue *Op) {
   94   if (!all_of(Operands, [Opcode, Width](VPValue *Op) {
  139     if (!all_of(Operands, [](VPValue *Op) {
  149     if (!all_of(Operands, [](VPValue *Op) {
tools/clang/lib/AST/VTableBuilder.cpp
 3408       if (llvm::all_of(SpecificPath, [&](const BaseSubobject &BSO) {
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp
  146   assert(llvm::all_of(InnerMatchers,
tools/clang/lib/Analysis/CloneDetection.cpp
  520     assert(llvm::all_of(Indexes, [](char c) { return c == 1; }));
tools/clang/lib/CodeGen/CGCall.cpp
  743   assert(llvm::all_of(argTypes,
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 6564         if (llvm::all_of(DS->decls(), [&Ctx](const Decl *D) {
11037   return llvm::all_of(A->implVendors(),
tools/clang/lib/Driver/Action.cpp
  191   if (llvm::all_of(OKinds, [&](OffloadKind K) { return K == OKinds.front(); }))
tools/clang/lib/Parse/ParseTentative.cpp
 1188         llvm::all_of(Candidate,
tools/clang/lib/Sema/SemaCUDA.cpp
  430   if (!llvm::all_of(CD->inits(), [&](const CXXCtorInitializer *CI) {
  469   if (!llvm::all_of(ClassDecl->bases(), [&](const CXXBaseSpecifier &BS) {
  477   if (!llvm::all_of(ClassDecl->fields(), [&](const FieldDecl *Field) {
tools/clang/lib/Sema/SemaOpenMP.cpp
 7260       llvm::all_of(IterSpaces, [](const LoopIterationSpace &LIS) {
tools/clang/lib/Sema/SemaOverload.cpp
11408     if (!llvm::all_of(Matches, IsBestOrInferiorToBest))
tools/clang/tools/extra/clang-tidy/readability/IsolateDeclarationCheck.cpp
   23   return llvm::all_of(Node.decls(), [](Decl *D) { return isa<VarDecl>(D); });
tools/clang/tools/extra/clang-tidy/utils/TransformerClangTidyCheck.cpp
   35     assert(llvm::all_of(Rule->Cases, hasExplanation) &&
   44   assert(llvm::all_of(Rule->Cases, hasExplanation) &&
tools/clang/tools/extra/clangd/index/CanonicalIncludes.cpp
  762   assert(llvm::all_of(SystemHeaderMap->keys(), [](llvm::StringRef Path) {
tools/clang/tools/extra/clangd/refactor/tweaks/ExtractFunction.cpp
  142   return llvm::all_of(Parent->Children, isRootStmt) ? Parent : nullptr;
tools/clang/utils/TableGen/MveEmitter.cpp
 1555       bool Constant = all_of(kv.second, [&](const OutputIntrinsic &OI) {
tools/lld/ELF/Writer.cpp
 1768           llvm::all_of(file->dtNeeded, [&](StringRef needed) {
tools/lldb/include/lldb/Utility/UUID.h
   50     if (llvm::all_of(bytes, [](uint8_t b) { return b == 0; }))
tools/lldb/source/Core/IOHandler.cpp
  326   if (llvm::all_of(line_buffer, isspace))
tools/lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp
   66   bool error = !llvm::all_of(support_files,
tools/lldb/source/Plugins/ObjectFile/Breakpad/BreakpadRecords.cpp
  106   if (!all_of(str, llvm::isHexDigit))
tools/lldb/source/Utility/UUID.cpp
  117     if (llvm::all_of(m_bytes, [](uint8_t b) { return b == 0; }))
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
  634     if (!all_of(Objects, [&](std::string Object) {
tools/llvm-exegesis/lib/Analysis.cpp
  572     if (all_of(SchedClassClusters, [this,
tools/llvm-exegesis/lib/Clustering.cpp
   76   return all_of(
tools/llvm-mca/CodeRegion.h
  117     return llvm::all_of(Regions, [](const UniqueCodeRegion &Region) {
tools/llvm-mca/Views/SchedulerStatistics.cpp
  127   if (all_of(Usage, [](const BufferUsage &BU) { return !BU.MaxUsedSlots; })) {
tools/llvm-objcopy/ELF/Object.cpp
 2145   if (all_of(OrderedSegments,
tools/llvm-pdbutil/DumpOutputStyle.cpp
  735   return llvm::all_of(S, [](char C) { return std::isalnum(C); });
unittests/ADT/IteratorTest.cpp
  415   EXPECT_TRUE(all_of(pi, [](unsigned n) { return (n & 0x01) == 0; }));
  441   EXPECT_TRUE(all_of(ascending, [](unsigned n) { return (n & 0x01) == 0; }));
unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp
  498   return llvm::all_of(BufferRef, [this](uint8_t B) { return B == Byte; });
utils/TableGen/SubtargetEmitter.cpp
  675   if (llvm::all_of(ProcModel.RegisterFiles, [](const CodeGenRegisterFile &RF) {
 1517   return all_of(T.PredTerm, [](const Record *Rec) {