clang  3.7.0
CGValue.h
Go to the documentation of this file.
1 //===-- CGValue.h - LLVM CodeGen wrappers for llvm::Value* ------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // These classes implement wrappers around llvm::Value in order to
11 // fully represent the range of values for C L- and R- values.
12 //
13 //===----------------------------------------------------------------------===//
14 
15 #ifndef LLVM_CLANG_LIB_CODEGEN_CGVALUE_H
16 #define LLVM_CLANG_LIB_CODEGEN_CGVALUE_H
17 
18 #include "clang/AST/ASTContext.h"
19 #include "clang/AST/CharUnits.h"
20 #include "clang/AST/Type.h"
21 #include "llvm/IR/Value.h"
22 #include "llvm/IR/Type.h"
23 
24 namespace llvm {
25  class Constant;
26  class MDNode;
27 }
28 
29 namespace clang {
30 namespace CodeGen {
31  class AggValueSlot;
32  struct CGBitFieldInfo;
33 
34 /// RValue - This trivial value class is used to represent the result of an
35 /// expression that is evaluated. It can be one of three things: either a
36 /// simple LLVM SSA value, a pair of SSA values for complex numbers, or the
37 /// address of an aggregate value in memory.
38 class RValue {
39  enum Flavor { Scalar, Complex, Aggregate };
40 
41  // Stores first value and flavor.
42  llvm::PointerIntPair<llvm::Value *, 2, Flavor> V1;
43  // Stores second value and volatility.
44  llvm::PointerIntPair<llvm::Value *, 1, bool> V2;
45 
46 public:
47  bool isScalar() const { return V1.getInt() == Scalar; }
48  bool isComplex() const { return V1.getInt() == Complex; }
49  bool isAggregate() const { return V1.getInt() == Aggregate; }
50 
51  bool isVolatileQualified() const { return V2.getInt(); }
52 
53  /// getScalarVal() - Return the Value* of this scalar value.
55  assert(isScalar() && "Not a scalar!");
56  return V1.getPointer();
57  }
58 
59  /// getComplexVal - Return the real/imag components of this complex value.
60  ///
61  std::pair<llvm::Value *, llvm::Value *> getComplexVal() const {
62  return std::make_pair(V1.getPointer(), V2.getPointer());
63  }
64 
65  /// getAggregateAddr() - Return the Value* of the address of the aggregate.
67  assert(isAggregate() && "Not an aggregate!");
68  return V1.getPointer();
69  }
70 
71  static RValue get(llvm::Value *V) {
72  RValue ER;
73  ER.V1.setPointer(V);
74  ER.V1.setInt(Scalar);
75  ER.V2.setInt(false);
76  return ER;
77  }
79  RValue ER;
80  ER.V1.setPointer(V1);
81  ER.V2.setPointer(V2);
82  ER.V1.setInt(Complex);
83  ER.V2.setInt(false);
84  return ER;
85  }
86  static RValue getComplex(const std::pair<llvm::Value *, llvm::Value *> &C) {
87  return getComplex(C.first, C.second);
88  }
89  // FIXME: Aggregate rvalues need to retain information about whether they are
90  // volatile or not. Remove default to find all places that probably get this
91  // wrong.
92  static RValue getAggregate(llvm::Value *V, bool Volatile = false) {
93  RValue ER;
94  ER.V1.setPointer(V);
95  ER.V1.setInt(Aggregate);
96  ER.V2.setInt(Volatile);
97  return ER;
98  }
99 };
100 
101 /// Does an ARC strong l-value have precise lifetime?
104 };
105 
106 /// LValue - This represents an lvalue references. Because C/C++ allow
107 /// bitfields, this is not a simple LLVM pointer, it may be a pointer plus a
108 /// bitrange.
109 class LValue {
110  enum {
111  Simple, // This is a normal l-value, use getAddress().
112  VectorElt, // This is a vector element l-value (V[i]), use getVector*
113  BitField, // This is a bitfield l-value, use getBitfield*.
114  ExtVectorElt, // This is an extended vector subset, use getExtVectorComp
115  GlobalReg // This is a register l-value, use getGlobalReg()
116  } LVType;
117 
118  llvm::Value *V;
119 
120  union {
121  // Index into a vector subscript: V[i]
123 
124  // ExtVector element subset: V.xyx
125  llvm::Constant *VectorElts;
126 
127  // BitField start bit and size
129  };
130 
131  QualType Type;
132 
133  // 'const' is unused here
134  Qualifiers Quals;
135 
136  // The alignment to use when accessing this lvalue. (For vector elements,
137  // this is the alignment of the whole vector.)
138  int64_t Alignment;
139 
140  // objective-c's ivar
141  bool Ivar:1;
142 
143  // objective-c's ivar is an array
144  bool ObjIsArray:1;
145 
146  // LValue is non-gc'able for any reason, including being a parameter or local
147  // variable.
148  bool NonGC: 1;
149 
150  // Lvalue is a global reference of an objective-c object
151  bool GlobalObjCRef : 1;
152 
153  // Lvalue is a thread local reference
154  bool ThreadLocalRef : 1;
155 
156  // Lvalue has ARC imprecise lifetime. We store this inverted to try
157  // to make the default bitfield pattern all-zeroes.
158  bool ImpreciseLifetime : 1;
159 
160  Expr *BaseIvarExp;
161 
162  /// Used by struct-path-aware TBAA.
163  QualType TBAABaseType;
164  /// Offset relative to the base type.
165  uint64_t TBAAOffset;
166 
167  /// TBAAInfo - TBAA information to attach to dereferences of this LValue.
168  llvm::MDNode *TBAAInfo;
169 
170 private:
171  void Initialize(QualType Type, Qualifiers Quals,
172  CharUnits Alignment,
173  llvm::MDNode *TBAAInfo = nullptr) {
174  this->Type = Type;
175  this->Quals = Quals;
176  this->Alignment = Alignment.getQuantity();
177  assert(this->Alignment == Alignment.getQuantity() &&
178  "Alignment exceeds allowed max!");
179 
180  // Initialize Objective-C flags.
181  this->Ivar = this->ObjIsArray = this->NonGC = this->GlobalObjCRef = false;
182  this->ImpreciseLifetime = false;
183  this->ThreadLocalRef = false;
184  this->BaseIvarExp = nullptr;
185 
186  // Initialize fields for TBAA.
187  this->TBAABaseType = Type;
188  this->TBAAOffset = 0;
189  this->TBAAInfo = TBAAInfo;
190  }
191 
192 public:
193  bool isSimple() const { return LVType == Simple; }
194  bool isVectorElt() const { return LVType == VectorElt; }
195  bool isBitField() const { return LVType == BitField; }
196  bool isExtVectorElt() const { return LVType == ExtVectorElt; }
197  bool isGlobalReg() const { return LVType == GlobalReg; }
198 
199  bool isVolatileQualified() const { return Quals.hasVolatile(); }
200  bool isRestrictQualified() const { return Quals.hasRestrict(); }
201  unsigned getVRQualifiers() const {
202  return Quals.getCVRQualifiers() & ~Qualifiers::Const;
203  }
204 
205  QualType getType() const { return Type; }
206 
208  return Quals.getObjCLifetime();
209  }
210 
211  bool isObjCIvar() const { return Ivar; }
212  void setObjCIvar(bool Value) { Ivar = Value; }
213 
214  bool isObjCArray() const { return ObjIsArray; }
215  void setObjCArray(bool Value) { ObjIsArray = Value; }
216 
217  bool isNonGC () const { return NonGC; }
218  void setNonGC(bool Value) { NonGC = Value; }
219 
220  bool isGlobalObjCRef() const { return GlobalObjCRef; }
221  void setGlobalObjCRef(bool Value) { GlobalObjCRef = Value; }
222 
223  bool isThreadLocalRef() const { return ThreadLocalRef; }
224  void setThreadLocalRef(bool Value) { ThreadLocalRef = Value;}
225 
227  return ARCPreciseLifetime_t(!ImpreciseLifetime);
228  }
230  ImpreciseLifetime = (value == ARCImpreciseLifetime);
231  }
232 
233  bool isObjCWeak() const {
234  return Quals.getObjCGCAttr() == Qualifiers::Weak;
235  }
236  bool isObjCStrong() const {
237  return Quals.getObjCGCAttr() == Qualifiers::Strong;
238  }
239 
240  bool isVolatile() const {
241  return Quals.hasVolatile();
242  }
243 
244  Expr *getBaseIvarExp() const { return BaseIvarExp; }
245  void setBaseIvarExp(Expr *V) { BaseIvarExp = V; }
246 
247  QualType getTBAABaseType() const { return TBAABaseType; }
248  void setTBAABaseType(QualType T) { TBAABaseType = T; }
249 
250  uint64_t getTBAAOffset() const { return TBAAOffset; }
251  void setTBAAOffset(uint64_t O) { TBAAOffset = O; }
252 
253  llvm::MDNode *getTBAAInfo() const { return TBAAInfo; }
254  void setTBAAInfo(llvm::MDNode *N) { TBAAInfo = N; }
255 
256  const Qualifiers &getQuals() const { return Quals; }
257  Qualifiers &getQuals() { return Quals; }
258 
259  unsigned getAddressSpace() const { return Quals.getAddressSpace(); }
260 
261  CharUnits getAlignment() const { return CharUnits::fromQuantity(Alignment); }
262  void setAlignment(CharUnits A) { Alignment = A.getQuantity(); }
263 
264  // simple lvalue
265  llvm::Value *getAddress() const { assert(isSimple()); return V; }
266  void setAddress(llvm::Value *address) {
267  assert(isSimple());
268  V = address;
269  }
270 
271  // vector elt lvalue
272  llvm::Value *getVectorAddr() const { assert(isVectorElt()); return V; }
273  llvm::Value *getVectorIdx() const { assert(isVectorElt()); return VectorIdx; }
274 
275  // extended vector elements.
276  llvm::Value *getExtVectorAddr() const { assert(isExtVectorElt()); return V; }
277  llvm::Constant *getExtVectorElts() const {
278  assert(isExtVectorElt());
279  return VectorElts;
280  }
281 
282  // bitfield lvalue
284  assert(isBitField());
285  return V;
286  }
288  assert(isBitField());
289  return *BitFieldInfo;
290  }
291 
292  // global register lvalue
293  llvm::Value *getGlobalReg() const { assert(isGlobalReg()); return V; }
294 
296  CharUnits alignment, ASTContext &Context,
297  llvm::MDNode *TBAAInfo = nullptr) {
298  Qualifiers qs = type.getQualifiers();
299  qs.setObjCGCAttr(Context.getObjCGCAttrKind(type));
300 
301  LValue R;
302  R.LVType = Simple;
303  assert(address->getType()->isPointerTy());
304  R.V = address;
305  R.Initialize(type, qs, alignment, TBAAInfo);
306  return R;
307  }
308 
310  QualType type, CharUnits Alignment) {
311  LValue R;
312  R.LVType = VectorElt;
313  R.V = Vec;
314  R.VectorIdx = Idx;
315  R.Initialize(type, type.getQualifiers(), Alignment);
316  return R;
317  }
318 
319  static LValue MakeExtVectorElt(llvm::Value *Vec, llvm::Constant *Elts,
320  QualType type, CharUnits Alignment) {
321  LValue R;
322  R.LVType = ExtVectorElt;
323  R.V = Vec;
324  R.VectorElts = Elts;
325  R.Initialize(type, type.getQualifiers(), Alignment);
326  return R;
327  }
328 
329  /// \brief Create a new object to represent a bit-field access.
330  ///
331  /// \param Addr - The base address of the bit-field sequence this
332  /// bit-field refers to.
333  /// \param Info - The information describing how to perform the bit-field
334  /// access.
336  const CGBitFieldInfo &Info,
337  QualType type, CharUnits Alignment) {
338  LValue R;
339  R.LVType = BitField;
340  R.V = Addr;
341  R.BitFieldInfo = &Info;
342  R.Initialize(type, type.getQualifiers(), Alignment);
343  return R;
344  }
345 
347  QualType type,
348  CharUnits Alignment) {
349  LValue R;
350  R.LVType = GlobalReg;
351  R.V = Reg;
352  R.Initialize(type, type.getQualifiers(), Alignment);
353  return R;
354  }
355 
357  // FIMXE: Alignment
359  }
360 };
361 
362 /// An aggregate value slot.
364  /// The address.
365  llvm::Value *Addr;
366 
367  // Qualifiers
368  Qualifiers Quals;
369 
370  unsigned short Alignment;
371 
372  /// DestructedFlag - This is set to true if some external code is
373  /// responsible for setting up a destructor for the slot. Otherwise
374  /// the code which constructs it should push the appropriate cleanup.
375  bool DestructedFlag : 1;
376 
377  /// ObjCGCFlag - This is set to true if writing to the memory in the
378  /// slot might require calling an appropriate Objective-C GC
379  /// barrier. The exact interaction here is unnecessarily mysterious.
380  bool ObjCGCFlag : 1;
381 
382  /// ZeroedFlag - This is set to true if the memory in the slot is
383  /// known to be zero before the assignment into it. This means that
384  /// zero fields don't need to be set.
385  bool ZeroedFlag : 1;
386 
387  /// AliasedFlag - This is set to true if the slot might be aliased
388  /// and it's not undefined behavior to access it through such an
389  /// alias. Note that it's always undefined behavior to access a C++
390  /// object that's under construction through an alias derived from
391  /// outside the construction process.
392  ///
393  /// This flag controls whether calls that produce the aggregate
394  /// value may be evaluated directly into the slot, or whether they
395  /// must be evaluated into an unaliased temporary and then memcpy'ed
396  /// over. Since it's invalid in general to memcpy a non-POD C++
397  /// object, it's important that this flag never be set when
398  /// evaluating an expression which constructs such an object.
399  bool AliasedFlag : 1;
400 
401 public:
406 
407  /// ignored - Returns an aggregate value slot indicating that the
408  /// aggregate value is being ignored.
410  return forAddr(nullptr, CharUnits(), Qualifiers(), IsNotDestructed,
412  }
413 
414  /// forAddr - Make a slot for an aggregate value.
415  ///
416  /// \param quals - The qualifiers that dictate how the slot should
417  /// be initialied. Only 'volatile' and the Objective-C lifetime
418  /// qualifiers matter.
419  ///
420  /// \param isDestructed - true if something else is responsible
421  /// for calling destructors on this object
422  /// \param needsGC - true if the slot is potentially located
423  /// somewhere that ObjC GC calls should be emitted for
425  Qualifiers quals,
426  IsDestructed_t isDestructed,
427  NeedsGCBarriers_t needsGC,
428  IsAliased_t isAliased,
430  AggValueSlot AV;
431  AV.Addr = addr;
432  AV.Alignment = align.getQuantity();
433  AV.Quals = quals;
434  AV.DestructedFlag = isDestructed;
435  AV.ObjCGCFlag = needsGC;
436  AV.ZeroedFlag = isZeroed;
437  AV.AliasedFlag = isAliased;
438  return AV;
439  }
440 
441  static AggValueSlot forLValue(const LValue &LV,
442  IsDestructed_t isDestructed,
443  NeedsGCBarriers_t needsGC,
444  IsAliased_t isAliased,
446  return forAddr(LV.getAddress(), LV.getAlignment(),
447  LV.getQuals(), isDestructed, needsGC, isAliased, isZeroed);
448  }
449 
451  return IsDestructed_t(DestructedFlag);
452  }
453  void setExternallyDestructed(bool destructed = true) {
454  DestructedFlag = destructed;
455  }
456 
457  Qualifiers getQualifiers() const { return Quals; }
458 
459  bool isVolatile() const {
460  return Quals.hasVolatile();
461  }
462 
463  void setVolatile(bool flag) {
464  Quals.setVolatile(flag);
465  }
466 
468  return Quals.getObjCLifetime();
469  }
470 
472  return NeedsGCBarriers_t(ObjCGCFlag);
473  }
474 
475  llvm::Value *getAddr() const {
476  return Addr;
477  }
478 
479  bool isIgnored() const {
480  return Addr == nullptr;
481  }
482 
484  return CharUnits::fromQuantity(Alignment);
485  }
486 
488  return IsAliased_t(AliasedFlag);
489  }
490 
491  // FIXME: Alignment?
492  RValue asRValue() const {
494  }
495 
496  void setZeroed(bool V = true) { ZeroedFlag = V; }
498  return IsZeroed_t(ZeroedFlag);
499  }
500 };
501 
502 } // end namespace CodeGen
503 } // end namespace clang
504 
505 #endif
Defines the clang::ASTContext interface.
unsigned getVRQualifiers() const
Definition: CGValue.h:201
Expr * getBaseIvarExp() const
Definition: CGValue.h:244
static AggValueSlot forLValue(const LValue &LV, IsDestructed_t isDestructed, NeedsGCBarriers_t needsGC, IsAliased_t isAliased, IsZeroed_t isZeroed=IsNotZeroed)
Definition: CGValue.h:441
void setAlignment(CharUnits A)
Definition: CGValue.h:262
std::pair< llvm::Value *, llvm::Value * > getComplexVal() const
Definition: CGValue.h:61
QuantityType getQuantity() const
getQuantity - Get the raw integer representation of this quantity.
Definition: CharUnits.h:163
void setTBAAInfo(llvm::MDNode *N)
Definition: CGValue.h:254
RValue asAggregateRValue() const
Definition: CGValue.h:356
void setObjCGCAttr(GC type)
Definition: Type.h:267
void setZeroed(bool V=true)
Definition: CGValue.h:496
llvm::Value * getAddress() const
Definition: CGValue.h:265
bool isVolatile() const
Definition: CGValue.h:459
CharUnits getAlignment() const
Definition: CGValue.h:483
ObjCLifetime getObjCLifetime() const
Definition: Type.h:287
void setTBAAOffset(uint64_t O)
Definition: CGValue.h:251
IsZeroed_t isZeroed() const
Definition: CGValue.h:497
void setAddress(llvm::Value *address)
Definition: CGValue.h:266
llvm::Value * VectorIdx
Definition: CGValue.h:122
void setTBAABaseType(QualType T)
Definition: CGValue.h:248
bool isObjCIvar() const
Definition: CGValue.h:211
bool isVolatileQualified() const
Definition: CGValue.h:199
Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...
Definition: ASTContext.h:89
unsigned getCVRQualifiers() const
Definition: Type.h:248
static RValue getComplex(const std::pair< llvm::Value *, llvm::Value * > &C)
Definition: CGValue.h:86
void setBaseIvarExp(Expr *V)
Definition: CGValue.h:245
void setNonGC(bool Value)
Definition: CGValue.h:218
CharUnits getAlignment() const
Definition: CGValue.h:261
const Qualifiers & getQuals() const
Definition: CGValue.h:256
Qualifiers::ObjCLifetime getObjCLifetime() const
Definition: CGValue.h:207
const CGBitFieldInfo * BitFieldInfo
Definition: CGValue.h:128
llvm::Value * getAggregateAddr() const
getAggregateAddr() - Return the Value* of the address of the aggregate.
Definition: CGValue.h:66
void setARCPreciseLifetime(ARCPreciseLifetime_t value)
Definition: CGValue.h:229
bool isExtVectorElt() const
Definition: CGValue.h:196
void setThreadLocalRef(bool Value)
Definition: CGValue.h:224
static LValue MakeGlobalReg(llvm::Value *Reg, QualType type, CharUnits Alignment)
Definition: CGValue.h:346
ASTContext * Context
bool hasVolatile() const
Definition: Type.h:233
llvm::Value * getBitFieldAddr() const
Definition: CGValue.h:283
bool isAggregate() const
Definition: CGValue.h:49
void setObjCArray(bool Value)
Definition: CGValue.h:215
Qualifiers::ObjCLifetime getObjCLifetime() const
Definition: CGValue.h:467
llvm::Constant * VectorElts
Definition: CGValue.h:125
RValue asRValue() const
Definition: CGValue.h:492
static CharUnits fromQuantity(QuantityType Quantity)
fromQuantity - Construct a CharUnits quantity from a raw integer type.
Definition: CharUnits.h:63
bool isVectorElt() const
Definition: CGValue.h:194
bool isThreadLocalRef() const
Definition: CGValue.h:223
bool isRestrictQualified() const
Definition: CGValue.h:200
llvm::Value * getExtVectorAddr() const
Definition: CGValue.h:276
ARCPreciseLifetime_t isARCPreciseLifetime() const
Definition: CGValue.h:226
bool isVolatile() const
Definition: CGValue.h:240
bool isSimple() const
Definition: CGValue.h:193
void setVolatile(bool flag)
Definition: Type.h:234
const CGBitFieldInfo & getBitFieldInfo() const
Definition: CGValue.h:287
static LValue MakeVectorElt(llvm::Value *Vec, llvm::Value *Idx, QualType type, CharUnits Alignment)
Definition: CGValue.h:309
llvm::MDNode * getTBAAInfo() const
Definition: CGValue.h:253
An aggregate value slot.
Definition: CGValue.h:363
static RValue getAggregate(llvm::Value *V, bool Volatile=false)
Definition: CGValue.h:92
bool isObjCArray() const
Definition: CGValue.h:214
static LValue MakeAddr(llvm::Value *address, QualType type, CharUnits alignment, ASTContext &Context, llvm::MDNode *TBAAInfo=nullptr)
Definition: CGValue.h:295
void setObjCIvar(bool Value)
Definition: CGValue.h:212
bool isGlobalReg() const
Definition: CGValue.h:197
unsigned getAddressSpace() const
Definition: CGValue.h:259
bool isBitField() const
Definition: CGValue.h:195
llvm::Value * getGlobalReg() const
Definition: CGValue.h:293
void setExternallyDestructed(bool destructed=true)
Definition: CGValue.h:453
Qualifiers & getQuals()
Definition: CGValue.h:257
void setVolatile(bool flag)
Definition: CGValue.h:463
bool isScalar() const
Definition: CGValue.h:47
static RValue getComplex(llvm::Value *V1, llvm::Value *V2)
Definition: CGValue.h:78
const internal::VariadicAllOfMatcher< Type > type
Matches Types in the clang AST.
Definition: ASTMatchers.h:1639
static LValue MakeBitfield(llvm::Value *Addr, const CGBitFieldInfo &Info, QualType type, CharUnits Alignment)
Create a new object to represent a bit-field access.
Definition: CGValue.h:335
llvm::Value * getScalarVal() const
getScalarVal() - Return the Value* of this scalar value.
Definition: CGValue.h:54
static AggValueSlot ignored()
Definition: CGValue.h:409
bool isObjCWeak() const
Definition: CGValue.h:233
IsAliased_t isPotentiallyAliased() const
Definition: CGValue.h:487
bool isNonGC() const
Definition: CGValue.h:217
IsDestructed_t isExternallyDestructed() const
Definition: CGValue.h:450
llvm::Constant * getExtVectorElts() const
Definition: CGValue.h:277
NeedsGCBarriers_t requiresGCollection() const
Definition: CGValue.h:471
QualType getTBAABaseType() const
Definition: CGValue.h:247
unsigned getAddressSpace() const
Definition: Type.h:313
bool isComplex() const
Definition: CGValue.h:48
void setGlobalObjCRef(bool Value)
Definition: CGValue.h:221
GC getObjCGCAttr() const
Definition: Type.h:266
ARCPreciseLifetime_t
Does an ARC strong l-value have precise lifetime?
Definition: CGValue.h:102
llvm::Value * getVectorIdx() const
Definition: CGValue.h:273
llvm::Value * getAddr() const
Definition: CGValue.h:475
bool isObjCStrong() const
Definition: CGValue.h:236
QualType getType() const
Definition: CGValue.h:205
bool hasRestrict() const
Definition: Type.h:240
bool isVolatileQualified() const
Definition: CGValue.h:51
static AggValueSlot forAddr(llvm::Value *addr, CharUnits align, Qualifiers quals, IsDestructed_t isDestructed, NeedsGCBarriers_t needsGC, IsAliased_t isAliased, IsZeroed_t isZeroed=IsNotZeroed)
Definition: CGValue.h:424
Qualifiers::GC getObjCGCAttrKind(QualType Ty) const
Return one of the GCNone, Weak or Strong Objective-C garbage collection attributes.
bool isGlobalObjCRef() const
Definition: CGValue.h:220
llvm::Value * getVectorAddr() const
Definition: CGValue.h:272
Qualifiers getQualifiers() const
Definition: CGValue.h:457
static LValue MakeExtVectorElt(llvm::Value *Vec, llvm::Constant *Elts, QualType type, CharUnits Alignment)
Definition: CGValue.h:319
uint64_t getTBAAOffset() const
Definition: CGValue.h:250
bool isIgnored() const
Definition: CGValue.h:479
Structure with information about how a bitfield should be accessed.
Qualifiers getQualifiers() const
Retrieve the set of qualifiers applied to this type.
Definition: Type.h:5043