Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/
Dinfer_flags.cpp99 llvm::BinaryOperator *binaryOperator; in RunOnBasicBlock() local
104 if (!llvm::matchSimpleRecurrence(&phi, binaryOperator, start, step)) { in RunOnBasicBlock()
107 LLVM_DEBUG(llvm::dbgs() << "Matched simple recurrence '" << *binaryOperator << "'\n"); in RunOnBasicBlock()
108 if (!llvm::isa<llvm::OverflowingBinaryOperator>(binaryOperator)) { in RunOnBasicBlock()
112 if (binaryOperator->getOpcode() != llvm::Instruction::Add) { in RunOnBasicBlock()
130 if (!binaryOperator->hasNoSignedWrap() && !CanOverflow(knownStart, knownStep, tripCount)) { in RunOnBasicBlock()
131 LLVM_DEBUG(llvm::dbgs() << "Set nsw to '" << *binaryOperator << "'\n"); in RunOnBasicBlock()
132 binaryOperator->setHasNoSignedWrap(true); in RunOnBasicBlock()