Home
last modified time | relevance | path

Searched refs:ConstantExprBits (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang/lib/AST/
DExpr.cpp276 ConstantExprBits.ResultKind = StorageKind; in ConstantExpr()
277 ConstantExprBits.APValueKind = APValue::None; in ConstantExpr()
278 ConstantExprBits.IsUnsigned = false; in ConstantExpr()
279 ConstantExprBits.BitWidth = 0; in ConstantExpr()
280 ConstantExprBits.HasCleanup = false; in ConstantExpr()
281 ConstantExprBits.IsImmediateInvocation = IsImmediateInvocation; in ConstantExpr()
310 ConstantExprBits.ResultKind = StorageKind; in ConstantExpr()
328 assert((unsigned)getStorageKind(Value) <= ConstantExprBits.ResultKind && in MoveIntoResult()
330 ConstantExprBits.APValueKind = Value.getKind(); in MoveIntoResult()
331 switch (ConstantExprBits.ResultKind) { in MoveIntoResult()
[all …]
/external/llvm-project/clang/lib/Serialization/
DASTWriterStmt.cpp557 Record.push_back(E->ConstantExprBits.ResultKind); in VisitConstantExpr()
559 Record.push_back(E->ConstantExprBits.APValueKind); in VisitConstantExpr()
560 Record.push_back(E->ConstantExprBits.IsUnsigned); in VisitConstantExpr()
561 Record.push_back(E->ConstantExprBits.BitWidth); in VisitConstantExpr()
563 Record.push_back(E->ConstantExprBits.IsImmediateInvocation); in VisitConstantExpr()
565 switch (E->ConstantExprBits.ResultKind) { in VisitConstantExpr()
DASTReaderStmt.cpp552 assert(E->ConstantExprBits.ResultKind == StorageKind && "Wrong ResultKind!"); in VisitConstantExpr()
554 E->ConstantExprBits.APValueKind = Record.readInt(); in VisitConstantExpr()
555 E->ConstantExprBits.IsUnsigned = Record.readInt(); in VisitConstantExpr()
556 E->ConstantExprBits.BitWidth = Record.readInt(); in VisitConstantExpr()
557 E->ConstantExprBits.HasCleanup = false; // Not serialized, see below. in VisitConstantExpr()
558 E->ConstantExprBits.IsImmediateInvocation = Record.readInt(); in VisitConstantExpr()
571 E->ConstantExprBits.HasCleanup = true; in VisitConstantExpr()
/external/llvm-project/clang/include/clang/AST/
DExpr.h1038 return ConstantExprBits.ResultKind == ConstantExpr::RSK_APValue; in numTrailingObjects()
1041 return ConstantExprBits.ResultKind == ConstantExpr::RSK_Int64; in numTrailingObjects()
1045 assert(ConstantExprBits.ResultKind == ConstantExpr::RSK_Int64 && in Int64Result()
1053 assert(ConstantExprBits.ResultKind == ConstantExpr::RSK_APValue && in APValueResult()
1095 return static_cast<APValue::ValueKind>(ConstantExprBits.APValueKind); in getResultAPValueKind()
1098 return static_cast<ResultStorageKind>(ConstantExprBits.ResultKind); in getResultStorageKind()
1101 return ConstantExprBits.IsImmediateInvocation; in isImmediateInvocation()
1104 return ConstantExprBits.APValueKind != APValue::None; in hasAPValueResult()
DStmt.h1022 ConstantExprBitfields ConstantExprBits; member