Home
last modified time | relevance | path

Searched refs:Overflow (Results 1 – 25 of 38) sorted by relevance

12

/external/clang/lib/Lex/
DPPExpressions.cpp327 bool Overflow = !Result.isUnsigned() && Result.Val.isMinSignedValue(); in EvaluateValue() local
330 if (Overflow && ValueLive) in EvaluateValue()
522 bool Overflow = false; in EvaluateDirectiveSubExpr() local
537 Res = llvm::APSInt(LHS.Val.sdiv_ov(RHS.Val, Overflow), false); in EvaluateDirectiveSubExpr()
549 Res = llvm::APSInt(LHS.Val.smul_ov(RHS.Val, Overflow), false); in EvaluateDirectiveSubExpr()
557 Overflow = ShAmt >= LHS.Val.getBitWidth(); in EvaluateDirectiveSubExpr()
558 if (Overflow) in EvaluateDirectiveSubExpr()
562 Res = llvm::APSInt(LHS.Val.sshl_ov(ShAmt, Overflow), false); in EvaluateDirectiveSubExpr()
570 Overflow = true, ShAmt = LHS.getBitWidth()-1; in EvaluateDirectiveSubExpr()
578 Res = llvm::APSInt(LHS.Val.sadd_ov(RHS.Val, Overflow), false); in EvaluateDirectiveSubExpr()
[all …]
DLiteralSupport.cpp91 bool Overflow = false; in ProcessCharEscape() local
96 Overflow |= (ResultChar & 0xF0000000) ? true : false; in ProcessCharEscape()
106 Overflow = true; in ProcessCharEscape()
111 if (Overflow && Diags) // Too many digits to fit in in ProcessCharEscape()
/external/clang/test/SemaTemplate/
Dtemp_arg_nontype.cpp92 template<unsigned char C> struct Overflow; // expected-note{{template parameter is declared here}}
94 Overflow<5> *overflow1; // okay
95 Overflow<255> *overflow2; // okay
96 Overflow<256> *overflow3; // expected-warning{{non-type template argument value '256' truncated to …
/external/webkit/Source/JavaScriptCore/assembler/
DMacroAssemblerX86Common.h55 Overflow = X86Assembler::ConditionO, enumerator
966 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchAdd32()
973 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchAdd32()
980 ASSERT((cond == Overflow) || (cond == Zero) || (cond == NonZero)); in branchAdd32()
987 ASSERT((cond == Overflow) || (cond == Zero) || (cond == NonZero)); in branchAdd32()
994 ASSERT((cond == Overflow) || (cond == Zero) || (cond == NonZero)); in branchAdd32()
1015 ASSERT(cond == Overflow); in branchMul32()
1022 ASSERT((cond == Overflow) || (cond == Zero) || (cond == NonZero)); in branchMul32()
1029 ASSERT(cond == Overflow); in branchMul32()
1044 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchSub32()
[all …]
DMacroAssemblerARM.h56 Overflow = ARMAssembler::VS, enumerator
517 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchAdd32()
524 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchAdd32()
541 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchMul32()
542 if (cond == Overflow) { in branchMul32()
553 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchMul32()
554 if (cond == Overflow) { in branchMul32()
566 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchSub32()
573 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchSub32()
580 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchNeg32()
DMacroAssemblerSH4.h55 static const Condition Overflow; variable
1471 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchAdd32()
1473 if (cond == Overflow) { in branchAdd32()
1495 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchAdd32()
1503 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchMul32()
1505 if (cond == Overflow) { in branchMul32()
1537 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchMul32()
1548 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchSub32()
1550 if (cond == Overflow) { in branchSub32()
1572 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchSub32()
DMacroAssemblerMIPS.h71 Overflow, enumerator
950 if (cond == Overflow) { in branch32()
1132 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchAdd32()
1133 if (cond == Overflow) { in branchAdd32()
1185 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchMul32()
1186 if (cond == Overflow) { in branchMul32()
1237 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchSub32()
1238 if (cond == Overflow) { in branchSub32()
1397 } else if (cond == Overflow) { in set32Compare32()
DMacroAssemblerSH4.cpp46 const Condition MacroAssemblerSH4::Overflow = SH4Assembler::OF; member in JSC::MacroAssemblerSH4
DMacroAssemblerARMv7.h114 Overflow = ARMv7Assembler::ConditionVS, enumerator
1030 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchAdd32()
1037 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchAdd32()
1050 ASSERT_UNUSED(cond, cond == Overflow); in branchMul32()
1058 ASSERT_UNUSED(cond, cond == Overflow); in branchMul32()
1074 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchSub32()
1081 ASSERT((cond == Overflow) || (cond == Signed) || (cond == Zero) || (cond == NonZero)); in branchSub32()
DMacroAssemblerX86_64.h406 ASSERT((cond == Overflow) || (cond == Zero) || (cond == NonZero)); in branchAddPtr()
413 ASSERT((cond == Overflow) || (cond == Zero) || (cond == NonZero)); in branchSubPtr()
/external/llvm/include/llvm/ADT/
DAPInt.h827 APInt sadd_ov(const APInt &RHS, bool &Overflow) const;
828 APInt uadd_ov(const APInt &RHS, bool &Overflow) const;
829 APInt ssub_ov(const APInt &RHS, bool &Overflow) const;
830 APInt usub_ov(const APInt &RHS, bool &Overflow) const;
831 APInt sdiv_ov(const APInt &RHS, bool &Overflow) const;
832 APInt smul_ov(const APInt &RHS, bool &Overflow) const;
833 APInt umul_ov(const APInt &RHS, bool &Overflow) const;
834 APInt sshl_ov(unsigned Amt, bool &Overflow) const;
/external/llvm/lib/Support/
DAPInt.cpp2047 APInt APInt::sadd_ov(const APInt &RHS, bool &Overflow) const { in sadd_ov()
2049 Overflow = isNonNegative() == RHS.isNonNegative() && in sadd_ov()
2054 APInt APInt::uadd_ov(const APInt &RHS, bool &Overflow) const { in uadd_ov()
2056 Overflow = Res.ult(RHS); in uadd_ov()
2060 APInt APInt::ssub_ov(const APInt &RHS, bool &Overflow) const { in ssub_ov()
2062 Overflow = isNonNegative() != RHS.isNonNegative() && in ssub_ov()
2067 APInt APInt::usub_ov(const APInt &RHS, bool &Overflow) const { in usub_ov()
2069 Overflow = Res.ugt(*this); in usub_ov()
2073 APInt APInt::sdiv_ov(const APInt &RHS, bool &Overflow) const { in sdiv_ov()
2075 Overflow = isMinSignedValue() && RHS.isAllOnesValue(); in sdiv_ov()
[all …]
/external/webkit/Source/JavaScriptCore/jit/
DJITArithmetic.cpp776 addSlowCase(branchAdd32(Overflow, TrustedImm32(1), regT1)); in emit_op_post_inc()
828 addSlowCase(branchAdd32(Overflow, TrustedImm32(1), regT0)); in emit_op_pre_inc()
955 addSlowCase(branchAdd32(Overflow, regT1, regT0)); in compileBinaryArithOp()
957 addSlowCase(branchSub32(Overflow, regT1, regT0)); in compileBinaryArithOp()
960 addSlowCase(branchMul32(Overflow, regT1, regT0)); in compileBinaryArithOp()
1073 addSlowCase(branchAdd32(Overflow, Imm32(getConstantOperandImmediateInt(op1)), regT0)); in emit_op_add()
1078 addSlowCase(branchAdd32(Overflow, Imm32(getConstantOperandImmediateInt(op2)), regT0)); in emit_op_add()
1113 addSlowCase(branchMul32(Overflow, Imm32(value), regT0, regT0)); in emit_op_mul()
1118 addSlowCase(branchMul32(Overflow, Imm32(value), regT0, regT0)); in emit_op_mul()
DJITArithmetic32_64.cpp689 addSlowCase(branchAdd32(Overflow, TrustedImm32(1), regT0)); in emit_op_post_inc()
723 addSlowCase(branchSub32(Overflow, TrustedImm32(1), regT0)); in emit_op_post_dec()
751 addSlowCase(branchAdd32(Overflow, TrustedImm32(1), regT0)); in emit_op_pre_inc()
776 addSlowCase(branchSub32(Overflow, TrustedImm32(1), regT0)); in emit_op_pre_dec()
824 addSlowCase(branchAdd32(Overflow, regT2, regT0)); in emit_op_add()
844 addSlowCase(branchAdd32(Overflow, Imm32(constant), regT0)); in emitAdd32Constant()
933 addSlowCase(branchSub32(Overflow, regT2, regT0)); in emit_op_sub()
953 addSlowCase(branchSub32(Overflow, Imm32(constant), regT0)); in emitSub32Constant()
1165 addSlowCase(branchMul32(Overflow, regT2, regT0)); in emit_op_mul()
/external/webkit/Source/JavaScriptCore/dfg/
DDFGSpeculativeJIT.cpp374 …speculationCheck(m_jit.branchAdd32(MacroAssembler::Overflow, reg, Imm32(imm1), result.registerID()… in compile()
386 …speculationCheck(m_jit.branchAdd32(MacroAssembler::Overflow, reg, Imm32(imm2), result.registerID()… in compile()
399 …MacroAssembler::Jump check = m_jit.branchAdd32(MacroAssembler::Overflow, JITCompiler::gprToRegiste… in compile()
419 …speculationCheck(m_jit.branchSub32(MacroAssembler::Overflow, reg, Imm32(imm2), result.registerID()… in compile()
431 … speculationCheck(m_jit.branchSub32(MacroAssembler::Overflow, reg1, reg2, result.registerID())); in compile()
444 … speculationCheck(m_jit.branchMul32(MacroAssembler::Overflow, reg1, reg2, result.registerID())); in compile()
/external/llvm/lib/Analysis/
DConstantFolding.cpp1373 bool Overflow; in ConstantFoldCall() local
1377 Res = Op1->getValue().sadd_ov(Op2->getValue(), Overflow); in ConstantFoldCall()
1380 Res = Op1->getValue().uadd_ov(Op2->getValue(), Overflow); in ConstantFoldCall()
1383 Res = Op1->getValue().ssub_ov(Op2->getValue(), Overflow); in ConstantFoldCall()
1386 Res = Op1->getValue().usub_ov(Op2->getValue(), Overflow); in ConstantFoldCall()
1389 Res = Op1->getValue().smul_ov(Op2->getValue(), Overflow); in ConstantFoldCall()
1392 Res = Op1->getValue().umul_ov(Op2->getValue(), Overflow); in ConstantFoldCall()
1397 ConstantInt::get(Type::getInt1Ty(F->getContext()), Overflow) in ConstantFoldCall()
/external/libffi/src/s390/
Dsysv.S134 la %r5,96(%r1) # Overflow
337 la %r5,160(%r1) # Overflow
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp505 bool Overflow; in visitCallInst() local
506 LHSMax.umul_ov(RHSMax, Overflow); in visitCallInst()
507 if (!Overflow) { in visitCallInst()
/external/oprofile/events/x86-64/family10/
Dunit_masks86 0x01 DCT0 Page Table Overflow
87 0x02 DCT1 Page Table Overflow
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp614 SDValue Overflow; in PromoteIntRes_XMULO() local
619 Overflow = DAG.getSetCC(DL, N->getValueType(1), Hi, in PromoteIntRes_XMULO()
625 Overflow = DAG.getSetCC(DL, N->getValueType(1), SExt, Mul, ISD::SETNE); in PromoteIntRes_XMULO()
629 ReplaceValueWith(SDValue(N, 1), Overflow); in PromoteIntRes_XMULO()
2199 SDValue Overflow; in ExpandIntRes_XMULO() local
2200 Overflow = DAG.getSetCC(DL, N->getValueType(1), DIV, LHS, ISD::SETNE); in ExpandIntRes_XMULO()
2201 ReplaceValueWith(SDValue(N, 1), Overflow); in ExpandIntRes_XMULO()
/external/oprofile/events/x86-64/family11h/
Dunit_masks84 0x01 DCT Page Table Overflow
/external/llvm/include/llvm/
DIntrinsics.td352 //===------------------------ Overflow Intrinsics -------------------------===//
/external/llvm/lib/Target/Sparc/
DSparcInstrInfo.td157 def ICC_VC : ICC_VAL<15>; // Overflow Clear
158 def ICC_VS : ICC_VAL< 7>; // Overflow Set
/external/astl/include/
Dvector481 { // Overflow: cap at max_size() if not there already.
/external/oprofile/events/ppc64/power7/
Devents1637 #Group 203 pm_overflow1, Overflow events
1638 … Overflows from PMC4 are counted. This effectively widens the PMC. The Overflow from the original…
1639 … Overflows from PMC1 are counted. This effectively widens the PMC. The Overflow from the original…
1640 … Overflows from PMC2 are counted. This effectively widens the PMC. The Overflow from the original…
1641 … Overflows from PMC3 are counted. This effectively widens the PMC. The Overflow from the original…
1645 #Group 204 pm_overflow2, Overflow events
1646 … Overflows from PMC5 are counted. This effectively widens the PMC. The Overflow from the original…
1647 … Overflows from PMC1 are counted. This effectively widens the PMC. The Overflow from the original…
1648 … Overflows from PMC6 are counted. This effectively widens the PMC. The Overflow from the original…
1649 … Overflows from PMC3 are counted. This effectively widens the PMC. The Overflow from the original…

12