Home
last modified time | relevance | path

Searched refs:binaryOperator (Results 1 – 3 of 3) 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()
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/core/common/
DArkValueTransformer.ts1139 …const binaryOperator = operatorToken === ts.SyntaxKind.PlusPlusToken ? NormalBinaryOperator.Additi… constant
1140 …opExpr = new ArkNormalBinopExpr(operandValue, ValueUtil.getOrCreateNumberConst(1), binaryOperator);
1192 …const binaryOperator = operatorToken === ts.SyntaxKind.PlusPlusToken ? NormalBinaryOperator.Additi… constant
1193 …opExpr = new ArkNormalBinopExpr(operandValue, ValueUtil.getOrCreateNumberConst(1), binaryOperator);
/arkcompiler/ets_frontend/ets2panda/linter/src/lib/autofixes/
DAutofixer.ts4582 binaryOperator: ts.BinaryOperator
4584 const text = this.replaceInteropEqualityOperator(tsBinaryExpr, binaryOperator);
4593 binaryOperator: ts.BinaryOperator
4595 const info = this.getInteropEqualityReplacementInfo(binaryOperator);
4619 binaryOperator: ts.BinaryOperator
4622 switch (binaryOperator) {