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

12 3 4 5 6 7 8

  /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,
184 BinaryOperator::Opcode op,
253 if (BinaryOperator::isComparisonOp(op)) {
279 BinaryOperator::Opcode op,
343 if (BinaryOperator::isComparisonOp(op)) {
351 } else if (!BinaryOperator::isShiftOp(op)) {
374 op = BinaryOperator::reverseComparisonOp(op)
    [all...]
SimpleConstraintManager.h 45 BinaryOperator::Opcode op,
  /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);
474 void Lint::visitXor(BinaryOperator &I)
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineAndOrXor.cpp 37 if (BinaryOperator::isNot(V))
54 if (BinaryOperator::isNot(V)) {
55 Value *Operand = BinaryOperator::getNotArgument(V);
134 BinaryOperator &TheAnd) {
146 return BinaryOperator::CreateXor(And, Together);
155 return BinaryOperator::CreateAnd(Or, AndRHS);
166 return BinaryOperator::CreateOr(And, OpRHS);
198 return BinaryOperator::CreateXor(NewAnd, AndRHS);
258 return BinaryOperator::CreateAnd(ShVal, AndRHS, TheAnd.getName());
    [all...]
InstCombineSimplifyDemanded.cpp 324 BinaryOperator::CreateOr(I->getOperand(0), I->getOperand(1),
338 Instruction *And = BinaryOperator::CreateAnd(I->getOperand(0), AndC);
363 Instruction *NewAnd = BinaryOperator::CreateAnd(I->getOperand(0), AndC);
368 Instruction *NewXor = BinaryOperator::CreateXor(NewAnd, XorC);
523 BinaryOperator::CreateOr(I->getOperand(0), I->getOperand(1),
590 Instruction *Xor = BinaryOperator::CreateXor(I->getOperand(1), C0);
662 Instruction *NewVal = BinaryOperator::CreateLShr(
706 BinaryOperator *NewVal = BinaryOperator::CreateLShr(I->getOperand(0),
708 NewVal->setIsExact(cast<BinaryOperator>(I)->isExact())
    [all...]
InstCombineVectorOps.cpp 44 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(I))
128 !(isa<BinaryOperator>(PHIUser)) || !CheapToScalarize(PHIUser, true))
145 BinaryOperator *B0 = cast<BinaryOperator>(PHIUser);
152 BinaryOperator::Create(B0->getOpcode(), scalarPHI, Op), *B0);
232 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(I)) {
241 return BinaryOperator::Create(BO->getOpcode(), newEI0, newEI1);
597 BinaryOperator *BO = cast<BinaryOperator>(I)
    [all...]
InstCombineCasts.cpp 34 if (BinaryOperator *I = dyn_cast<BinaryOperator>(Val)) {
188 Res = BinaryOperator::Create((Instruction::BinaryOps)Opc, LHS, RHS);
501 return BinaryOperator::CreateAnd(NewTrunc,
803 return BinaryOperator::CreateAnd(Res, C);
    [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
SymbolManager.h 349 BinaryOperator::Opcode Op;
353 BinarySymExpr(Kind k, BinaryOperator::Opcode op, QualType t)
361 BinaryOperator::Opcode getOpcode() const { return Op; }
376 SymIntExpr(const SymExpr *lhs, BinaryOperator::Opcode op,
386 BinaryOperator::Opcode op, const llvm::APSInt& rhs,
411 IntSymExpr(const llvm::APSInt& lhs, BinaryOperator::Opcode op,
421 BinaryOperator::Opcode op, const SymExpr *rhs,
446 SymSymExpr(const SymExpr *lhs, BinaryOperator::Opcode op, const SymExpr *rhs,
456 BinaryOperator::Opcode op, const SymExpr *rhs, QualType t) {
529 const SymIntExpr *getSymIntExpr(const SymExpr *lhs, BinaryOperator::Opcode op
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
IdempotentOperationChecker.cpp 70 : public Checker<check::PreStmt<BinaryOperator>,
71 check::PostStmt<BinaryOperator>,
74 void checkPreStmt(const BinaryOperator *B, CheckerContext &C) const;
75 void checkPostStmt(const BinaryOperator *B, CheckerContext &C) const;
105 // BinaryOperator
107 typedef llvm::DenseMap<const BinaryOperator *, BinaryOperatorData>
114 void IdempotentOperationChecker::checkPreStmt(const BinaryOperator *B,
116 // Find or create an entry in the hash for this BinaryOperator instance.
157 BinaryOperator::Opcode Op = B->getOpcode();
328 // BinaryOperator that was just created. We use this hook to collect th
    [all...]
DeadStoresChecker.cpp 106 const BinaryOperator *BO =
107 dyn_cast<BinaryOperator>(Ex->IgnoreParenCasts());
232 bool isIncrement(VarDecl *VD, const BinaryOperator* B) {
237 const BinaryOperator* BRHS = dyn_cast<BinaryOperator>(RHS);
266 if (const BinaryOperator* B = dyn_cast<BinaryOperator>(S)) {
CStringSyntaxChecker.cpp 111 if (const BinaryOperator *BE =
112 dyn_cast<BinaryOperator>(LenArg->IgnoreParenCasts())) {
  /external/llvm/lib/Transforms/Utils/
IntegerDivision.cpp 334 bool llvm::expandRemainder(BinaryOperator *Rem) {
351 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint());
367 if (BinaryOperator *UDiv = dyn_cast<BinaryOperator>(Builder.GetInsertPoint())) {
384 bool llvm::expandDivision(BinaryOperator *Div) {
404 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint());
429 bool llvm::expandRemainderUpTo32Bits(BinaryOperator *Rem) {
471 return expandRemainder(cast<BinaryOperator>(ExtRem))
    [all...]
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/llvm/lib/IR/
Instructions.cpp 405 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize,
408 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/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
AMDILPeepholeOptimizer.cpp 602 LHSSrc = BinaryOperator::Create(Instruction::LShr, LHSSrc, offset,
605 LHSSrc = BinaryOperator::Create(Instruction::LShr, LHSSrc, offset,
624 LHSSrc = BinaryOperator::Create(Instruction::LShr, LHSSrc, offset,
627 LHSSrc = BinaryOperator::Create(Instruction::LShr, LHSSrc, offset,
732 BinaryOperator *ShiftInst = dyn_cast<BinaryOperator>(inst->getOperand(0));
867 BinaryOperator *lhs =
868 BinaryOperator::Create(Instruction::And, CI->getOperand(0),
870 BinaryOperator *rhs =
871 BinaryOperator::Create(Instruction::Xor, CI->getOperand(0), negOneConst
    [all...]
  /external/mesa3d/src/gallium/drivers/radeon/
AMDILPeepholeOptimizer.cpp 602 LHSSrc = BinaryOperator::Create(Instruction::LShr, LHSSrc, offset,
605 LHSSrc = BinaryOperator::Create(Instruction::LShr, LHSSrc, offset,
624 LHSSrc = BinaryOperator::Create(Instruction::LShr, LHSSrc, offset,
627 LHSSrc = BinaryOperator::Create(Instruction::LShr, LHSSrc, offset,
732 BinaryOperator *ShiftInst = dyn_cast<BinaryOperator>(inst->getOperand(0));
867 BinaryOperator *lhs =
868 BinaryOperator::Create(Instruction::And, CI->getOperand(0),
870 BinaryOperator *rhs =
871 BinaryOperator::Create(Instruction::Xor, CI->getOperand(0), negOneConst
    [all...]
  /external/clang/lib/ARCMigrate/
TransARCAssign.cpp 42 bool VisitBinaryOperator(BinaryOperator *Exp) {
  /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/unittests/Transforms/Utils/
IntegerDivision.cpp 45 expandDivision(cast<BinaryOperator>(Div));
75 expandDivision(cast<BinaryOperator>(Div));
105 expandRemainder(cast<BinaryOperator>(Rem));
135 expandRemainder(cast<BinaryOperator>(Rem));
  /external/llvm/lib/Transforms/Scalar/
EarlyCSE.cpp 65 return isa<CastInst>(Inst) || isa<BinaryOperator>(Inst) ||
95 if (BinaryOperator* BinOp = dyn_cast<BinaryOperator>(Inst)) {
135 assert((isa<CallInst>(Inst) || isa<BinaryOperator>(Inst) ||
156 if (BinaryOperator *LHSBinOp = dyn_cast<BinaryOperator>(LHSI)) {
160 assert(isa<BinaryOperator>(RHSI)
162 BinaryOperator *RHSBinOp = cast<BinaryOperator>(RHSI);
  /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);

Completed in 702 milliseconds

12 3 4 5 6 7 8