HomeSort by relevance Sort by last modified time
    Searched defs:BO (Results 1 - 25 of 28) 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 ? 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 107 const BinaryOperator *BO =
109 if (!BO)
111 if (BO->getOpcode() == BO_Assign) {
112 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 186 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(TI)) {
188 return BinaryOperator::Create(BO->getOpcode(), MatchOp, NewSI);
190 return BinaryOperator::Create(BO->getOpcode(), NewSI, MatchOp);
234 BinaryOperator *BO = BinaryOperator::Create(TVI_BO->getOpcode(),
236 if (isa<PossiblyExactOperator>(BO))
237 BO->setIsExact(TVI_BO->isExact());
238 if (isa<OverflowingBinaryOperator>(BO)) {
239 BO->setHasNoUnsignedWrap(TVI_BO->hasNoUnsignedWrap());
240 BO->setHasNoSignedWrap(TVI_BO->hasNoSignedWrap());
242 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...]
InstCombineMulDivRem.cpp 183 BinaryOperator *BO = dyn_cast<BinaryOperator>(Op0);
184 if (!BO ||
185 (BO->getOpcode() != Instruction::UDiv &&
186 BO->getOpcode() != Instruction::SDiv)) {
188 BO = dyn_cast<BinaryOperator>(Op1);
191 if (BO && BO->hasOneUse() &&
192 (BO->getOperand(1) == Op1C || BO->getOperand(1) == Neg) &&
193 (BO->getOpcode() == Instruction::UDiv |
    [all...]
InstCombineCompares.cpp     [all...]
  /external/llvm/include/llvm/
InstrTypes.h 198 BinaryOperator *BO = Create(Opc, V1, V2, Name);
199 BO->setHasNoSignedWrap(true);
200 return BO;
204 BinaryOperator *BO = Create(Opc, V1, V2, Name, BB);
205 BO->setHasNoSignedWrap(true);
206 return BO;
210 BinaryOperator *BO = Create(Opc, V1, V2, Name, I);
211 BO->setHasNoSignedWrap(true);
212 return BO;
217 BinaryOperator *BO = Create(Opc, V1, V2, Name)
    [all...]
IRBuilder.h 524 BinaryOperator *BO = Insert(BinaryOperator::Create(Opc, LHS, RHS), Name);
525 if (HasNUW) BO->setHasNoUnsignedWrap();
526 if (HasNSW) BO->setHasNoSignedWrap();
527 return BO;
769 BinaryOperator *BO = Insert(BinaryOperator::CreateNeg(V), Name);
770 if (HasNUW) BO->setHasNoUnsignedWrap();
771 if (HasNSW) BO->setHasNoSignedWrap();
772 return BO;
    [all...]
  /external/llvm/lib/Transforms/Scalar/
Reassociate.cpp 518 if (BinaryOperator *BO = isReassociableOp(Op, Opcode)) {
521 Worklist.push_back(std::make_pair(BO, Weight));
557 if (BinaryOperator *BO = isReassociableOp(Op, Opcode)) {
559 Worklist.push_back(std::make_pair(BO, It->second));
586 BinaryOperator *BO = dyn_cast<BinaryOperator>(Op);
587 if (Opcode == Instruction::Mul && BO && BinaryOperator::isNeg(BO)) {
589 BO = LowerNegateToMultiply(BO);
590 DEBUG(dbgs() << *BO << 'n')
    [all...]
  /external/clang/lib/Sema/
AnalysisBasedWarnings.cpp 546 const BinaryOperator *BO = cast<BinaryOperator>(Term);
547 if (!BO->isLogicalOp())
550 Str = BO->getOpcodeStr();
551 Range = BO->getLHS()->getSourceRange();
553 if ((BO->getOpcode() == BO_LAnd && I->Output) ||
554 (BO->getOpcode() == BO_LOr && !I->Output))
556 Fixit1 = FixItHint::CreateRemoval(SourceRange(BO->getLocStart(),
557 BO->getOperatorLoc()));
560 Fixit1 = FixItHint::CreateReplacement(BO->getSourceRange(), FixitStr);
    [all...]
SemaChecking.cpp     [all...]
  /external/clang/lib/AST/
Expr.cpp 77 if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(E)) {
78 switch (BO->getOpcode()) {
94 return BO->getLHS()->isKnownToHaveBooleanValue() &&
95 BO->getRHS()->isKnownToHaveBooleanValue();
99 return BO->getRHS()->isKnownToHaveBooleanValue();
    [all...]
ItaniumMangle.cpp     [all...]
  /external/clang/lib/CodeGen/
CGExprCXX.cpp 322 const BinaryOperator *BO =
324 const Expr *BaseExpr = BO->getLHS();
325 const Expr *MemFnExpr = BO->getRHS();
341 if (BO->getOpcode() == BO_PtrMemI)
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
ExprEngine.cpp     [all...]
  /external/llvm/lib/VMCore/
Instructions.cpp     [all...]
  /external/qemu/tcg/ppc/
tcg-target.c 403 #define BO(o) ((o)<<21)
416 #define BO_COND_TRUE BO (12)
417 #define BO_COND_FALSE BO (4)
418 #define BO_ALWAYS BO (20)
    [all...]
  /external/qemu/tcg/ppc64/
tcg-target.c 400 #define BO(o) ((o)<<21)
414 #define BO_COND_TRUE BO (12)
415 #define BO_COND_FALSE BO ( 4)
416 #define BO_ALWAYS BO (20)
    [all...]

Completed in 2327 milliseconds

1 2