Home
last modified time | relevance | path

Searched refs:EVal (Results 1 – 8 of 8) sorted by relevance

/external/clang/test/Sema/
Dconditional-expr.c53 enum Enum { EVal }; in foo() enumerator
54 test0 = test0 ? EVal : test0; in foo()
55 test1 = test0 ? EVal : (int) test0; in foo()
57 (unsigned) EVal in foo()
60 …test0 = test0 ? EVal : test1; // expected-warning {{operand of ? changes signedness: 'int' to 'uns… in foo()
61 …test0 = test0 ? test1 : EVal; // expected-warning {{operand of ? changes signedness: 'int' to 'uns… in foo()
/external/clang/test/SemaCXX/
Dconditional-expr.cpp53 enum Enum { EVal }; enumerator
180 i1 = i1 ? i1 : EVal; in test()
181 i1 = i1 ? EVal : i1; in test()
217 test0 = test0 ? EVal : test0; in test()
218 test1 = test0 ? EVal : (int) test0; in test()
220 …test0 = test0 ? EVal : test1; // expected-warning {{operand of ? changes signedness: 'int' to 'uns… in test()
221 …test0 = test0 ? test1 : EVal; // expected-warning {{operand of ? changes signedness: 'int' to 'uns… in test()
223 test1 = test0 ? EVal : (int) test0; in test()
224 test1 = test0 ? (int) test0 : EVal; in test()
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/AsmParser/
DMBlazeAsmParser.cpp432 const MCExpr *EVal = MCConstantExpr::Create(reg,getContext()); in ParseFsl() local
433 return MBlazeOperand::CreateFslImm(EVal,S,E); in ParseFsl()
441 const MCExpr *EVal; in ParseImmediate() local
449 if (getParser().ParseExpression(EVal)) in ParseImmediate()
452 return MBlazeOperand::CreateImm(EVal, S, E); in ParseImmediate()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp279 bool ParseExpression(const MCExpr *&EVal);
280 bool ParseDarwinExpression(const MCExpr *&EVal);
1532 ParseExpression(const MCExpr *&EVal) { in ParseExpression() argument
1535 return ParseDarwinExpression(EVal); in ParseExpression()
1539 if (getParser().parseExpression(EVal)) in ParseExpression()
1542 EVal = FixupVariantKind(EVal); in ParseExpression()
1545 const MCExpr *E = ExtractModifierFromExpr(EVal, Variant); in ParseExpression()
1547 EVal = PPCMCExpr::create(Variant, E, false, getParser().getContext()); in ParseExpression()
1559 ParseDarwinExpression(const MCExpr *&EVal) { in ParseDarwinExpression() argument
1587 if (getParser().parseExpression(EVal)) in ParseDarwinExpression()
[all …]
/external/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp262 bool ParseExpression(const MCExpr *&EVal);
263 bool ParseDarwinExpression(const MCExpr *&EVal);
1469 ParseExpression(const MCExpr *&EVal) { in ParseExpression() argument
1472 return ParseDarwinExpression(EVal); in ParseExpression()
1476 if (getParser().parseExpression(EVal)) in ParseExpression()
1479 EVal = FixupVariantKind(EVal); in ParseExpression()
1482 const MCExpr *E = ExtractModifierFromExpr(EVal, Variant); in ParseExpression()
1484 EVal = PPCMCExpr::create(Variant, E, false, getParser().getContext()); in ParseExpression()
1496 ParseDarwinExpression(const MCExpr *&EVal) { in ParseDarwinExpression() argument
1524 if (getParser().parseExpression(EVal)) in ParseDarwinExpression()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp97 bool matchSparcAsmModifiers(const MCExpr *&EVal, SMLoc &EndLoc);
818 const MCExpr *EVal; in parseSparcAsmOperand() local
866 if (matchSparcAsmModifiers(EVal, E)) { in parseSparcAsmOperand()
868 Op = SparcOperand::CreateImm(EVal, S, E); in parseSparcAsmOperand()
876 if (!getParser().parseExpression(EVal, E)) in parseSparcAsmOperand()
877 Op = SparcOperand::CreateImm(EVal, S, E); in parseSparcAsmOperand()
1229 bool SparcAsmParser::matchSparcAsmModifiers(const MCExpr *&EVal, in matchSparcAsmModifiers() argument
1251 EVal = adjustPICRelocation(VK, subExpr); in matchSparcAsmModifiers()
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp80 bool matchSparcAsmModifiers(const MCExpr *&EVal, SMLoc &EndLoc);
832 const MCExpr *EVal; in parseSparcAsmOperand() local
880 if (matchSparcAsmModifiers(EVal, E)) { in parseSparcAsmOperand()
882 Op = SparcOperand::CreateImm(EVal, S, E); in parseSparcAsmOperand()
890 if (!getParser().parseExpression(EVal, E)) in parseSparcAsmOperand()
891 Op = SparcOperand::CreateImm(EVal, S, E); in parseSparcAsmOperand()
1240 bool SparcAsmParser::matchSparcAsmModifiers(const MCExpr *&EVal, in matchSparcAsmModifiers() argument
1263 EVal = adjustPICRelocation(VK, subExpr); in matchSparcAsmModifiers()
/external/clang/lib/Sema/
DSemaDecl.cpp14756 const auto &EVal = E->getInitVal(); in IsValueInFlagEnum() local
14758 if (EVal.isPowerOf2()) in IsValueInFlagEnum()
14759 FlagBits = FlagBits.zextOrSelf(EVal.getBitWidth()) | EVal; in IsValueInFlagEnum()