Skip to content

Commit ac3ef66

Browse files
committed
clang-format
1 parent 5b4e00c commit ac3ef66

File tree

7 files changed

+16
-12
lines changed

7 files changed

+16
-12
lines changed

llvm/include/llvm/Analysis/DXILResource.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,8 +649,8 @@ class DXILResourceBindingInfo {
649649
bool hasOverlappingBinding() const { return HasOverlappingBinding; }
650650
void setHasOverlappingBinding(bool Value) { HasOverlappingBinding = Value; }
651651

652-
std::optional<uint32_t>
653-
findAvailableBinding(dxil::ResourceClass RC, uint32_t Space, int32_t Size) {
652+
std::optional<uint32_t> findAvailableBinding(dxil::ResourceClass RC,
653+
uint32_t Space, int32_t Size) {
654654
return Bindings.findAvailableBinding(RC, Space, Size);
655655
}
656656

llvm/include/llvm/Frontend/HLSL/HLSLBinding.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
#ifndef LLVM_FRONTEND_HLSL_HLSLBINDING_H
1414
#define LLVM_FRONTEND_HLSL_HLSLBINDING_H
1515

16-
#include "llvm/Support/Compiler.h"
1716
#include "llvm/ADT/STLFunctionalExtras.h"
1817
#include "llvm/ADT/SmallVector.h"
18+
#include "llvm/Support/Compiler.h"
1919
#include "llvm/Support/DXILABI.h"
2020
#include "llvm/Support/ErrorHandling.h"
2121

llvm/include/llvm/Frontend/HLSL/RootSignatureMetadata.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
#ifndef LLVM_FRONTEND_HLSL_ROOTSIGNATUREMETADATA_H
1515
#define LLVM_FRONTEND_HLSL_ROOTSIGNATUREMETADATA_H
1616

17-
#include "llvm/Support/Compiler.h"
1817
#include "llvm/ADT/StringRef.h"
1918
#include "llvm/Frontend/HLSL/HLSLRootSignature.h"
2019
#include "llvm/IR/Constants.h"
2120
#include "llvm/MC/DXContainerRootSignature.h"
21+
#include "llvm/Support/Compiler.h"
2222

2323
namespace llvm {
2424
class LLVMContext;

llvm/include/llvm/Frontend/Offloading/PropertySet.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
/// provides helper functions to translate PropertySetRegistry from/to JSON.
1010
//===----------------------------------------------------------------------===//
1111

12-
#include "llvm/Support/Compiler.h"
1312
#include "llvm/ADT/SmallVector.h"
13+
#include "llvm/Support/Compiler.h"
1414
#include "llvm/Support/Error.h"
1515

1616
#include <map>
@@ -27,8 +27,10 @@ using PropertyValue = std::variant<uint32_t, ByteArray>;
2727
using PropertySet = std::map<std::string, PropertyValue>;
2828
using PropertySetRegistry = std::map<std::string, PropertySet>;
2929

30-
LLVM_ABI void writePropertiesToJSON(const PropertySetRegistry &P, raw_ostream &O);
31-
LLVM_ABI Expected<PropertySetRegistry> readPropertiesFromJSON(MemoryBufferRef Buf);
30+
LLVM_ABI void writePropertiesToJSON(const PropertySetRegistry &P,
31+
raw_ostream &O);
32+
LLVM_ABI Expected<PropertySetRegistry>
33+
readPropertiesFromJSON(MemoryBufferRef Buf);
3234

3335
} // namespace offloading
3436
} // namespace llvm

llvm/include/llvm/IR/IRBuilder.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2614,7 +2614,8 @@ class IRBuilderBase {
26142614
return CreateShuffleVector(V, PoisonValue::get(V->getType()), Mask, Name);
26152615
}
26162616

2617-
LLVM_ABI Value *CreateVectorInterleave(ArrayRef<Value *> Ops, const Twine &Name = "");
2617+
LLVM_ABI Value *CreateVectorInterleave(ArrayRef<Value *> Ops,
2618+
const Twine &Name = "");
26182619

26192620
Value *CreateExtractValue(Value *Agg, ArrayRef<unsigned> Idxs,
26202621
const Twine &Name = "") {

llvm/include/llvm/Transforms/Utils/SplitModuleByCategory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#ifndef LLVM_TRANSFORM_UTILS_SPLIT_MODULE_BY_CATEGORY_H
1212
#define LLVM_TRANSFORM_UTILS_SPLIT_MODULE_BY_CATEGORY_H
1313

14-
#include "llvm/Support/Compiler.h"
1514
#include "llvm/ADT/STLFunctionalExtras.h"
15+
#include "llvm/Support/Compiler.h"
1616

1717
#include <memory>
1818
#include <optional>

llvm/lib/Transforms/Vectorize/VPlan.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,8 +1293,8 @@ class VPIRInstruction : public VPRecipeBase {
12931293
void execute(VPTransformState &State) override;
12941294

12951295
/// Return the cost of this VPIRInstruction.
1296-
LLVM_ABI_FOR_TEST InstructionCost computeCost(ElementCount VF,
1297-
VPCostContext &Ctx) const override;
1296+
LLVM_ABI_FOR_TEST InstructionCost
1297+
computeCost(ElementCount VF, VPCostContext &Ctx) const override;
12981298

12991299
Instruction &getInstruction() const { return I; }
13001300

@@ -1332,7 +1332,8 @@ class VPIRInstruction : public VPRecipeBase {
13321332
/// cast/dyn_cast/isa and execute() implementation. A single VPValue operand is
13331333
/// allowed, and it is used to add a new incoming value for the single
13341334
/// predecessor VPBB.
1335-
struct LLVM_ABI_FOR_TEST VPIRPhi : public VPIRInstruction, public VPPhiAccessors {
1335+
struct LLVM_ABI_FOR_TEST VPIRPhi : public VPIRInstruction,
1336+
public VPPhiAccessors {
13361337
VPIRPhi(PHINode &PN) : VPIRInstruction(PN) {}
13371338

13381339
static inline bool classof(const VPRecipeBase *U) {

0 commit comments

Comments
 (0)