HomeSort by relevance Sort by last modified time
    Searched defs:BO (Results 1 - 25 of 35) sorted by null

1 2

  /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 ? nullptr : LocB.TBAATag)) == NoAlias)
LazyValueInfo.cpp 546 BinaryOperator *BO = dyn_cast<BinaryOperator>(BBI);
547 if (BO && !isa<ConstantInt>(BO->getOperand(1))) {
    [all...]
ScalarEvolutionExpander.cpp 193 Instruction *BO = cast<Instruction>(Builder.CreateBinOp(Opcode, LHS, RHS));
194 BO->setDebugLoc(Loc);
195 rememberInstruction(BO);
197 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 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 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...]
  /external/llvm/lib/Transforms/Scalar/
SeparateConstOffsetFromGEP.cpp 153 APInt findInEitherOperand(BinaryOperator *BO, bool SignExtended,
201 /// of binary operator BO for a constant offset.
203 /// \p SignExtended Whether BO is surrounded by sext
204 /// \p ZeroExtended Whether BO is surrounded by zext
205 /// \p NonNegative Whether BO is known to be non-negative, e.g., an in-bound
207 bool CanTraceInto(bool SignExtended, bool ZeroExtended, BinaryOperator *BO,
315 BinaryOperator *BO,
320 if (BO->getOpcode() != Instruction::Add &&
321 BO->getOpcode() != Instruction::Sub &&
322 BO->getOpcode() != Instruction::Or)
    [all...]
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...]
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;
421 bool Scalarizer::visitBinaryOperator(BinaryOperator &BO) {
422 return splitBinary(BO, BinarySplitter(BO));
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineSelect.cpp 211 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(TI)) {
213 return BinaryOperator::Create(BO->getOpcode(), MatchOp, NewSI);
215 return BinaryOperator::Create(BO->getOpcode(), NewSI, MatchOp);
259 BinaryOperator *BO = BinaryOperator::Create(TVI_BO->getOpcode(),
261 if (isa<PossiblyExactOperator>(BO))
262 BO->setIsExact(TVI_BO->isExact());
263 if (isa<OverflowingBinaryOperator>(BO)) {
264 BO->setHasNoUnsignedWrap(TVI_BO->hasNoUnsignedWrap());
265 BO->setHasNoSignedWrap(TVI_BO->hasNoSignedWrap());
267 return BO;
    [all...]
InstCombineShifts.cpp 214 BinaryOperator *BO = cast<BinaryOperator>(I);
215 unsigned TypeWidth = BO->getType()->getScalarSizeInBits();
218 ConstantInt *CI = cast<ConstantInt>(BO->getOperand(1));
227 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt));
228 BO->setHasNoUnsignedWrap(false);
229 BO->setHasNoSignedWrap(false);
237 V = IC.Builder->CreateAnd(BO->getOperand(0),
238 ConstantInt::get(BO->getContext(), Mask));
240 VI->moveBefore(BO);
    [all...]
InstCombineVectorOps.cpp 48 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(I))
49 if (BO->hasOneUse() &&
50 (CheapToScalarize(BO->getOperand(0), isConstant) ||
51 CheapToScalarize(BO->getOperand(1), isConstant)))
236 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(I)) {
238 CheapToScalarize(BO, isa<ConstantInt>(EI.getOperand(1)))) {
240 Builder->CreateExtractElement(BO->getOperand(0), EI.getOperand(1),
243 Builder->CreateExtractElement(BO->getOperand(1), EI.getOperand(1),
245 return BinaryOperator::Create(BO->getOpcode(), newEI0, newEI1);
690 BinaryOperator *BO = cast<BinaryOperator>(I)
    [all...]
InstCombineMulDivRem.cpp 223 BinaryOperator *BO = dyn_cast<BinaryOperator>(Op0);
224 if (!BO ||
225 (BO->getOpcode() != Instruction::UDiv &&
226 BO->getOpcode() != Instruction::SDiv)) {
228 BO = dyn_cast<BinaryOperator>(Op1);
231 if (BO && BO->hasOneUse() &&
232 (BO->getOperand(1) == Op1C || BO->getOperand(1) == Neg) &&
233 (BO->getOpcode() == Instruction::UDiv |
    [all...]
  /external/clang/lib/CodeGen/
CodeGenPGO.cpp 344 const BinaryOperator *BO = cast<BinaryOperator>(S);
345 if (BO->getOpcode() == BO_LAnd)
347 if (BO->getOpcode() == BO_LOr)
    [all...]
CGExprCXX.cpp 236 const BinaryOperator *BO =
238 const Expr *BaseExpr = BO->getLHS();
239 const Expr *MemFnExpr = BO->getRHS();
255 if (BO->getOpcode() == BO_PtrMemI)
265 CGM.getCXXABI().EmitLoadOfMemberFunctionPointer(*this, BO, This, MemFnPtr, MPT);
    [all...]
  /external/llvm/lib/Transforms/Utils/
IntegerDivision.cpp 402 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint());
403 if (!BO || BO->getOpcode() != Instruction::URem)
406 Rem = BO;
460 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint());
461 if (!BO || BO->getOpcode() != Instruction::UDiv)
464 Div = BO;
  /external/clang/lib/Sema/
AnalysisBasedWarnings.cpp 748 const BinaryOperator *BO = cast<BinaryOperator>(Term);
749 if (!BO->isLogicalOp())
752 Str = BO->getOpcodeStr();
753 Range = BO->getLHS()->getSourceRange();
755 if ((BO->getOpcode() == BO_LAnd && I->Output) ||
756 (BO->getOpcode() == BO_LOr && !I->Output))
758 Fixit1 = FixItHint::CreateRemoval(SourceRange(BO->getLocStart(),
759 BO->getOperatorLoc()));
762 Fixit1 = FixItHint::CreateReplacement(BO->getSourceRange(), FixitStr);
    [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/StaticAnalyzer/Core/
ExprEngine.cpp     [all...]
  /external/deqp/framework/common/
tcuCompressedTexture.cpp 704 const deUint8 BO = extend6To8((BO1 << 5) | (BO2 << 3) | BO3);
720 const int unclampedB = (x * ((int)BH-(int)BO) + y * ((int)BV-(int)BO) + 4*(int)BO + 2) >> 2;
    [all...]

Completed in 395 milliseconds

1 2