HomeSort by relevance Sort by last modified time
    Searched refs:BinaryOperator (Results 26 - 50 of 163) sorted by null

12 3 4 5 6 7

  /external/clang/lib/StaticAnalyzer/Core/
SimpleSValBuilder.cpp 36 virtual SVal evalBinOpNN(ProgramStateRef state, BinaryOperator::Opcode op,
38 virtual SVal evalBinOpLL(ProgramStateRef state, BinaryOperator::Opcode op,
40 virtual SVal evalBinOpLN(ProgramStateRef state, BinaryOperator::Opcode op,
47 SVal MakeSymIntVal(const SymExpr *LHS, BinaryOperator::Opcode op,
177 static BinaryOperator::Opcode NegateComparison(BinaryOperator::Opcode op) {
190 static BinaryOperator::Opcode ReverseComparison(BinaryOperator::Opcode op) {
205 BinaryOperator::Opcode op,
274 if (BinaryOperator::isComparisonOp(op))
    [all...]
SimpleConstraintManager.h 45 BinaryOperator::Opcode op,
SValBuilder.cpp 44 NonLoc SValBuilder::makeNonLoc(const SymExpr *lhs, BinaryOperator::Opcode op,
55 BinaryOperator::Opcode op, const SymExpr *rhs,
62 NonLoc SValBuilder::makeNonLoc(const SymExpr *lhs, BinaryOperator::Opcode op,
223 BinaryOperator::Opcode Op,
251 SVal SValBuilder::evalBinOp(ProgramStateRef state, BinaryOperator::Opcode op,
BugReporterVisitors.cpp 54 if (const BinaryOperator *B = dyn_cast<BinaryOperator>(S)) {
79 if (const BinaryOperator *BE = dyn_cast<BinaryOperator>(S))
294 if (const BinaryOperator *BO = P->getStmtAs<BinaryOperator>())
716 return VisitTrueTest(Cond, cast<BinaryOperator>(Ex), tookTrue, BRC,
790 const BinaryOperator *BExpr,
810 BinaryOperator::Opcode Op = BExpr->getOpcode();
812 if (BinaryOperator::isAssignmentOp(Op))
    [all...]
  /external/llvm/lib/Analysis/
PHITransAddr.cpp 266 bool isNSW = cast<BinaryOperator>(Inst)->hasNoSignedWrap();
267 bool isNUW = cast<BinaryOperator>(Inst)->hasNoUnsignedWrap();
273 if (BinaryOperator *BOp = dyn_cast<BinaryOperator>(LHS))
302 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(*UI))
432 BinaryOperator *Res = BinaryOperator::CreateAdd(OpVal, Inst->getOperand(1),
435 Res->setHasNoSignedWrap(cast<BinaryOperator>(Inst)->hasNoSignedWrap());
436 Res->setHasNoUnsignedWrap(cast<BinaryOperator>(Inst)->hasNoUnsignedWrap())
    [all...]
Lint.cpp 82 void visitXor(BinaryOperator &I);
83 void visitSub(BinaryOperator &I);
84 void visitLShr(BinaryOperator &I);
85 void visitAShr(BinaryOperator &I);
86 void visitShl(BinaryOperator &I);
87 void visitSDiv(BinaryOperator &I);
88 void visitUDiv(BinaryOperator &I);
89 void visitSRem(BinaryOperator &I);
90 void visitURem(BinaryOperator &I);
440 void Lint::visitXor(BinaryOperator &I)
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
IdempotentOperationChecker.cpp 69 : public Checker<check::PreStmt<BinaryOperator>,
70 check::PostStmt<BinaryOperator>,
73 void checkPreStmt(const BinaryOperator *B, CheckerContext &C) const;
74 void checkPostStmt(const BinaryOperator *B, CheckerContext &C) const;
104 // BinaryOperator
106 typedef llvm::DenseMap<const BinaryOperator *, BinaryOperatorData>
113 void IdempotentOperationChecker::checkPreStmt(const BinaryOperator *B,
115 // Find or create an entry in the hash for this BinaryOperator instance.
156 BinaryOperator::Opcode Op = B->getOpcode();
327 // BinaryOperator that was just created. We use this hook to collect th
    [all...]
DeadStoresChecker.cpp 107 const BinaryOperator *BO =
108 dyn_cast<BinaryOperator>(Ex->IgnoreParenCasts());
229 bool isIncrement(VarDecl *VD, const BinaryOperator* B) {
234 const BinaryOperator* BRHS = dyn_cast<BinaryOperator>(RHS);
263 if (const BinaryOperator* B = dyn_cast<BinaryOperator>(S)) {
CStringSyntaxChecker.cpp 110 if (const BinaryOperator *BE =
111 dyn_cast<BinaryOperator>(LenArg->IgnoreParenCasts())) {
  /external/llvm/lib/VMCore/
Instructions.cpp 393 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize,
396 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize,
    [all...]
  /frameworks/compile/slang/
slang_rs_object_ref_count.h 62 void ReplaceRSObjectAssignment(clang::BinaryOperator *AS);
142 void VisitBinAssign(clang::BinaryOperator *AS);
  /external/clang/lib/ARCMigrate/
TransARCAssign.cpp 42 bool VisitBinaryOperator(BinaryOperator *Exp) {
TransRetainReleaseDealloc.cpp 212 if (BinaryOperator *Bop = dyn_cast<BinaryOperator>(nextStmt)) {
361 if (BinaryOperator *
362 bopE = dyn_cast_or_null<BinaryOperator>(parent)) {
  /external/llvm/examples/ParallelJIT/
ParallelJIT.cpp 56 Instruction *Add = BinaryOperator::CreateAdd(One, ArgX, "addresult", BB);
98 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB);
102 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB);
107 BinaryOperator::CreateAdd(CallFibX1, CallFibX2, "addresult", RecurseBB);
  /external/llvm/lib/ExecutionEngine/Interpreter/
Interpreter.h 146 void visitBinaryOperator(BinaryOperator &I);
176 void visitShl(BinaryOperator &I);
177 void visitLShr(BinaryOperator &I);
178 void visitAShr(BinaryOperator &I);
  /external/llvm/lib/Transforms/Utils/
SimplifyIndVar.cpp 76 void eliminateIVRemainder(BinaryOperator *Rem, Value *IVOperand,
106 if (!isa<BinaryOperator>(IVOperand)
185 void SimplifyIndvar::eliminateIVRemainder(BinaryOperator *Rem,
243 if (BinaryOperator *Rem = dyn_cast<BinaryOperator>(UseInst)) {
  /external/clang/lib/CodeGen/
CGExprComplex.cpp 215 BinOpInfo EmitBinOps(const BinaryOperator *E);
229 ComplexPairTy VisitBinAdd(const BinaryOperator *E) {
232 ComplexPairTy VisitBinSub(const BinaryOperator *E) {
235 ComplexPairTy VisitBinMul(const BinaryOperator *E) {
238 ComplexPairTy VisitBinDiv(const BinaryOperator *E) {
261 LValue EmitBinAssignLValue(const BinaryOperator *E,
263 ComplexPairTy VisitBinAssign (const BinaryOperator *E);
264 ComplexPairTy VisitBinComma (const BinaryOperator *E);
584 ComplexExprEmitter::EmitBinOps(const BinaryOperator *E) {
654 LValue ComplexExprEmitter::EmitBinAssignLValue(const BinaryOperator *E
    [all...]
  /external/clang/lib/AST/
ParentMap.cpp 116 BinaryOperator *BE = cast<BinaryOperator>(P);
  /external/clang/lib/Analysis/
PseudoConstantAnalysis.cpp 94 const BinaryOperator *BO = cast<BinaryOperator>(Head);
ReachableCode.cpp 91 if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(S))
191 const BinaryOperator *BO = cast<BinaryOperator>(S);
  /external/llvm/include/llvm/
Operator.h 25 class BinaryOperator;
82 friend class BinaryOperator;
136 friend class BinaryOperator;
IRBuilder.h 520 BinaryOperator *CreateInsertNUWNSWBinOp(BinaryOperator::BinaryOps Opc,
524 BinaryOperator *BO = Insert(BinaryOperator::Create(Opc, LHS, RHS), Name);
557 return Insert(AddFPMathTag(BinaryOperator::CreateFAdd(LHS, RHS),
579 return Insert(AddFPMathTag(BinaryOperator::CreateFSub(LHS, RHS),
601 return Insert(AddFPMathTag(BinaryOperator::CreateFMul(LHS, RHS),
610 return Insert(BinaryOperator::CreateUDiv(LHS, RHS), Name);
611 return Insert(BinaryOperator::CreateExactUDiv(LHS, RHS), Name);
622 return Insert(BinaryOperator::CreateSDiv(LHS, RHS), Name)
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineCasts.cpp 34 if (BinaryOperator *I = dyn_cast<BinaryOperator>(Val)) {
182 Res = BinaryOperator::Create((Instruction::BinaryOps)Opc, LHS, RHS);
492 return BinaryOperator::CreateAnd(NewTrunc,
784 return BinaryOperator::CreateAnd(Res, C);
    [all...]
InstCombineSimplifyDemanded.cpp 310 BinaryOperator::CreateOr(I->getOperand(0), I->getOperand(1),
324 Instruction *And = BinaryOperator::CreateAnd(I->getOperand(0), AndC);
349 Instruction *NewAnd = BinaryOperator::CreateAnd(I->getOperand(0), AndC);
354 Instruction *NewXor = BinaryOperator::CreateXor(NewAnd, XorC);
509 BinaryOperator::CreateOr(I->getOperand(0), I->getOperand(1),
576 Instruction *Xor = BinaryOperator::CreateXor(I->getOperand(1), C0);
637 Instruction *NewVal = BinaryOperator::CreateLShr(
681 BinaryOperator *NewVal = BinaryOperator::CreateLShr(I->getOperand(0),
683 NewVal->setIsExact(cast<BinaryOperator>(I)->isExact())
    [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
ExprEngine.h 303 void VisitBinaryOperator(const BinaryOperator* B, ExplodedNode *Pred,
335 void VisitLogicalExpr(const BinaryOperator* B, ExplodedNode *Pred,
422 SVal evalBinOp(ProgramStateRef state, BinaryOperator::Opcode op,
427 SVal evalBinOp(ProgramStateRef state, BinaryOperator::Opcode op,
432 SVal evalBinOp(ProgramStateRef ST, BinaryOperator::Opcode Op,

Completed in 821 milliseconds

12 3 4 5 6 7