/external/llvm/lib/Analysis/ |
ScalarEvolutionAliasAnalysis.cpp | 161 Value *BO = GetBaseValue(BS); 162 if ((AO && AO != LocA.Ptr) || (BO && BO != LocB.Ptr)) 166 Location(BO ? BO : LocB.Ptr, 167 BO ? +UnknownSize : LocB.Size, 168 BO ? 0 : LocB.TBAATag)) == NoAlias)
|
LazyValueInfo.cpp | 545 BinaryOperator *BO = dyn_cast<BinaryOperator>(BBI); 546 if (BO && !isa<ConstantInt>(BO->getOperand(1))) { [all...] |
ScalarEvolutionExpander.cpp | 193 Instruction *BO = cast<Instruction>(Builder.CreateBinOp(Opcode, LHS, RHS)); 194 BO->setDebugLoc(SaveInsertPt->getDebugLoc()); 195 rememberInstruction(BO); 201 return BO; [all...] |
ValueTracking.cpp | [all...] |
/external/clang/lib/Analysis/ |
PseudoConstantAnalysis.cpp | 94 const BinaryOperator *BO = cast<BinaryOperator>(Head); 96 const Decl *LHSDecl = getDecl(BO->getLHS()->IgnoreParenCasts()); 103 switch (BO->getOpcode()) { 107 const Decl *RHSDecl = getDecl(BO->getRHS()->IgnoreParenCasts());
|
ReachableCode.cpp | 91 if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(S)) 92 return BO->getOpcode() != BO_Comma; 191 const BinaryOperator *BO = cast<BinaryOperator>(S); 192 return BO->getOperatorLoc();
|
/external/clang/lib/ARCMigrate/ |
TransZeroOutPropsInDealloc.cpp | 156 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(E)) 157 return isZeroingPropIvar(BO); 196 BinaryOperator *BO = dyn_cast<BinaryOperator>(PO->getSyntacticForm()); 197 if (!BO) return false; 198 if (BO->getOpcode() != BO_Assign) return false; 201 dyn_cast<ObjCPropertyRefExpr>(BO->getLHS()->IgnoreParens()); 213 return isZero(cast<OpaqueValueExpr>(BO->getRHS())->getSourceExpr());
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
DeadStoresChecker.cpp | 106 const BinaryOperator *BO = 108 if (!BO) 110 if (BO->getOpcode() == BO_Assign) { 111 Ex = BO->getRHS(); 114 if (BO->getOpcode() == BO_Comma) { 115 Ex = BO->getRHS();
|
/external/llvm/include/llvm/Support/ |
NoFolder.h | 42 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS); 43 if (HasNUW) BO->setHasNoUnsignedWrap(); 44 if (HasNSW) BO->setHasNoSignedWrap(); 45 return BO; 58 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS); 59 if (HasNUW) BO->setHasNoUnsignedWrap(); 60 if (HasNSW) BO->setHasNoSignedWrap(); 61 return BO; 74 BinaryOperator *BO = BinaryOperator::CreateMul(LHS, RHS); 75 if (HasNUW) BO->setHasNoUnsignedWrap() [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSelect.cpp | 187 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(TI)) { 189 return BinaryOperator::Create(BO->getOpcode(), MatchOp, NewSI); 191 return BinaryOperator::Create(BO->getOpcode(), NewSI, MatchOp); 235 BinaryOperator *BO = BinaryOperator::Create(TVI_BO->getOpcode(), 237 if (isa<PossiblyExactOperator>(BO)) 238 BO->setIsExact(TVI_BO->isExact()); 239 if (isa<OverflowingBinaryOperator>(BO)) { 240 BO->setHasNoUnsignedWrap(TVI_BO->hasNoUnsignedWrap()); 241 BO->setHasNoSignedWrap(TVI_BO->hasNoSignedWrap()); 243 return BO; [all...] |
InstCombineShifts.cpp | 212 BinaryOperator *BO = cast<BinaryOperator>(I); 213 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); 216 ConstantInt *CI = cast<ConstantInt>(BO->getOperand(1)); 225 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); 226 BO->setHasNoUnsignedWrap(false); 227 BO->setHasNoSignedWrap(false); 235 V = IC.Builder->CreateAnd(BO->getOperand(0), 236 ConstantInt::get(BO->getContext(), Mask)); 238 VI->moveBefore(BO); [all...] |
InstCombineVectorOps.cpp | 44 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(I)) 45 if (BO->hasOneUse() && 46 (CheapToScalarize(BO->getOperand(0), isConstant) || 47 CheapToScalarize(BO->getOperand(1), isConstant))) 232 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(I)) { 234 CheapToScalarize(BO, isa<ConstantInt>(EI.getOperand(1)))) { 236 Builder->CreateExtractElement(BO->getOperand(0), EI.getOperand(1), 239 Builder->CreateExtractElement(BO->getOperand(1), EI.getOperand(1), 241 return BinaryOperator::Create(BO->getOpcode(), newEI0, newEI1); 597 BinaryOperator *BO = cast<BinaryOperator>(I) [all...] |
InstCombineMulDivRem.cpp | 214 BinaryOperator *BO = dyn_cast<BinaryOperator>(Op0); 215 if (!BO || 216 (BO->getOpcode() != Instruction::UDiv && 217 BO->getOpcode() != Instruction::SDiv)) { 219 BO = dyn_cast<BinaryOperator>(Op1); 222 if (BO && BO->hasOneUse() && 223 (BO->getOperand(1) == Op1C || BO->getOperand(1) == Neg) && 224 (BO->getOpcode() == Instruction::UDiv | [all...] |
InstCombineCompares.cpp | [all...] |
/external/llvm/include/llvm/IR/ |
InstrTypes.h | 196 BinaryOperator *BO = Create(Opc, V1, V2, Name); 197 BO->setHasNoSignedWrap(true); 198 return BO; 202 BinaryOperator *BO = Create(Opc, V1, V2, Name, BB); 203 BO->setHasNoSignedWrap(true); 204 return BO; 208 BinaryOperator *BO = Create(Opc, V1, V2, Name, I); 209 BO->setHasNoSignedWrap(true); 210 return BO; 215 BinaryOperator *BO = Create(Opc, V1, V2, Name) [all...] |
IRBuilder.h | 556 BinaryOperator *BO = Insert(BinaryOperator::Create(Opc, LHS, RHS), Name); 557 if (HasNUW) BO->setHasNoUnsignedWrap(); 558 if (HasNSW) BO->setHasNoSignedWrap(); 559 return BO; 804 BinaryOperator *BO = Insert(BinaryOperator::CreateNeg(V), Name); 805 if (HasNUW) BO->setHasNoUnsignedWrap(); 806 if (HasNSW) BO->setHasNoSignedWrap(); 807 return BO; [all...] |
/external/llvm/lib/Transforms/Scalar/ |
Reassociate.cpp | 554 if (BinaryOperator *BO = isReassociableOp(Op, Opcode)) { 557 Worklist.push_back(std::make_pair(BO, Weight)); 593 if (BinaryOperator *BO = isReassociableOp(Op, Opcode)) { 595 Worklist.push_back(std::make_pair(BO, It->second)); 622 BinaryOperator *BO = dyn_cast<BinaryOperator>(Op); 623 if (Opcode == Instruction::Mul && BO && BinaryOperator::isNeg(BO)) { 625 BO = LowerNegateToMultiply(BO); 626 DEBUG(dbgs() << *BO << 'n') [all...] |
/external/llvm/lib/Transforms/Utils/ |
IntegerDivision.cpp | 351 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint()); 352 if (!BO || BO->getOpcode() != Instruction::URem) 355 Rem = BO; 404 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint()); 405 if (!BO || BO->getOpcode() != Instruction::UDiv) 408 Div = BO;
|
/external/clang/lib/AST/ |
Expr.cpp | 86 } else if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(E)) { 87 if (BO->isPtrMemOp()) { 88 assert(BO->getRHS()->isRValue()); 89 E = BO->getLHS(); 91 BO->getRHS()->getType()->getAs<MemberPointerType>(); 92 Adjustments.push_back(SubobjectAdjustment(MPT, BO->getRHS())); 94 } else if (BO->getOpcode() == BO_Comma) { 95 CommaLHSs.push_back(BO->getLHS()); 96 E = BO->getRHS(); 164 if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(E)) [all...] |
ItaniumMangle.cpp | [all...] |
/external/clang/lib/CodeGen/ |
CGExprCXX.cpp | 323 const BinaryOperator *BO = 325 const Expr *BaseExpr = BO->getLHS(); 326 const Expr *MemFnExpr = BO->getRHS(); 342 if (BO->getOpcode() == BO_PtrMemI) [all...] |
/external/clang/lib/Sema/ |
AnalysisBasedWarnings.cpp | 549 const BinaryOperator *BO = cast<BinaryOperator>(Term); 550 if (!BO->isLogicalOp()) 553 Str = BO->getOpcodeStr(); 554 Range = BO->getLHS()->getSourceRange(); 556 if ((BO->getOpcode() == BO_LAnd && I->Output) || 557 (BO->getOpcode() == BO_LOr && !I->Output)) 559 Fixit1 = FixItHint::CreateRemoval(SourceRange(BO->getLocStart(), 560 BO->getOperatorLoc())); 563 Fixit1 = FixItHint::CreateReplacement(BO->getSourceRange(), FixitStr); [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
ExprEngine.cpp | [all...] |
/external/llvm/lib/IR/ |
Constants.cpp | [all...] |
Instructions.cpp | [all...] |