/external/llvm-project/llvm/include/llvm/Analysis/ |
D | InstructionSimplify.h | 149 Value *SimplifyAddInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW, 153 Value *SimplifySubInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW, 199 Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | InstructionSimplify.h | 126 Value *SimplifyAddInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW, 130 Value *SimplifySubInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW, 176 Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW,
|
/external/llvm/include/llvm/Analysis/ |
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-project/llvm/lib/Analysis/ |
D | PHITransAddr.cpp | 258 bool isNUW = cast<BinaryOperator>(Inst)->hasNoUnsignedWrap(); in PHITranslateSubExpr() local 269 isNSW = isNUW = false; in PHITranslateSubExpr() 279 if (Value *Res = SimplifyAddInst(LHS, RHS, isNSW, isNUW, {DL, TLI, DT, AC})) { in PHITranslateSubExpr()
|
D | InstructionSimplify.cpp | 728 static Value *SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifySubInst() argument 749 if (isNUW) in SimplifySubInst() 856 Value *llvm::SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifySubInst() argument 858 return ::SimplifySubInst(Op0, Op1, isNSW, isNUW, Q, RecursionLimit); in SimplifySubInst() 1308 static Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyShlInst() argument 1316 return isNSW || isNUW ? Op0 : Constant::getNullValue(Op0->getType()); in SimplifyShlInst() 1325 if (isNUW && match(Op0, m_Negative())) in SimplifyShlInst() 1333 Value *llvm::SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyShlInst() argument 1335 return ::SimplifyShlInst(Op0, Op1, isNSW, isNUW, Q, RecursionLimit); in SimplifyShlInst() 1663 bool isNUW = IIQ.hasNoUnsignedWrap(AddInst); in simplifyAndOfICmpsWithAdd() local [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | PHITransAddr.cpp | 258 bool isNUW = cast<BinaryOperator>(Inst)->hasNoUnsignedWrap(); in PHITranslateSubExpr() local 269 isNSW = isNUW = false; in PHITranslateSubExpr() 279 if (Value *Res = SimplifyAddInst(LHS, RHS, isNSW, isNUW, {DL, TLI, DT, AC})) { in PHITranslateSubExpr()
|
D | InstructionSimplify.cpp | 737 static Value *SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifySubInst() argument 758 if (isNUW) in SimplifySubInst() 865 Value *llvm::SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifySubInst() argument 867 return ::SimplifySubInst(Op0, Op1, isNSW, isNUW, Q, RecursionLimit); in SimplifySubInst() 1313 static Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyShlInst() argument 1321 return isNSW || isNUW ? Op0 : Constant::getNullValue(Op0->getType()); in SimplifyShlInst() 1330 if (isNUW && match(Op0, m_Negative())) in SimplifyShlInst() 1338 Value *llvm::SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyShlInst() argument 1340 return ::SimplifyShlInst(Op0, Op1, isNSW, isNUW, Q, RecursionLimit); in SimplifyShlInst() 1669 bool isNUW = IIQ.hasNoUnsignedWrap(AddInst); in simplifyAndOfICmpsWithAdd() local [all …]
|
/external/llvm/lib/Analysis/ |
D | PHITransAddr.cpp | 261 bool isNUW = cast<BinaryOperator>(Inst)->hasNoUnsignedWrap(); in PHITranslateSubExpr() local 272 isNSW = isNUW = false; in PHITranslateSubExpr() 283 if (Value *Res = SimplifyAddInst(LHS, RHS, isNSW, isNUW, DL, TLI, DT, AC)) { in PHITranslateSubExpr()
|
D | InstructionSimplify.cpp | 529 static Value *SimplifyAddInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyAddInst() argument 582 Value *llvm::SimplifyAddInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyAddInst() argument 586 return ::SimplifyAddInst(Op0, Op1, isNSW, isNUW, Query(DL, TLI, DT, AC, CxtI), in SimplifyAddInst() 663 static Value *SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifySubInst() argument 683 if (isNUW && match(Op0, m_Zero())) in SimplifySubInst() 777 Value *llvm::SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifySubInst() argument 781 return ::SimplifySubInst(Op0, Op1, isNSW, isNUW, Query(DL, TLI, DT, AC, CxtI), in SimplifySubInst() 1375 static Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyShlInst() argument 1383 return isNSW || isNUW ? Op0 : Constant::getNullValue(Op0->getType()); in SimplifyShlInst() 1392 Value *llvm::SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, in SimplifyShlInst() argument [all …]
|
/external/mesa3d/src/amd/compiler/ |
D | aco_opt_value_numbering.cpp | 420 if (instr->definitions[i].isNUW()) in process_block()
|
D | aco_print_ir.cpp | 184 if (definition->isNUW()) in print_definition()
|
D | aco_ir.h | 885 constexpr bool isNUW() const noexcept in isNUW() function
|
D | aco_optimizer.cpp | 756 if (prevent_overflow && !add_instr->definitions[0].isNUW()) in parse_base_offset()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineInternal.h | 91 Value *LHS, Value *RHS, Type *Ty, bool isNUW);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineInternal.h | 373 Value *LHS, Value *RHS, Type *Ty, bool isNUW);
|