HomeSort by: relevance | last modified time | path
    Searched refs:APValue (Results 1 - 25 of 63) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/clang/lib/AST/
APValue.cpp 1 //===--- APValue.cpp - Union class for APFloat/APSInt/Complex -------------===//
9 // This file implements the APValue class.
13 #include "clang/AST/APValue.h"
42 APValue::LValueBase::LValueBase(const ValueDecl *P, unsigned I, unsigned V)
44 APValue::LValueBase::LValueBase(const Expr *P, unsigned I, unsigned V)
47 APValue::LValueBase APValue::LValueBase::getDynamicAlloc(DynamicAllocLValue LV,
55 APValue::LValueBase APValue::LValueBase::getTypeInfo(TypeInfoLValue LV,
63 QualType APValue::LValueBase::getType() const
    [all...]
ExprConstant.cpp 38 #include "clang/AST/APValue.h"
81 static QualType getType(APValue::LValueBase B) {
87 static const FieldDecl *getAsField(APValue::LValuePathEntry E) {
92 static const CXXRecordDecl *getAsBaseClass(APValue::LValuePathEntry E) {
97 static bool isVirtualBaseClass(APValue::LValuePathEntry E) {
143 static bool isBaseAnAllocSizeCall(APValue::LValueBase Base) {
190 findMostDerivedSubobject(ASTContext &Ctx, APValue::LValueBase Base,
191 ArrayRef<APValue::LValuePathEntry> Path,
267 typedef APValue::LValuePathEntry PathEntry;
280 SubobjectDesignator(ASTContext &Ctx, const APValue &V
    [all...]
TextNodeDumper.cpp 14 #include "clang/AST/APValue.h"
366 /// True if the \p APValue \p Value can be folded onto the current line.
367 static bool isSimpleAPValue(const APValue &Value) {
369 case APValue::None:
370 case APValue::Indeterminate:
371 case APValue::Int:
372 case APValue::Float:
373 case APValue::FixedPoint:
374 case APValue::ComplexInt:
375 case APValue::ComplexFloat
    [all...]
ItaniumMangle.cpp 610 void mangleValueInTemplateArg(QualType T, const APValue &V, bool TopLevel,
5303 APValue Value;
5306 Value = APValue(D, /*IsDerivedMember=*/false, /*Path=*/{});
5313 Value = APValue(APValue::LValueBase(D), CharUnits::Zero(),
5314 {APValue::LValuePathEntry::ArrayIndex(0)},
5318 Value = APValue(APValue::LValueBase(D), CharUnits::Zero(),
5319 ArrayRef<APValue::LValuePathEntry>(),
5376 static bool isZeroInitialized(QualType T, const APValue &V)
    [all...]
ASTDumper.cpp 277 // APValue method implementations
280 LLVM_DUMP_METHOD void APValue::dump() const {
285 LLVM_DUMP_METHOD void APValue::dump(raw_ostream &OS,
Linkage.h 143 LinkageInfo getLVForValue(const APValue &V, LVComputationKind computation);
MicrosoftMangle.cpp 437 void mangleTemplateArgValue(QualType T, const APValue &V,
1660 const APValue &V,
1663 case APValue::None:
1664 case APValue::Indeterminate:
1672 case APValue::Int:
1679 case APValue::Float:
1685 case APValue::LValue: {
1693 APValue::LValueBase Base = V.getLValueBase();
1720 for (APValue::LValuePathEntry E : V.getLValuePath()) {
1742 for (APValue::LValuePathEntry E : V.getLValuePath())
    [all...]
Expr.cpp 14 #include "clang/AST/APValue.h"
254 ConstantExpr::getStorageKind(const APValue &Value) {
256 case APValue::None:
257 case APValue::Indeterminate:
259 case APValue::Int:
279 ConstantExprBits.APValueKind = APValue::None;
286 ::new (getTrailingObjects<APValue>()) APValue();
295 unsigned Size = totalSizeToAlloc<APValue, uint64_t>(
303 const APValue &Result)
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
APValue.h 1 //===--- APValue.h - Union class for APFloat/APSInt/Complex -----*- C++ -*-===//
9 // This file defines the APValue class.
101 // Validated by static_assert in APValue.cpp; hardcoded to avoid needing
119 /// APValue - This class implements a discriminated union of [uninitialized]
121 /// [Vector: N * APValue], [Array: N * APValue]
122 class APValue {
270 APValue *Elts;
276 APValue *Elts;
282 APValue *Elts
    [all...]
AbstractBasicReader.h 191 APValue::LValuePathSerializationHelper readLValuePathSerializationHelper(
192 SmallVectorImpl<APValue::LValuePathEntry> &path) {
204 APValue::LValuePathEntry(APValue::BaseOrMemberType(decl, int_)));
208 APValue::LValuePathEntry::ArrayIndex(asImpl().readUInt32()));
211 return APValue::LValuePathSerializationHelper(path, elemTy);
TextNodeDumper.h 30 class APValue;
158 void dumpAPValueChildren(const APValue &Value, QualType Ty,
159 const APValue &(*IdxToChildFun)(const APValue &,
191 void Visit(const APValue &Value, QualType Ty);
AbstractBasicWriter.h 176 APValue::LValuePathSerializationHelper lvaluePath) {
177 ArrayRef<APValue::LValuePathEntry> path = lvaluePath.Path;
ASTImporter.h 17 #include "clang/AST/APValue.h"
501 /// Import the given APValue from the "from" context into
504 /// \return the equivalent APValue in the "to" context or the import
506 llvm::Expected<APValue> Import(const APValue &FromValue);
JSONNodeDumper.h 31 class APValue;
207 void Visit(const APValue &Value, QualType Ty);
  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
Context.h 21 #include "clang/AST/APValue.h"
50 bool evaluateAsRValue(State &Parent, const Expr *E, APValue &Result);
53 bool evaluateAsInitializer(State &Parent, const VarDecl *VD, APValue &Result);
69 bool Run(State &Parent, Function *Func, APValue &Result);
Pointer.cpp 75 APValue Pointer::toAPValue() const {
76 APValue::LValueBase Base;
77 llvm::SmallVector<APValue::LValuePathEntry, 5> Path;
111 Path.push_back(APValue::LValuePathEntry::ArrayIndex(Ptr.getIndex()));
120 Path.push_back(APValue::LValuePathEntry({BaseOrMember, IsVirtual}));
132 return APValue(Base, Offset, Path, IsOnePastEnd, IsNullPtr);
Context.cpp 45 APValue Dummy;
49 bool Context::evaluateAsRValue(State &Parent, const Expr *E, APValue &Result) {
55 APValue &Result) {
113 bool Context::Run(State &Parent, Function *Func, APValue &Result) {
EvalEmitter.cpp 23 InterpStack &Stk, APValue &Result)
109 std::function<bool(QualType, const Pointer &, APValue &)> Composite;
110 Composite = [this, &Composite](QualType Ty, const Pointer &Ptr, APValue &R) {
121 APValue Value;
134 R = APValue(ActiveField, Value);
140 R = APValue(APValue::UninitStruct(), NB, NF);
146 APValue &Value = R.getStructField(I);
174 R = APValue(APValue::UninitArray{}, NumElems, NumElems)
    [all...]
EvalEmitter.h 47 APValue &Result);
91 APValue &Result;
Boolean.h 15 #include "clang/AST/APValue.h"
59 APValue toAPValue() const { return APValue(toAPSInt()); }
Interp.cpp 34 static bool Ret(InterpState &S, CodePtr &PC, APValue &Result) {
56 static bool RetVoid(InterpState &S, CodePtr &PC, APValue &Result) {
74 static bool RetValue(InterpState &S, CodePtr &Pt, APValue &Result) {
401 bool Interpret(InterpState &S, APValue &Result) {
Integral.h 17 #include "clang/AST/APValue.h"
115 APValue toAPValue() const { return APValue(toAPSInt()); }
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
ConstantEmitter.h 75 llvm::Constant *emitForInitializer(const APValue &value, LangAS destAddrSpace,
103 llvm::Constant *emitAbstract(SourceLocation loc, const APValue &value,
110 llvm::Constant *tryEmitAbstract(const APValue &value, QualType T);
111 llvm::Constant *tryEmitAbstractForMemory(const APValue &value, QualType T);
135 llvm::Constant *tryEmitPrivate(const APValue &value, QualType T);
136 llvm::Constant *tryEmitPrivateForMemory(const APValue &value, QualType T);
CGExprConstant.cpp 20 #include "clang/AST/APValue.h"
556 const APValue &Value, QualType ValTy);
577 bool Build(const APValue &Val, const RecordDecl *RD, bool IsPrimaryBase,
772 bool ConstStructBuilder::Build(const APValue &Val, const RecordDecl *RD,
826 const APValue &FieldValue =
872 const APValue &Val,
1360 ConstantEmitter::tryEmitAbstract(const APValue &value, QualType destType) {
1394 ConstantEmitter::emitAbstract(SourceLocation loc, const APValue &value,
1419 llvm::Constant *ConstantEmitter::emitForInitializer(const APValue &value,
1663 ConstantEmitter::tryEmitAbstractForMemory(const APValue &value
    [all...]
  /src/external/apache2/llvm/lib/libclangAST/
Makefile 9 SRCS+= APValue.cpp \

Completed in 40 milliseconds

1 2 3