From 3174499ed4cf4dcb2f35d296fd4a347d22fd3688 Mon Sep 17 00:00:00 2001 From: Giorgis Georgakoudis Date: Wed, 11 Dec 2024 15:18:33 -0800 Subject: [PATCH] Appease clang-format --- .gitignore | 1 + lib/TransformLambdaSpecialization.hpp | 9 ++++++--- pass/ProteusPass.cpp | 9 ++++++--- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 6aafb27b..f99b109f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ __pycache__ .vscode .cache miniconda3* +install* diff --git a/lib/TransformLambdaSpecialization.hpp b/lib/TransformLambdaSpecialization.hpp index 13060f3f..68b31bcd 100644 --- a/lib/TransformLambdaSpecialization.hpp +++ b/lib/TransformLambdaSpecialization.hpp @@ -57,13 +57,16 @@ class TransformLambdaSpecialization { static void transform(Module &M, Function &F, SmallVector &RC) { auto LambdaClass = F.getArg(0); - DBG(dbgs() << "TransformLambdaSpecialization::transform" << "\n"); - DBG(dbgs() << "\t args" << "\n"); + DBG(dbgs() << "TransformLambdaSpecialization::transform" + << "\n"); + DBG(dbgs() << "\t args" + << "\n"); for (auto &Arg : RC) { DBG(dbgs() << "{" << Arg.Value.Int64Val << ", " << Arg.Slot << " }\n"); } - DBG(dbgs() << "\t users" << "\n"); + DBG(dbgs() << "\t users" + << "\n"); for (User *User : LambdaClass->users()) { DBG(dbgs() << *User << "\n"); if (dyn_cast(User)) { diff --git a/pass/ProteusPass.cpp b/pass/ProteusPass.cpp index 3a6ae34b..67066c4c 100644 --- a/pass/ProteusPass.cpp +++ b/pass/ProteusPass.cpp @@ -984,8 +984,10 @@ class ProteusJitPassImpl { } void findJitVariables(Module &M) { - DEBUG(dbgs() << "finding jit variables" << "\n"); - DEBUG(dbgs() << "users..." << "\n"); + DEBUG(dbgs() << "finding jit variables" + << "\n"); + DEBUG(dbgs() << "users..." + << "\n"); SmallVector JitFunctions; @@ -1021,7 +1023,8 @@ class ProteusJitPassImpl { DEBUG(dbgs() << "slot: " << *Slot << "\n"); CB->setArgOperand(1, Slot); } else { - DEBUG(dbgs() << "no gep, assuming slot 0" << "\n"); + DEBUG(dbgs() << "no gep, assuming slot 0" + << "\n"); Constant *C = ConstantInt::get(Int32Ty, 0); CB->setArgOperand(1, C); }