Home
last modified time | relevance | path

Searched refs:PH (Results 1 – 25 of 42) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp410 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 DCOFFYAML.cpp452 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 Dmultiblock-loops.ll179 ; 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 Dpr42294.ll9 ; CHECK: br i1 true, label %[[END:.*]], label %[[PH:.*]]
10 ; CHECK: [[PH]]:
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp430 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 DLoopDistribute.cpp680 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 DLoopIdiomRecognize.cpp1888 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 DSimpleLoopUnswitch.cpp1712 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 DLoopStrengthReduce.cpp2148 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 DVPlanHCFGBuilder.cpp157 BasicBlock *PH = TheLoop->getLoopPreheader(); in isExternalDef() local
158 assert(PH && "Expected loop pre-header."); in isExternalDef()
160 if (InstParent == PH) in isExternalDef()
H A DSLPVectorizer.cpp4857 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 DCanonicalizeFreezeInLoops.cpp104 auto *PH = L->getLoopPreheader(); in InsertFreezeAndForgetFromSCEV() local
118 PH->getTerminator())); in InsertFreezeAndForgetFromSCEV()
H A DLoopVersioning.cpp93 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 Dhex-dump.test7 # CHECK: 0x00000000 50488d3d 00000000 e8000000 00e80000 PH.=............
/llvm-project-15.0.7/llvm/test/Transforms/IndVarSimplify/
H A Dno-iv-rewrite.ll15 ; 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 DX86InstrFMA3Info.cpp48 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 Dmsan.ll116 ; CHECK: br i1 %[[YCMP]], label %[[EXIT_SPLIT:.*]], label %[[PH:.*]]
118 ; CHECK: [[PH]]:
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Delf2yaml.cpp482 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 Dpr33114.ll8 ; CHECK-NEXT: br i1 true, label [[EXIT:%.*]], label [[PH:%.*]]
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp829 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 DMipsDSPInstrFormats.td134 // ABSQ_S.PH sub-class format.
221 // DPA.W.PH sub-class format.
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp161 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 DMetadata.cpp158 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 DCOFFYAML.h205 static void mapping(IO &IO, COFFYAML::PEHeader &PH); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DMetadataTest.cpp3529 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 …]

12