| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SampleProfileInference.cpp | 128 SrcEdge.Flow = 0; in addEdge() 135 DstEdge.Flow = 0; in addEdge() 153 Flow.push_back(std::make_pair(Edge.Dst, Edge.Flow)); in getFlow() 155 return Flow; in getFlow() 160 int64_t Flow = 0; in getFlow() local 163 Flow += Edge.Flow; in getFlow() 166 return Flow; in getFlow() 546 int64_t Flow; member 1018 Jump->Flow = Flow; in rebalanceBlock() 1148 Block.Flow = Flow; in extractWeights() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIOptimizeVGPRLiveRange.cpp | 104 void collectElseRegionBlocks(MachineBasicBlock *Flow, 186 assert(Flow != Endif); in collectElseRegionBlocks() 192 if (Pred != Flow && !Blocks.contains(Pred)) in collectElseRegionBlocks() 272 if (Pred == Flow) in collectCandidateRegisters() 307 if (UseMBB == Flow || UseMBB == Endif) { in collectCandidateRegisters() 314 if ((UseMBB == Flow && IncomingMBB != If) || in collectCandidateRegisters() 410 if (Succ != Flow && !Blocks.contains(Succ)) { in updateLiveRangeInThenRegion() 509 MachineInstrBuilder PHI = BuildMI(*Flow, Flow->getFirstNonPHI(), DebugLoc(), in optimizeLiveRange() 511 for (auto *Pred : Flow->predecessors()) { in optimizeLiveRange() 537 OldVarInfo.AliveBlocks.reset(Flow->getNumber()); in optimizeLiveRange() [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | loop_break.ll | 22 ; OPT: Flow: 99 ; OPT: Flow: 159 br label %Flow 190 ; OPT: Flow: 250 br label %Flow 278 ; OPT: Flow: 338 br label %Flow 366 ; OPT: Flow: 426 br label %Flow 457 ; OPT: Flow: [all …]
|
| H A D | replace-lds-by-ptr-use-within-phi-inst.ll | 35 ; CHECK: %lsr.iv = phi i32 [ undef, %bb ], [ %my.tmp2, %Flow ] 39 ; CHECK: br i1 %cmp0, label %bb4, label %Flow 41 %lsr.iv = phi i32 [ undef, %bb ], [ %my.tmp2, %Flow ] 44 br i1 %cmp0, label %bb4, label %Flow 49 ; CHECK: br label %Flow 53 br label %Flow 55 ; CHECK-LABEL: Flow: 60 Flow:
|
| H A D | schedule-vs-if-nested-loop-failure.ll | 27 br label %Flow 29 Flow2: ; preds = %Flow 111 LOOP: ; preds = %main_body, %Flow 112 %temp.1 = phi float [ %109, %Flow ], [ 0.000000e+00, %main_body ] 113 %temp1.1 = phi float [ %108, %Flow ], [ 1.000000e+00, %main_body ] 114 %temp2.1 = phi float [ %107, %Flow ], [ 0.000000e+00, %main_body ] 115 %temp3.1 = phi float [ %106, %Flow ], [ 0.000000e+00, %main_body ] 116 %temp4.0 = phi float [ %105, %Flow ], [ -2.000000e+00, %main_body ] 125 br i1 %92, label %ENDIF16, label %Flow 138 Flow: ; preds = %Flow1, %LOOP
|
| H A D | divergent-branch-uniform-condition.ll | 35 ; ISA-NEXT: .LBB0_2: ; %Flow 73 loop: ; preds = %Flow, %start 74 %v1 = phi i32 [ 0, %start ], [ %6, %Flow ] 77 br i1 %2, label %endif1, label %Flow 82 br label %Flow 96 Flow2: ; preds = %Flow 108 Flow: ; preds = %Flow1, %loop
|
| H A D | branch-relaxation-debug-info.mir | 38 br i1 %tmp6, label %bb7, label %Flow, !amdgpu.uniform !2 41 br label %Flow, !amdgpu.uniform !2 43 Flow: ; preds = %bb7, %bb4 46 bb8: ; preds = %bb, %Flow 117 bb.3.Flow:
|
| H A D | multi-divergent-exit-region.ll | 16 ; IR: br i1 %1, label %LeafBlock1, label %Flow 18 ; IR: Flow: 30 ; IR: br label %Flow{{$}} 45 ; IR: %12 = phi i1 [ %SwitchLeaf, %LeafBlock ], [ %3, %Flow ] 46 ; IR: %13 = phi i1 [ %SwitchLeaf.inv, %LeafBlock ], [ %4, %Flow ] 75 ; GCN: ; %Flow 202 ; IR: {{^}}Flow: 214 ; IR: br label %Flow 280 ; IR: br i1 %1, label %LeafBlock1, label %Flow 282 ; IR: Flow: [all …]
|
| H A D | else.ll | 5 ; CHECK: ; %Flow 28 ; CHECK: ; %Flow
|
| /llvm-project-15.0.7/polly/lib/Analysis/ |
| H A D | DependenceInfo.cpp | 303 LLVM_DEBUG(if (!Flow) dbgs() in buildFlow() 307 return Flow; in buildFlow() 437 isl_union_flow_free(Flow); in calculateDependences() 441 RAW = isl_union_flow_get_may_dependence(Flow); in calculateDependences() 442 isl_union_flow_free(Flow); in calculateDependences() 445 WAW = isl_union_flow_get_may_dependence(Flow); in calculateDependences() 446 isl_union_flow_free(Flow); in calculateDependences() 452 isl_union_flow_free(Flow); in calculateDependences() 456 isl_union_flow_free(Flow); in calculateDependences() 460 isl_union_flow_free(Flow); in calculateDependences() [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/StructurizeCFG/ |
| H A D | one-loop-multiple-backedges.ll | 12 ; CHECK: br i1 %tmp4.inv, label %bb5, label %Flow 20 ; CHECK: br label %Flow 25 ; CHECK: Flow: 37 ; CHECK: %3 = phi i1 [ %tmp9, %bb7 ], [ true, %Flow ]
|
| H A D | nested-loop-order.ll | 19 ; br i1 %{{[0-9]+}}, label %ENDIF, label %Flow 44 ; CHECK: Flow: 54 ; CHECK: br label %Flow
|
| H A D | no-branch-to-entry.ll | 21 for.end: ; preds = %Flow 36 for.end: ; preds = %Flow
|
| H A D | branch-on-argument.ll | 18 for.end: ; preds = %Flow 26 ; CHECK: Flow:
|
| H A D | bug36015.ll | 22 ; CHECK: br label %Flow 29 ; CHECK: Flow:
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | StructurizeCFG.cpp | 759 DT->addNewBlock(Flow, Dominator); in getNextFlow() 761 return Flow; in getNextFlow() 775 BasicBlock *Flow = getNextFlow(Entry); in needPrefix() local 778 changeExit(PrevNode, Flow, true); in needPrefix() 779 PrevNode = ParentRegion->getBBNode(Flow); in needPrefix() 780 return Flow; in needPrefix() 787 return getNextFlow(Flow); in needPostfix() 790 DT->changeImmediateDominator(Exit, Flow); in needPostfix() 791 addPhiValues(Flow, Exit); in needPostfix() 847 BasicBlock *Flow = needPrefix(false); in wireFlow() local [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AArch64/ |
| H A D | cfguard-checks.ll | 2 ; Control Flow Guard is currently only available on Windows 4 ; Test that Control Flow Guard checks are correctly added when required. 10 ; Test that Control Flow Guard checks are not added on calls with the "guard_nocf" attribute. 28 ; Test that Control Flow Guard checks are added even at -O0. 51 ; Test that Control Flow Guard checks are correctly added in optimized code (common case). 72 ; Test that Control Flow Guard checks are correctly added on invoke instructions.
|
| H A D | cfguard-module-flag.ll | 3 ; Control Flow Guard is currently only available on Windows 5 ; Test that Control Flow Guard checks are not added in modules with the
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | cfguard-checks.ll | 2 ; Control Flow Guard is currently only available on Windows 4 ; Test that Control Flow Guard checks are correctly added when required. 10 ; Test that Control Flow Guard checks are not added on calls with the "guard_nocf" attribute. 29 ; Test that Control Flow Guard checks are added even at -O0. 54 ; Test that Control Flow Guard checks are correctly added in optimized code (common case). 76 ; Test that Control Flow Guard checks are correctly added on invoke instructions.
|
| H A D | cfguard-module-flag.ll | 3 ; Control Flow Guard is currently only available on Windows 5 ; Test that Control Flow Guard checks are not added in modules with the
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | cfguard-checks.ll | 3 ; Control Flow Guard is currently only available on Windows 5 ; Test that Control Flow Guard checks are correctly added when required. 11 ; Test that Control Flow Guard checks are not added on calls with the "guard_nocf" attribute. 33 ; Test that Control Flow Guard checks are added even at -O0. 62 ; Test that Control Flow Guard checks are correctly added in optimized code (common case). 86 ; Test that Control Flow Guard checks are correctly added on invoke instructions. 124 ; Test that Control Flow Guard preserves floating point arguments. 155 ; Test that Control Flow Guard checks are correctly added for tail calls. 229 ; Test that Control Flow Guard checks are correctly added for variadic musttail
|
| H A D | cfguard-module-flag.ll | 4 ; Control Flow Guard is currently only available on Windows 6 ; Test that Control Flow Guard checks are not added in modules with the
|
| H A D | cfguard-x86-vectorcall.ll | 2 ; Control Flow Guard is currently only available on Windows 5 ; Test that Control Flow Guard checks are correctly added for x86 vector calls.
|
| H A D | cfguard-x86-64-vectorcall.ll | 3 ; Control Flow Guard is currently only available on Windows 6 ; Test that Control Flow Guard checks are correctly added for x86_64 vector calls.
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | SampleProfileInference.h | 52 uint64_t Flow{0}; 68 uint64_t Flow{0}; 220 BlockWeights[BB] = Func.Blocks[BlockIndex[BB]].Flow; 224 EdgeWeights[E] = Jump.Flow;
|