/external/llvm/lib/Analysis/ |
ScalarEvolutionAliasAnalysis.cpp | 79 Value *BO = GetBaseValue(BS); 80 if ((AO && AO != LocA.Ptr) || (BO && BO != LocB.Ptr)) 84 MemoryLocation(BO ? BO : LocB.Ptr, 85 BO ? +MemoryLocation::UnknownSize : LocB.Size, 86 BO ? AAMDNodes() : LocB.AATags)) == NoAlias)
|
LazyValueInfo.cpp | 616 BinaryOperator *BO = dyn_cast<BinaryOperator>(BBI); 617 if (BO && !isa<ConstantInt>(BO->getOperand(1))) { [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 | 409 if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(S)) 410 return BO->getOpcode() != BO_Comma; 514 const BinaryOperator *BO = cast<BinaryOperator>(S); 515 return BO->getOperatorLoc();
|
/external/clang/lib/ARCMigrate/ |
TransZeroOutPropsInDealloc.cpp | 154 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(E)) 155 return isZeroingPropIvar(BO); 194 BinaryOperator *BO = dyn_cast<BinaryOperator>(PO->getSyntacticForm()); 195 if (!BO) return false; 196 if (BO->getOpcode() != BO_Assign) return false; 199 dyn_cast<ObjCPropertyRefExpr>(BO->getLHS()->IgnoreParens()); 211 return isZero(cast<OpaqueValueExpr>(BO->getRHS())->getSourceExpr());
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
DeadStoresChecker.cpp | 105 const BinaryOperator *BO = 107 if (!BO) 109 if (BO->getOpcode() == BO_Assign) { 110 Ex = BO->getRHS(); 113 if (BO->getOpcode() == BO_Comma) { 114 Ex = BO->getRHS();
|
/external/llvm/include/llvm/IR/ |
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...] |
InstrTypes.h | 391 BinaryOperator *BO = Create(Opc, V1, V2, Name); 392 BO->setHasNoSignedWrap(true); 393 return BO; 397 BinaryOperator *BO = Create(Opc, V1, V2, Name, BB); 398 BO->setHasNoSignedWrap(true); 399 return BO; 403 BinaryOperator *BO = Create(Opc, V1, V2, Name, I); 404 BO->setHasNoSignedWrap(true); 405 return BO; 410 BinaryOperator *BO = Create(Opc, V1, V2, Name) [all...] |
IRBuilder.h | 745 BinaryOperator *BO = Insert(BinaryOperator::Create(Opc, LHS, RHS), Name); 746 if (HasNUW) BO->setHasNoUnsignedWrap(); 747 if (HasNSW) BO->setHasNoSignedWrap(); 748 return BO; [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineShifts.cpp | 219 BinaryOperator *BO = cast<BinaryOperator>(I); 220 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); 223 ConstantInt *CI = cast<ConstantInt>(BO->getOperand(1)); 232 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); 233 BO->setHasNoUnsignedWrap(false); 234 BO->setHasNoSignedWrap(false); 242 V = IC.Builder->CreateAnd(BO->getOperand(0), 243 ConstantInt::get(BO->getContext(), Mask)); 245 VI->moveBefore(BO); [all...] |
InstCombineSelect.cpp | 184 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(TI)) { 186 return BinaryOperator::Create(BO->getOpcode(), MatchOp, NewSI); 188 return BinaryOperator::Create(BO->getOpcode(), NewSI, MatchOp); 232 BinaryOperator *BO = BinaryOperator::Create(TVI_BO->getOpcode(), 234 if (isa<PossiblyExactOperator>(BO)) 235 BO->setIsExact(TVI_BO->isExact()); 236 if (isa<OverflowingBinaryOperator>(BO)) { 237 BO->setHasNoUnsignedWrap(TVI_BO->hasNoUnsignedWrap()); 238 BO->setHasNoSignedWrap(TVI_BO->hasNoSignedWrap()); 240 return BO; [all...] |
InstCombineMulDivRem.cpp | 190 BinaryOperator *BO = BinaryOperator::CreateNeg(Op0, I.getName()); 192 BO->setHasNoSignedWrap(); 193 return BO; 207 BinaryOperator *BO = BinaryOperator::CreateMul(NewOp, Shl); 209 BO->setHasNoUnsignedWrap(); 212 BO->setHasNoSignedWrap(); 213 return BO; 295 BinaryOperator *BO = BinaryOperator::CreateMul(Op0v, Op1v); 299 BO->setHasNoSignedWrap(); 300 return BO; [all...] |
InstCombineVectorOps.cpp | 51 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(I)) 52 if (BO->hasOneUse() && 53 (cheapToScalarize(BO->getOperand(0), isConstant) || 54 cheapToScalarize(BO->getOperand(1), isConstant))) 187 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(I)) { 189 cheapToScalarize(BO, isa<ConstantInt>(EI.getOperand(1)))) { 191 Builder->CreateExtractElement(BO->getOperand(0), EI.getOperand(1), 194 Builder->CreateExtractElement(BO->getOperand(1), EI.getOperand(1), 196 return BinaryOperator::Create(BO->getOpcode(), newEI0, newEI1); 642 BinaryOperator *BO = cast<BinaryOperator>(I) [all...] |
/external/clang/lib/CodeGen/ |
CodeGenPGO.cpp | 185 const BinaryOperator *BO = cast<BinaryOperator>(S); 186 if (BO->getOpcode() == BO_LAnd) 188 if (BO->getOpcode() == BO_LOr)
|
CGExprCXX.cpp | 286 const BinaryOperator *BO = 288 const Expr *BaseExpr = BO->getLHS(); 289 const Expr *MemFnExpr = BO->getRHS(); 304 if (BO->getOpcode() == BO_PtrMemI) 315 CGM.getCXXABI().EmitLoadOfMemberFunctionPointer(*this, BO, This, [all...] |
/external/llvm/lib/Transforms/Scalar/ |
Scalarizer.cpp | 92 // BinarySpliiter(BO)(Builder, X, Y, Name) uses Builder to create 93 // a binary operator like BO called Name with operands X and Y. 95 BinarySplitter(BinaryOperator &bo) : BO(bo) {} 98 return Builder.CreateBinOp(BO.getOpcode(), Op0, Op1, Name); 100 BinaryOperator &BO; 432 bool Scalarizer::visitBinaryOperator(BinaryOperator &BO) { 433 return splitBinary(BO, BinarySplitter(BO)); [all...] |
SeparateConstOffsetFromGEP.cpp | 248 APInt findInEitherOperand(BinaryOperator *BO, bool SignExtended, 290 /// of binary operator BO for a constant offset. 292 /// \p SignExtended Whether BO is surrounded by sext 293 /// \p ZeroExtended Whether BO is surrounded by zext 294 /// \p NonNegative Whether BO is known to be non-negative, e.g., an in-bound 296 bool CanTraceInto(bool SignExtended, bool ZeroExtended, BinaryOperator *BO, 447 BinaryOperator *BO, 452 if (BO->getOpcode() != Instruction::Add && 453 BO->getOpcode() != Instruction::Sub && 454 BO->getOpcode() != Instruction::Or) [all...] |
LoopRerollPass.cpp | 653 BinaryOperator *BO = dyn_cast<BinaryOperator>(U); 654 if (!BO || BO->getOpcode() != Instruction::Add) 657 for (auto *UU : BO->users()) { 678 if (auto *BO = dyn_cast<BinaryOperator>(I)) { 679 if (BO->getOpcode() == Instruction::Add || 680 BO->getOpcode() == Instruction::Or) 681 CI = dyn_cast<ConstantInt>(BO->getOperand(1)); [all...] |
Reassociate.cpp | 590 if (BinaryOperator *BO = isReassociableOp(Op, Opcode)) { 593 Worklist.push_back(std::make_pair(BO, Weight)); 629 if (BinaryOperator *BO = isReassociableOp(Op, Opcode)) { 631 Worklist.push_back(std::make_pair(BO, It->second)); 660 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(Op)) 661 if ((Opcode == Instruction::Mul && BinaryOperator::isNeg(BO)) || 662 (Opcode == Instruction::FMul && BinaryOperator::isFNeg(BO))) { 664 BO = LowerNegateToMultiply(BO); 665 DEBUG(dbgs() << *BO << '\n') [all...] |
/external/deqp/framework/common/ |
tcuCompressedTexture.cpp | 673 const deUint8 BO = extend6To8((deUint8)((BO1 << 5) | (BO2 << 3) | BO3)); 689 const int unclampedB = (x * ((int)BH-(int)BO) + y * ((int)BV-(int)BO) + 4*(int)BO + 2) >> 2; [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonEarlyIfConv.cpp | 785 const MachineOperand &RO = PN->getOperand(i), &BO = PN->getOperand(i+1); 786 if (BO.getMBB() == FP.SplitB) 788 else if (BO.getMBB() == FP.TrueB) 790 else if (BO.getMBB() == FP.FalseB) [all...] |
/external/clang/lib/AST/ |
Expr.cpp | 87 } else if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(E)) { 88 if (BO->isPtrMemOp()) { 89 assert(BO->getRHS()->isRValue()); 90 E = BO->getLHS(); 92 BO->getRHS()->getType()->getAs<MemberPointerType>(); 93 Adjustments.push_back(SubobjectAdjustment(MPT, BO->getRHS())); 95 } else if (BO->getOpcode() == BO_Comma) { 96 CommaLHSs.push_back(BO->getLHS()); 97 E = BO->getRHS(); 136 if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(E)) [all...] |
ItaniumMangle.cpp | [all...] |
/external/clang/lib/Sema/ |
AnalysisBasedWarnings.cpp | 755 const BinaryOperator *BO = cast<BinaryOperator>(Term); 756 if (!BO->isLogicalOp()) 759 Str = BO->getOpcodeStr(); 760 Range = BO->getLHS()->getSourceRange(); 762 if ((BO->getOpcode() == BO_LAnd && I->Output) || 763 (BO->getOpcode() == BO_LOr && !I->Output)) 765 Fixit1 = FixItHint::CreateRemoval(SourceRange(BO->getLocStart(), 766 BO->getOperatorLoc())); 769 Fixit1 = FixItHint::CreateReplacement(BO->getSourceRange(), FixitStr); [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
ExprEngine.cpp | [all...] |