@@ -502,7 +502,7 @@ void VPInstruction::execute(VPTransformState &State) {
502
502
503
503
void VPInstruction::print (raw_ostream &O, const Twine &Indent,
504
504
VPSlotTracker &SlotTracker) const {
505
- O << " \" EMIT " ;
505
+ O << " EMIT " ;
506
506
print (O, SlotTracker);
507
507
}
508
508
@@ -761,7 +761,7 @@ void VPlanPrinter::dumpBasicBlock(const VPBasicBlock *BasicBlock) {
761
761
// Dump the block predicate.
762
762
const VPValue *Pred = BasicBlock->getPredicate ();
763
763
if (Pred) {
764
- OS << " +\n " << Indent << " \" BlockPredicate: " ;
764
+ OS << " +\n " << Indent << " \" BlockPredicate: \" " ;
765
765
if (const VPInstruction *PredI = dyn_cast<VPInstruction>(Pred)) {
766
766
PredI->printAsOperand (OS, SlotTracker);
767
767
OS << " (" << DOT::EscapeString (PredI->getParent ()->getName ())
@@ -771,7 +771,7 @@ void VPlanPrinter::dumpBasicBlock(const VPBasicBlock *BasicBlock) {
771
771
}
772
772
773
773
for (const VPRecipeBase &Recipe : *BasicBlock) {
774
- OS << " +\n " << Indent;
774
+ OS << " +\n " << Indent << " \" " ;
775
775
Recipe.print (OS, Indent, SlotTracker);
776
776
OS << " \\ l\" " ;
777
777
}
@@ -833,7 +833,7 @@ void VPlanPrinter::printAsIngredient(raw_ostream &O, const Value *V) {
833
833
834
834
void VPWidenCallRecipe::print (raw_ostream &O, const Twine &Indent,
835
835
VPSlotTracker &SlotTracker) const {
836
- O << " \" WIDEN-CALL " ;
836
+ O << " WIDEN-CALL " ;
837
837
838
838
auto *CI = cast<CallInst>(getUnderlyingInstr ());
839
839
if (CI->getType ()->isVoidTy ())
@@ -850,7 +850,7 @@ void VPWidenCallRecipe::print(raw_ostream &O, const Twine &Indent,
850
850
851
851
void VPWidenSelectRecipe::print (raw_ostream &O, const Twine &Indent,
852
852
VPSlotTracker &SlotTracker) const {
853
- O << " \" WIDEN-SELECT " ;
853
+ O << " WIDEN-SELECT " ;
854
854
printAsOperand (O, SlotTracker);
855
855
O << " = select " ;
856
856
getOperand (0 )->printAsOperand (O, SlotTracker);
@@ -863,15 +863,15 @@ void VPWidenSelectRecipe::print(raw_ostream &O, const Twine &Indent,
863
863
864
864
void VPWidenRecipe::print (raw_ostream &O, const Twine &Indent,
865
865
VPSlotTracker &SlotTracker) const {
866
- O << " \" WIDEN " ;
866
+ O << " WIDEN " ;
867
867
printAsOperand (O, SlotTracker);
868
868
O << " = " << getUnderlyingInstr ()->getOpcodeName () << " " ;
869
869
printOperands (O, SlotTracker);
870
870
}
871
871
872
872
void VPWidenIntOrFpInductionRecipe::print (raw_ostream &O, const Twine &Indent,
873
873
VPSlotTracker &SlotTracker) const {
874
- O << " \" WIDEN-INDUCTION" ;
874
+ O << " WIDEN-INDUCTION" ;
875
875
if (Trunc) {
876
876
O << " \\ l\" " ;
877
877
O << " +\n " << Indent << " \" " << VPlanIngredient (IV) << " \\ l\" " ;
@@ -882,7 +882,7 @@ void VPWidenIntOrFpInductionRecipe::print(raw_ostream &O, const Twine &Indent,
882
882
883
883
void VPWidenGEPRecipe::print (raw_ostream &O, const Twine &Indent,
884
884
VPSlotTracker &SlotTracker) const {
885
- O << " \" WIDEN-GEP " ;
885
+ O << " WIDEN-GEP " ;
886
886
O << (IsPtrLoopInvariant ? " Inv" : " Var" );
887
887
size_t IndicesNumber = IsIndexLoopInvariant.size ();
888
888
for (size_t I = 0 ; I < IndicesNumber; ++I)
@@ -896,12 +896,12 @@ void VPWidenGEPRecipe::print(raw_ostream &O, const Twine &Indent,
896
896
897
897
void VPWidenPHIRecipe::print (raw_ostream &O, const Twine &Indent,
898
898
VPSlotTracker &SlotTracker) const {
899
- O << " \" WIDEN-PHI " << VPlanIngredient (Phi);
899
+ O << " WIDEN-PHI " << VPlanIngredient (Phi);
900
900
}
901
901
902
902
void VPBlendRecipe::print (raw_ostream &O, const Twine &Indent,
903
903
VPSlotTracker &SlotTracker) const {
904
- O << " \" BLEND " ;
904
+ O << " BLEND " ;
905
905
Phi->printAsOperand (O, false );
906
906
O << " =" ;
907
907
if (getNumIncomingValues () == 1 ) {
@@ -921,7 +921,7 @@ void VPBlendRecipe::print(raw_ostream &O, const Twine &Indent,
921
921
922
922
void VPReductionRecipe::print (raw_ostream &O, const Twine &Indent,
923
923
VPSlotTracker &SlotTracker) const {
924
- O << " \" REDUCE " ;
924
+ O << " REDUCE " ;
925
925
printAsOperand (O, SlotTracker);
926
926
O << " = " ;
927
927
getChainOp ()->printAsOperand (O, SlotTracker);
@@ -937,7 +937,7 @@ void VPReductionRecipe::print(raw_ostream &O, const Twine &Indent,
937
937
938
938
void VPReplicateRecipe::print (raw_ostream &O, const Twine &Indent,
939
939
VPSlotTracker &SlotTracker) const {
940
- O << " \" " << (IsUniform ? " CLONE " : " REPLICATE " );
940
+ O << (IsUniform ? " CLONE " : " REPLICATE " );
941
941
942
942
if (!getUnderlyingInstr ()->getType ()->isVoidTy ()) {
943
943
printAsOperand (O, SlotTracker);
@@ -952,13 +952,13 @@ void VPReplicateRecipe::print(raw_ostream &O, const Twine &Indent,
952
952
953
953
void VPPredInstPHIRecipe::print (raw_ostream &O, const Twine &Indent,
954
954
VPSlotTracker &SlotTracker) const {
955
- O << " \" PHI-PREDICATED-INSTRUCTION " ;
955
+ O << " PHI-PREDICATED-INSTRUCTION " ;
956
956
printOperands (O, SlotTracker);
957
957
}
958
958
959
959
void VPWidenMemoryInstructionRecipe::print (raw_ostream &O, const Twine &Indent,
960
960
VPSlotTracker &SlotTracker) const {
961
- O << " \" WIDEN " ;
961
+ O << " WIDEN " ;
962
962
963
963
if (!isStore ()) {
964
964
getVPValue ()->printAsOperand (O, SlotTracker);
@@ -996,7 +996,7 @@ void VPWidenCanonicalIVRecipe::execute(VPTransformState &State) {
996
996
997
997
void VPWidenCanonicalIVRecipe::print (raw_ostream &O, const Twine &Indent,
998
998
VPSlotTracker &SlotTracker) const {
999
- O << " \" EMIT " ;
999
+ O << " EMIT " ;
1000
1000
getVPValue ()->printAsOperand (O, SlotTracker);
1001
1001
O << " = WIDEN-CANONICAL-INDUCTION" ;
1002
1002
}
0 commit comments