| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | VerifyDiagnosticConsumer.cpp | 410 for (ParseHelper PH(S); !PH.Done();) { in ParseDirective() local 413 PH.C = PH.P; in ParseDirective() 419 PH.Advance(); in ParseDirective() 425 for (ParseHelper PH(S); !PH.Done();) { in ParseDirective() local 529 StringRef Filename(PH.C, PH.P-PH.C); in ParseDirective() 535 Diags.Report(Pos.getLocWithOffset(PH.C - PH.Begin), in ParseDirective() 548 Diags.Report(Pos.getLocWithOffset(PH.C - PH.Begin), in ParseDirective() 571 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin), in ParseDirective() 592 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin), in ParseDirective() 611 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin), in ParseDirective() [all …]
|
| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | COFFYAML.cpp | 452 IO, PH.Header.DLLCharacteristics); in mapping() 455 IO.mapOptional("ImageBase", PH.Header.ImageBase); in mapping() 457 IO.mapOptional("FileAlignment", PH.Header.FileAlignment, 1); in mapping() 459 PH.Header.MajorOperatingSystemVersion); in mapping() 461 PH.Header.MinorOperatingSystemVersion); in mapping() 471 IO.mapOptional("SizeOfHeapCommit", PH.Header.SizeOfHeapCommit); in mapping() 481 PH.DataDirectories[COFF::BASE_RELOCATION_TABLE]); in mapping() 485 IO.mapOptional("TlsTable", PH.DataDirectories[COFF::TLS_TABLE]); in mapping() 487 PH.DataDirectories[COFF::LOAD_CONFIG_TABLE]); in mapping() 489 IO.mapOptional("IAT", PH.DataDirectories[COFF::IAT]); in mapping() [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/DeadStoreElimination/ |
| H A D | multiblock-loops.ll | 179 ; CHECK-NEXT: [[INC]] = add i32 [[PH]], 1 186 ; CHECK-NEXT: [[C1:%.*]] = icmp slt i32 [[PH]], 10 215 ; CHECK-NEXT: [[INC]] = add i32 [[PH]], 1 220 ; CHECK-NEXT: [[C1:%.*]] = icmp slt i32 [[PH]], 10 224 ; CHECK-NEXT: [[C2:%.*]] = icmp slt i32 [[PH]], 5 255 ; CHECK-NEXT: [[INC]] = add i32 [[PH]], 1 263 ; CHECK-NEXT: [[C1:%.*]] = icmp slt i32 [[PH]], 10 292 ; CHECK-NEXT: [[INC]] = add i32 [[PH]], 1 298 ; CHECK-NEXT: [[C1:%.*]] = icmp slt i32 [[PH]], 10 326 ; CHECK-NEXT: [[INC]] = add i32 [[PH]], 1 [all …]
|
| /llvm-project-15.0.7/llvm/test/Analysis/MemorySSA/ |
| H A D | pr42294.ll | 9 ; CHECK: br i1 true, label %[[END:.*]], label %[[PH:.*]] 10 ; CHECK: [[PH]]:
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopLoadElimination.cpp | 430 auto *PH = L->getLoopPreheader(); in propagateStoredValueToLoadUsers() local 431 assert(PH && "Preheader should exist!"); in propagateStoredValueToLoadUsers() 433 PH->getTerminator()); in propagateStoredValueToLoadUsers() 436 /* isVolatile */ false, Cand.Load->getAlign(), PH->getTerminator()); in propagateStoredValueToLoadUsers() 440 PHI->addIncoming(Initial, PH); in propagateStoredValueToLoadUsers()
|
| H A D | LoopDistribute.cpp | 680 BasicBlock *PH = L->getLoopPreheader(); in processLoop() local 807 if (!PH->getSinglePredecessor() || &*PH->begin() != PH->getTerminator()) in processLoop() 808 SplitBlock(PH, PH->getTerminator(), DT, LI); in processLoop()
|
| H A D | LoopIdiomRecognize.cpp | 1888 BasicBlock *PH = CurLoop->getLoopPreheader(); in recognizeAndInsertFFS() local 1895 auto *PreCondBB = PH->getSinglePredecessor(); in recognizeAndInsertFFS() 1901 if (matchCondition(PreCondBI, PH) != InitX) in recognizeAndInsertFFS() 1932 transformLoopToCountable(IntrinID, PH, CntInst, CntPhi, InitX, DefX, in recognizeAndInsertFFS() 1962 BasicBlock *PH = CurLoop->getLoopPreheader(); in recognizePopcount() local 1963 if (!PH || &PH->front() != PH->getTerminator()) in recognizePopcount() 1965 auto *EntryBI = dyn_cast<BranchInst>(PH->getTerminator()); in recognizePopcount() 1971 auto *PreCondBB = PH->getSinglePredecessor(); in recognizePopcount()
|
| H A D | SimpleLoopUnswitch.cpp | 1712 auto *PH = L.getLoopPreheader(); in recomputeLoopBlockSet() local 1722 if (Pred == PH) in recomputeLoopBlockSet() 1822 auto *PH = L.getLoopPreheader(); in rebuildLoopAfterUnswitch() local 1850 IL->getBlocksSet().erase(PH); in rebuildLoopAfterUnswitch() 1854 return BB == PH || L.contains(BB); in rebuildLoopAfterUnswitch() 1858 LI.changeLoopFor(PH, ParentL); in rebuildLoopAfterUnswitch() 1878 UnloopedBlocks.insert(PH); in rebuildLoopAfterUnswitch() 1927 if (BB == PH) in rebuildLoopAfterUnswitch()
|
| H A D | LoopStrengthReduce.cpp | 2148 PHINode *PH = dyn_cast<PHINode>(ShadowUse->getOperand(0)); in OptimizeShadowIV() local 2149 if (!PH) continue; in OptimizeShadowIV() 2150 if (PH->getNumIncomingValues() != 2) continue; in OptimizeShadowIV() 2160 Type *SrcTy = PH->getType(); in OptimizeShadowIV() 2167 if (PH->getIncomingBlock(0) == L->getLoopPreheader()) { in OptimizeShadowIV() 2182 dyn_cast<BinaryOperator>(PH->getIncomingValue(Latch)); in OptimizeShadowIV() 2190 if (Incr->getOperand(0) == PH) in OptimizeShadowIV() 2192 else if (Incr->getOperand(1) == PH) in OptimizeShadowIV() 2204 PHINode *NewPH = PHINode::Create(DestTy, 2, "IV.S.", PH); in OptimizeShadowIV() 2213 NewPH->addIncoming(NewInit, PH->getIncomingBlock(Entry)); in OptimizeShadowIV() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanHCFGBuilder.cpp | 157 BasicBlock *PH = TheLoop->getLoopPreheader(); in isExternalDef() local 158 assert(PH && "Expected loop pre-header."); in isExternalDef() 160 if (InstParent == PH) in isExternalDef()
|
| H A D | SLPVectorizer.cpp | 4857 auto *PH = cast<PHINode>(VL0); in buildTree_rec() local 4890 PH->getIncomingBlock(I))); in buildTree_rec() 7884 auto *PH = cast<PHINode>(VL0); in vectorizeTree() local 7886 Builder.SetCurrentDebugLocation(PH->getDebugLoc()); in vectorizeTree() 7892 Builder.SetCurrentDebugLocation(PH->getDebugLoc()); in vectorizeTree() 7906 BasicBlock *IBB = PH->getIncomingBlock(i); in vectorizeTree() 8611 if (PHINode *PH = dyn_cast<PHINode>(User)) { in vectorizeTree() local 8613 if (PH->getIncomingValue(i) == Scalar) { in vectorizeTree() 8615 PH->getIncomingBlock(i)->getTerminator(); in vectorizeTree() 8623 CSEBlocks.insert(PH->getIncomingBlock(i)); in vectorizeTree() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | CanonicalizeFreezeInLoops.cpp | 104 auto *PH = L->getLoopPreheader(); in InsertFreezeAndForgetFromSCEV() local 118 PH->getTerminator())); in InsertFreezeAndForgetFromSCEV()
|
| H A D | LoopVersioning.cpp | 93 BasicBlock *PH = in versionLoop() local 103 cloneLoopWithPreheader(PH, RuntimeCheckBB, VersionedLoop, VMap, in versionLoop()
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-readobj/MachO/ |
| H A D | hex-dump.test | 7 # CHECK: 0x00000000 50488d3d 00000000 e8000000 00e80000 PH.=............
|
| /llvm-project-15.0.7/llvm/test/Transforms/IndVarSimplify/ |
| H A D | no-iv-rewrite.ll | 15 ; CHECK-NEXT: br i1 [[PRECOND]], label [[PH:%.*]], label [[RETURN:%.*]] 20 ; CHECK-NEXT: [[INDVARS_IV:%.*]] = phi i64 [ [[INDVARS_IV_NEXT:%.*]], [[LOOP]] ], [ 0, [[PH]] ] 21 ; CHECK-NEXT: [[S_01:%.*]] = phi i32 [ 0, [[PH]] ], [ [[SINC:%.*]], [[LOOP]] ] 69 ; CHECK-NEXT: br i1 [[PRECOND]], label [[PH:%.*]], label [[RETURN:%.*]] 74 ; CHECK-NEXT: [[INDVARS_IV:%.*]] = phi i64 [ [[INDVARS_IV_NEXT:%.*]], [[LOOP]] ], [ 0, [[PH]] ] 75 ; CHECK-NEXT: [[S_01:%.*]] = phi i64 [ 0, [[PH]] ], [ [[SINC:%.*]], [[LOOP]] ] 125 ; CHECK-NEXT: br i1 [[PRECOND]], label [[PH:%.*]], label [[RETURN:%.*]] 129 ; CHECK-NEXT: [[PTRIV:%.*]] = phi i32* [ [[FIRST]], [[PH]] ], [ [[PTRPOST:%.*]], [[LOOP]] ]
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86InstrFMA3Info.cpp | 48 FMA3GROUP_PACKED_WIDTHS_Z(Name, PH, Attrs) \ 89 FMA3GROUP_PACKED_AVX512_WIDTHS(Name, PH, Suf, Attrs) \
|
| /llvm-project-15.0.7/llvm/test/Transforms/SimpleLoopUnswitch/ |
| H A D | msan.ll | 116 ; CHECK: br i1 %[[YCMP]], label %[[EXIT_SPLIT:.*]], label %[[PH:.*]] 118 ; CHECK: [[PH]]:
|
| /llvm-project-15.0.7/llvm/tools/obj2yaml/ |
| H A D | elf2yaml.cpp | 482 ELFYAML::ProgramHeader PH; in dumpProgramHeaders() local 483 PH.Type = Phdr.p_type; in dumpProgramHeaders() 484 PH.Flags = Phdr.p_flags; in dumpProgramHeaders() 485 PH.VAddr = Phdr.p_vaddr; in dumpProgramHeaders() 486 PH.PAddr = Phdr.p_paddr; in dumpProgramHeaders() 491 PH.Align = static_cast<llvm::yaml::Hex64>(Phdr.p_align); in dumpProgramHeaders() 499 if (!PH.FirstSec) in dumpProgramHeaders() 500 PH.FirstSec = S.Name; in dumpProgramHeaders() 501 PH.LastSec = S.Name; in dumpProgramHeaders() 502 PH.Chunks.push_back(C.get()); in dumpProgramHeaders() [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopIdiom/ |
| H A D | pr33114.ll | 8 ; CHECK-NEXT: br i1 true, label [[EXIT:%.*]], label [[PH:%.*]]
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonHardwareLoops.cpp | 829 MachineBasicBlock *PH = MLI->findLoopPreheader(Loop, SpecPreheader); in computeCount() local 830 assert (PH && "Should have a preheader by now"); in computeCount() 831 MachineBasicBlock::iterator InsertPos = PH->getFirstTerminator(); in computeCount() 833 if (InsertPos != PH->end()) in computeCount() 916 BuildMI(*PH, InsertPos, DL, SubD, SubR); in computeCount() 937 BuildMI(*PH, InsertPos, DL, SubD, SubR); in computeCount() 956 BuildMI(*PH, InsertPos, DL, AddD, AddR) in computeCount() 977 BuildMI(*PH, InsertPos, DL, LsrD, LsrR) in computeCount()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsDSPInstrFormats.td | 134 // ABSQ_S.PH sub-class format. 221 // DPA.W.PH sub-class format.
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | InstrProfiling.cpp | 161 BasicBlock *PH, ArrayRef<BasicBlock *> ExitBlocks, in PGOCounterPromoterHelper() argument 169 SSA.AddAvailableValue(PH, Init); 335 BasicBlock *PH = LP->getLoopPreheader(); in isPromotionPossible() local 336 if (!PH) in isPromotionPossible()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Metadata.cpp | 158 if (auto *PH = dyn_cast<DistinctMDOperandPlaceholder>(&MD)) { in track() local 159 assert(!PH->Use && "Placeholders can only be used once"); in track() 161 PH->Use = static_cast<Metadata **>(Ref); in track() 171 else if (auto *PH = dyn_cast<DistinctMDOperandPlaceholder>(&MD)) in untrack() local 172 PH->Use = nullptr; in untrack()
|
| /llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/ |
| H A D | COFFYAML.h | 205 static void mapping(IO &IO, COFFYAML::PEHeader &PH); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | MetadataTest.cpp | 3529 DistinctMDOperandPlaceholder PH(7); in TEST_F() local 3530 EXPECT_DEATH(MetadataAsValue::get(Context, &PH), in TEST_F() 3536 DistinctMDOperandPlaceholder PH(7); in TEST_F() local 3542 DistinctMDOperandPlaceholder PH(7); in TEST_F() local 3543 MDTuple::getDistinct(Context, &PH); in TEST_F() 3544 EXPECT_DEATH(MDTuple::getDistinct(Context, &PH), in TEST_F() 3556 DistinctMDOperandPlaceholder PH(7); in TEST_F() local 3557 MDTuple::getDistinct(Context, &PH); in TEST_F() 3561 DistinctMDOperandPlaceholder PH(7); in TEST_F() local 3562 TrackingMDRef Ref(&PH); in TEST_F() [all …]
|