HomeSort by relevance Sort by last modified time
    Searched refs:BOp (Results 1 - 22 of 22) sorted by null

  /external/clang/lib/StaticAnalyzer/Checkers/
PointerArithChecker.cpp 66 void checkPreStmt(const BinaryOperator *BOp, CheckerContext &C) const;
317 void PointerArithChecker::checkPreStmt(const BinaryOperator *BOp,
319 BinaryOperatorKind OpKind = BOp->getOpcode();
320 if (!BOp->isAdditiveOp() && OpKind != BO_AddAssign && OpKind != BO_SubAssign)
323 const Expr *Lhs = BOp->getLHS();
324 const Expr *Rhs = BOp->getRHS();
331 reportPointerArithMisuse(Lhs, C, !BOp->isAdditiveOp());
MallocOverflowSecurityChecker.cpp 191 if (const BinaryOperator *BOp = dyn_cast<BinaryOperator>(rhse)) {
192 if (BOp->getOpcode() == BO_Div) {
193 const Expr *denom = BOp->getRHS()->IgnoreParenImpCasts();
196 const Expr *numerator = BOp->getLHS()->IgnoreParenImpCasts();
  /external/llvm/lib/Analysis/
PHITransAddr.cpp 267 if (BinaryOperator *BOp = dyn_cast<BinaryOperator>(LHS))
268 if (BOp->getOpcode() == Instruction::Add)
269 if (ConstantInt *CI = dyn_cast<ConstantInt>(BOp->getOperand(1))) {
270 LHS = BOp->getOperand(0);
275 if (std::find(InstInputs.begin(), InstInputs.end(), BOp) !=
277 RemoveInstInputs(BOp, InstInputs);
BasicAliasAnalysis.cpp 206 if (const BinaryOperator *BOp = dyn_cast<BinaryOperator>(V)) {
207 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(BOp->getOperand(1))) {
210 // than the BOp operands. We'll always zext it here as we'll process sign
214 switch (BOp->getOpcode()) {
224 if (!MaskedValueIsZero(BOp->getOperand(0), RHSC->getValue(), DL, 0, AC,
225 BOp, DT)) {
232 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits,
237 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits,
242 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits,
248 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Analysis/
PHITransAddr.cpp 272 if (BinaryOperator *BOp = dyn_cast<BinaryOperator>(LHS))
273 if (BOp->getOpcode() == Instruction::Add)
274 if (ConstantInt *CI = dyn_cast<ConstantInt>(BOp->getOperand(1))) {
275 LHS = BOp->getOperand(0);
280 if (std::count(InstInputs.begin(), InstInputs.end(), BOp)) {
281 RemoveInstInputs(BOp, InstInputs);
BasicAliasAnalysis.cpp 189 if (BinaryOperator *BOp = dyn_cast<BinaryOperator>(V)) {
190 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(BOp->getOperand(1))) {
191 switch (BOp->getOpcode()) {
196 if (!MaskedValueIsZero(BOp->getOperand(0), RHSC->getValue(), &TD))
200 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension,
205 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension,
211 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension,
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
PHITransAddr.cpp 265 if (BinaryOperator *BOp = dyn_cast<BinaryOperator>(LHS))
266 if (BOp->getOpcode() == Instruction::Add)
267 if (ConstantInt *CI = dyn_cast<ConstantInt>(BOp->getOperand(1))) {
268 LHS = BOp->getOperand(0);
273 if (is_contained(InstInputs, BOp)) {
274 RemoveInstInputs(BOp, InstInputs);
BasicAliasAnalysis.cpp 254 if (const BinaryOperator *BOp = dyn_cast<BinaryOperator>(V)) {
255 if (ConstantInt *RHSC = dyn_cast<ConstantInt>(BOp->getOperand(1))) {
257 // than the BOp operands. We'll always zext it here as we'll process sign
261 switch (BOp->getOpcode()) {
271 if (!MaskedValueIsZero(BOp->getOperand(0), RHSC->getValue(), DL, 0, AC,
272 BOp, DT)) {
279 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits,
284 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits,
289 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits,
295 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits
    [all...]
  /external/libcxx/test/std/numerics/numeric.ops/transform.inclusive.scan/
transform_inclusive_scan_bop_uop.pass.cpp 39 template <class Iter1, class BOp, class UOp, class Iter2>
41 test(Iter1 first, Iter1 last, BOp bop, UOp uop, Iter2 rFirst, Iter2 rLast)
45 std::transform_inclusive_scan(first, last, std::back_inserter(v), bop, uop);
51 std::transform_inclusive_scan(v.begin(), v.end(), v.begin(), bop, uop);
transform_inclusive_scan_bop_uop_init.pass.cpp 38 template <class Iter1, class BOp, class UOp, class T, class Iter2>
40 test(Iter1 first, Iter1 last, BOp bop, UOp uop, T init, Iter2 rFirst, Iter2 rLast)
44 std::transform_inclusive_scan(first, last, std::back_inserter(v), bop, uop, init);
50 std::transform_inclusive_scan(v.begin(), v.end(), v.begin(), bop, uop, init);
  /external/libcxx/test/std/numerics/numeric.ops/transform.reduce/
transform_reduce_iter_iter_init_bop_uop.pass.cpp 43 template <class Iter1, class T, class BOp, class UOp>
45 test(Iter1 first1, Iter1 last1, T init, BOp bOp, UOp uOp, T x)
48 decltype(std::transform_reduce(first1, last1, init, bOp, uOp))> );
49 assert(std::transform_reduce(first1, last1, init, bOp, uOp) == x);
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
LoopUtils.cpp 756 const SCEV *Step, BinaryOperator *BOp,
758 : StartValue(Start), IK(K), Step(Step), InductionBinOp(BOp) {
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
Reassociate.cpp 793 BinaryOperator *BOp = dyn_cast<BinaryOperator>(Ops[i].Op);
794 if (BOp == 0 || BOp->getOpcode() != Instruction::Mul || !BOp->use_empty())
799 FindSingleUseMultiplyFactors(BOp, Factors, Ops, true);
839 BinaryOperator *BOp = dyn_cast<BinaryOperator>(Ops[i].Op);
840 if (BOp == 0 || BOp->getOpcode() != Instruction::Mul || !BOp->use_empty())
    [all...]
  /external/libcxx/test/std/numerics/numeric.ops/transform.exclusive.scan/
transform_exclusive_scan_init_bop_uop.pass.cpp 38 template <class Iter1, class BOp, class UOp, class T, class Iter2>
40 test(Iter1 first, Iter1 last, BOp bop, UOp uop, T init, Iter2 rFirst, Iter2 rLast)
44 std::transform_exclusive_scan(first, last, std::back_inserter(v), init, bop, uop);
50 std::transform_exclusive_scan(v.begin(), v.end(), v.begin(), init, bop, uop);
  /external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
SelectionDAGBuilder.cpp     [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
EarlyCSE.cpp 723 if (BinaryOperator *BOp = dyn_cast<BinaryOperator>(I))
724 return BOp->getOpcode() == Opcode;
    [all...]
Reassociate.cpp     [all...]
  /external/llvm/lib/Transforms/Scalar/
Reassociate.cpp     [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
InstCombineAddSub.cpp     [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
SelectionDAGBuilder.cpp     [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
SelectionDAGBuilder.cpp     [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
LoopVectorize.cpp     [all...]

Completed in 1486 milliseconds