@@ -80,7 +80,7 @@ bool isUndef(const Value *v)
80
80
}
81
81
82
82
// Detect the DXC output which uses a load from global variable called "dx.nothing.*" instead of a Nop
83
- bool DXIL:: IsDXCNop (const Instruction &inst)
83
+ bool IsDXCNop (const Instruction &inst)
84
84
{
85
85
if (inst.op != Operation::Load)
86
86
return false ;
@@ -100,18 +100,18 @@ bool DXIL::IsDXCNop(const Instruction &inst)
100
100
return false ;
101
101
}
102
102
103
- bool DXIL:: IsLLVMDebugCall (const Instruction &inst)
103
+ bool IsLLVMDebugCall (const Instruction &inst)
104
104
{
105
105
return ((inst.op == Operation::Call) && (inst.getFuncCall ()->family == FunctionFamily::LLVMDbg));
106
106
}
107
107
108
- bool DXIL:: IsLLVMIntrinsicCall (const Instruction &inst)
108
+ bool IsLLVMIntrinsicCall (const Instruction &inst)
109
109
{
110
110
return ((inst.op == Operation::Call) &&
111
111
(inst.getFuncCall ()->family == FunctionFamily::LLVMInstrinsic));
112
112
}
113
113
114
- bool DXIL:: ShouldIgnoreSourceMapping (const Instruction &inst)
114
+ bool ShouldIgnoreSourceMapping (const Instruction &inst)
115
115
{
116
116
// Do not set source mapping for handle creation instructions
117
117
if (inst.op == Operation::Call)
@@ -136,7 +136,7 @@ bool DXIL::ShouldIgnoreSourceMapping(const Instruction &inst)
136
136
}
137
137
138
138
// true if the Value is an SSA value i.e. from an instruction, not a constant etc.
139
- bool DXIL:: IsSSA (const Value *dxilValue)
139
+ bool IsSSA (const Value *dxilValue)
140
140
{
141
141
if (const Instruction *inst = cast<Instruction>(dxilValue))
142
142
return true ;
@@ -157,7 +157,7 @@ bool DXIL::IsSSA(const Value *dxilValue)
157
157
return false ;
158
158
}
159
159
160
- DXILDebug::Id DXIL:: GetSSAId (const DXIL::Value *value)
160
+ DXILDebug::Id GetSSAId (const DXIL::Value *value)
161
161
{
162
162
if (const Instruction *inst = cast<Instruction>(value))
163
163
return inst->slot ;
@@ -170,8 +170,8 @@ DXILDebug::Id DXIL::GetSSAId(const DXIL::Value *value)
170
170
return DXILDebug::INVALID_ID;
171
171
}
172
172
173
- bool DXIL:: FindSigParameter (const rdcarray<SigParameter> &inputSig,
174
- const EntryPointInterface::Signature &dxilParam, SigParameter &sigParam)
173
+ bool FindSigParameter (const rdcarray<SigParameter> &inputSig,
174
+ const EntryPointInterface::Signature &dxilParam, SigParameter &sigParam)
175
175
{
176
176
for (const SigParameter ¶m : inputSig)
177
177
{
@@ -197,7 +197,7 @@ bool DXIL::FindSigParameter(const rdcarray<SigParameter> &inputSig,
197
197
}
198
198
199
199
// Replace '.' -> '_'
200
- void DXIL:: SanitiseName (rdcstr &name)
200
+ void SanitiseName (rdcstr &name)
201
201
{
202
202
for (size_t c = 0 ; c < name.size (); ++c)
203
203
{
0 commit comments