HomeSort by relevance Sort by last modified time
    Searched refs:OverflowingBinaryOperator (Results 1 - 25 of 30) sorted by null

1 2

  /external/llvm/unittests/IR/
IRBuilderTest.cpp 230 EXPECT_TRUE(cast<OverflowingBinaryOperator>(Builder.CreateNSWAdd(C, C))
232 EXPECT_TRUE(cast<OverflowingBinaryOperator>(Builder.CreateNSWSub(C, C))
234 EXPECT_TRUE(cast<OverflowingBinaryOperator>(Builder.CreateNSWMul(C, C))
236 EXPECT_TRUE(cast<OverflowingBinaryOperator>(
240 EXPECT_TRUE(cast<OverflowingBinaryOperator>(Builder.CreateNUWAdd(C, C))
242 EXPECT_TRUE(cast<OverflowingBinaryOperator>(Builder.CreateNUWSub(C, C))
244 EXPECT_TRUE(cast<OverflowingBinaryOperator>(Builder.CreateNUWMul(C, C))
246 EXPECT_TRUE(cast<OverflowingBinaryOperator>(
  /external/llvm/include/llvm/IR/
Operator.h 75 /// OverflowingBinaryOperator - Utility class for integer arithmetic operators
79 class OverflowingBinaryOperator : public Operator {
333 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Add> {
336 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Sub> {
339 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Mul> {
342 : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Shl> {
PatternMatch.h 510 if (OverflowingBinaryOperator *Op = dyn_cast<OverflowingBinaryOperator>(V)) {
513 if (WrapFlags & OverflowingBinaryOperator::NoUnsignedWrap &&
516 if (WrapFlags & OverflowingBinaryOperator::NoSignedWrap &&
527 OverflowingBinaryOperator::NoSignedWrap>
530 OverflowingBinaryOperator::NoSignedWrap>(
535 OverflowingBinaryOperator::NoSignedWrap>
538 OverflowingBinaryOperator::NoSignedWrap>(
543 OverflowingBinaryOperator::NoSignedWrap>
546 OverflowingBinaryOperator::NoSignedWrap>
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombinePHI.cpp 37 if (OverflowingBinaryOperator *BO =
38 dyn_cast<OverflowingBinaryOperator>(FirstInst)) {
61 isNUW = cast<OverflowingBinaryOperator>(I)->hasNoUnsignedWrap();
63 isNSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap();
423 if (OverflowingBinaryOperator *BO =
424 dyn_cast<OverflowingBinaryOperator>(FirstInst)) {
447 isNUW = cast<OverflowingBinaryOperator>(I)->hasNoUnsignedWrap();
449 isNSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap();
    [all...]
InstructionCombining.cpp 135 OverflowingBinaryOperator *OBO = dyn_cast<OverflowingBinaryOperator>(&I);
501 if (isa<OverflowingBinaryOperator>(SimplifiedInst)) {
503 if (isa<OverflowingBinaryOperator>(&I))
507 if (isa<OverflowingBinaryOperator>(Op0))
511 if (isa<OverflowingBinaryOperator>(Op1))
    [all...]
InstCombineSelect.cpp 263 if (isa<OverflowingBinaryOperator>(BO)) {
298 if (isa<OverflowingBinaryOperator>(BO)) {
    [all...]
InstCombineCasts.cpp 38 OverflowingBinaryOperator *OBI = dyn_cast<OverflowingBinaryOperator>(Val);
    [all...]
InstCombineVectorOps.cpp 695 if (isa<OverflowingBinaryOperator>(BO)) {
    [all...]
InstCombineCompares.cpp     [all...]
  /external/llvm/lib/Transforms/Scalar/
EarlyCSE.cpp 97 if (isa<OverflowingBinaryOperator>(BinOp)) {
100 BinOp->hasNoSignedWrap() * OverflowingBinaryOperator::NoSignedWrap |
101 BinOp->hasNoUnsignedWrap() * OverflowingBinaryOperator::NoUnsignedWrap;
161 if (isa<OverflowingBinaryOperator>(LHSBinOp)) {
162 assert(isa<OverflowingBinaryOperator>(RHSBinOp)
IndVarSimplify.cpp 827 if (const OverflowingBinaryOperator *OBO =
828 dyn_cast<OverflowingBinaryOperator>(NarrowBO)) {
    [all...]
GVN.cpp     [all...]
  /external/llvm/lib/Analysis/
ValueTracking.cpp 377 bool NSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap();
521 bool NSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap();
528 bool NSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap();
    [all...]
InstructionSimplify.cpp     [all...]
  /external/llvm/lib/Target/AArch64/
AArch64AddressTypePromotion.cpp 159 if (BinOp && isa<OverflowingBinaryOperator>(BinOp) &&
  /external/llvm/lib/IR/
Constants.cpp     [all...]
Instructions.cpp     [all...]
AsmWriter.cpp 749 if (const OverflowingBinaryOperator *OBO =
750 dyn_cast<OverflowingBinaryOperator>(U)) {
    [all...]
  /external/llvm/lib/Bitcode/Writer/
BitcodeWriter.cpp 716 if (const OverflowingBinaryOperator *OBO =
717 dyn_cast<OverflowingBinaryOperator>(V)) {
    [all...]
  /frameworks/compile/slang/BitWriter_2_9/
BitcodeWriter.cpp 566 if (const OverflowingBinaryOperator *OBO =
567 dyn_cast<OverflowingBinaryOperator>(V)) {
    [all...]
  /frameworks/compile/slang/BitWriter_2_9_func/
BitcodeWriter.cpp 520 if (const OverflowingBinaryOperator *OBO =
521 dyn_cast<OverflowingBinaryOperator>(V)) {
    [all...]
  /frameworks/compile/slang/BitWriter_3_2/
BitcodeWriter.cpp 539 if (const OverflowingBinaryOperator *OBO =
540 dyn_cast<OverflowingBinaryOperator>(V)) {
    [all...]
  /external/llvm/lib/Bitcode/Reader/
BitcodeReader.cpp     [all...]
  /frameworks/compile/libbcc/bcinfo/BitReader_2_7/
BitcodeReader.cpp     [all...]
  /frameworks/compile/libbcc/bcinfo/BitReader_3_0/
BitcodeReader.cpp     [all...]

Completed in 3037 milliseconds

1 2