/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
H A D | InstructionSimplify.h | 32 Value *SimplifyAddInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW, 37 Value *SimplifySubInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW, 77 Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW,
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
H A D | InstCombinePHI.cpp | 34 bool isNUW = false, isNSW = false, isExact = false; local 37 isNUW = BO->hasNoUnsignedWrap(); 58 if (isNUW) 59 isNUW = cast<OverflowingBinaryOperator>(I)->hasNoUnsignedWrap(); 123 if (isNUW) NewBinOp->setHasNoUnsignedWrap(); 405 bool isNUW = false, isNSW = false, isExact = false; local 425 isNUW = BO->hasNoUnsignedWrap(); 446 if (isNUW) 447 isNUW = cast<OverflowingBinaryOperator>(I)->hasNoUnsignedWrap(); 492 if (isNUW) BinO [all...] |
/external/llvm/include/llvm/Analysis/ |
H A D | InstructionSimplify.h | 51 Value *SimplifyAddInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW, 60 Value *SimplifySubInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW, 154 Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW,
|
/external/llvm/lib/Analysis/ |
H A D | PHITransAddr.cpp | 261 bool isNUW = cast<BinaryOperator>(Inst)->hasNoUnsignedWrap(); local 272 isNSW = isNUW = false; 283 if (Value *Res = SimplifyAddInst(LHS, RHS, isNSW, isNUW, DL, TLI, DT, AC)) {
|
H A D | InstructionSimplify.cpp | 529 static Value *SimplifyAddInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument 582 Value *llvm::SimplifyAddInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument 586 return ::SimplifyAddInst(Op0, Op1, isNSW, isNUW, Query(DL, TLI, DT, AC, CxtI), 663 static Value *SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument 683 if (isNUW && match(Op0, m_Zero())) 777 Value *llvm::SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument 781 return ::SimplifySubInst(Op0, Op1, isNSW, isNUW, Query(DL, TLI, DT, AC, CxtI), 1375 static Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument 1383 return isNSW || isNUW ? Op0 : Constant::getNullValue(Op0->getType()); 1392 Value *llvm::SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument 1530 bool isNUW = AddInst->hasNoUnsignedWrap(); local 1704 bool isNUW = AddInst->hasNoUnsignedWrap(); local [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
H A D | PHITransAddr.cpp | 266 bool isNUW = cast<BinaryOperator>(Inst)->hasNoUnsignedWrap(); local 277 isNSW = isNUW = false; 287 if (Value *Res = SimplifyAddInst(LHS, RHS, isNSW, isNUW, TD, DT)) {
|
H A D | InstructionSimplify.cpp | 542 static Value *SimplifyAddInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument 604 Value *llvm::SimplifyAddInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument 606 return ::SimplifyAddInst(Op0, Op1, isNSW, isNUW, TD, DT, RecursionLimit); 611 static Value *SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument 725 Value *llvm::SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument 727 return ::SimplifySubInst(Op0, Op1, isNSW, isNUW, TD, DT, RecursionLimit); 1074 static Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument 1092 Value *llvm::SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument 1094 return ::SimplifyShlInst(Op0, Op1, isNSW, isNUW, TD, DT, RecursionLimit); 2347 return SimplifyAddInst(LHS, RHS, /*isNSW*/false, /*isNUW*/fals [all...] |