/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
H A D | ObjectCodeEmitter.h | 33 BinaryObject *BO; member in class:llvm::ObjectCodeEmitter
|
/external/clang/lib/Analysis/ |
H A D | PseudoConstantAnalysis.cpp | 92 const BinaryOperator *BO = cast<BinaryOperator>(Head); local 94 const Decl *LHSDecl = getDecl(BO->getLHS()->IgnoreParenCasts()); 101 switch (BO->getOpcode()) { 105 const Decl *RHSDecl = getDecl(BO->getRHS()->IgnoreParenCasts());
|
H A D | ReachableCode.cpp | 409 if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(S)) 410 return BO->getOpcode() != BO_Comma; 514 const BinaryOperator *BO = cast<BinaryOperator>(S); local 515 return BO->getOperatorLoc();
|
H A D | ThreadSafetyCommon.cpp | 455 const BinaryOperator *BO, 457 til::SExpr *E0 = translate(BO->getLHS(), Ctx); 458 til::SExpr *E1 = translate(BO->getRHS(), Ctx); 466 const BinaryOperator *BO, 469 const Expr *LHS = BO->getLHS(); 470 const Expr *RHS = BO->getRHS(); 491 til::SExpr *SExprBuilder::translateBinaryOperator(const BinaryOperator *BO, argument 493 switch (BO->getOpcode()) { 496 return new (Arena) til::Undefined(BO); 498 case BO_Mul: return translateBinOp(til::BOP_Mul, BO, Ct 454 translateBinOp(til::TIL_BinaryOpcode Op, const BinaryOperator *BO, CallingContext *Ctx, bool Reverse) argument 465 translateBinAssign(til::TIL_BinaryOpcode Op, const BinaryOperator *BO, CallingContext *Ctx, bool Assign) argument [all...] |
H A D | UninitializedValues.cpp | 329 void VisitBinaryOperator(BinaryOperator *BO); 389 if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(E)) { 390 switch (BO->getOpcode()) { 393 classify(BO->getLHS(), C); 396 classify(BO->getRHS(), C); 417 void ClassifyRefs::VisitBinaryOperator(BinaryOperator *BO) { argument 423 if (BO->isCompoundAssignmentOp()) 424 classify(BO->getLHS(), Use); 425 else if (BO->getOpcode() == BO_Assign || BO 745 VisitBinaryOperator(BinaryOperator *BO) argument [all...] |
/external/llvm/lib/Analysis/ |
H A D | ScalarEvolutionAliasAnalysis.cpp | 78 Value *BO = GetBaseValue(BS); local 79 if ((AO && AO != LocA.Ptr) || (BO && BO != LocB.Ptr)) 83 MemoryLocation(BO ? BO : LocB.Ptr, 84 BO ? +MemoryLocation::UnknownSize : LocB.Size, 85 BO ? AAMDNodes() : LocB.AATags)) == NoAlias)
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
H A D | ScalarEvolutionAliasAnalysis.cpp | 161 Value *BO = GetBaseValue(BS); local 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)
|
/external/clang/lib/ARCMigrate/ |
H A D | TransZeroOutPropsInDealloc.cpp | 154 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(E)) 155 return isZeroingPropIvar(BO); 194 BinaryOperator *BO = dyn_cast<BinaryOperator>(PO->getSyntacticForm()); local 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/ |
H A D | DirectIvarAssignment.cpp | 77 void VisitBinaryOperator(const BinaryOperator *BO); 165 const BinaryOperator *BO) { 166 if (!BO->isAssignmentOp()) 170 dyn_cast<ObjCIvarRefExpr>(BO->getLHS()->IgnoreParenCasts()); 164 VisitBinaryOperator( const BinaryOperator *BO) argument
|
H A D | DeadStoresChecker.cpp | 105 const BinaryOperator *BO = local 107 if (!BO) 109 if (BO->getOpcode() == BO_Assign) { 110 Ex = BO->getRHS(); 113 if (BO->getOpcode() == BO_Comma) { 114 Ex = BO->getRHS();
|
H A D | IvarInvalidationChecker.cpp | 162 void VisitBinaryOperator(const BinaryOperator *BO); 669 const BinaryOperator *BO) { 670 VisitStmt(BO); 674 BinaryOperatorKind Opcode = BO->getOpcode(); 680 if (isZero(BO->getRHS())) { 681 check(BO->getLHS()); 685 if (Opcode != BO_Assign && isZero(BO->getLHS())) { 686 check(BO->getRHS()); 668 VisitBinaryOperator( const BinaryOperator *BO) argument
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | CorrelatedValuePropagation.cpp | 357 auto *BO = BinaryOperator::CreateURem(SDI->getOperand(0), SDI->getOperand(1), local 359 SDI->replaceAllUsesWith(BO); 375 auto *BO = BinaryOperator::CreateUDiv(SDI->getOperand(0), SDI->getOperand(1), local 377 BO->setIsExact(SDI->isExact()); 378 SDI->replaceAllUsesWith(BO);
|
H A D | 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 445 CanTraceInto(bool SignExtended, bool ZeroExtended, BinaryOperator *BO, bool NonNegative) argument 508 findInEitherOperand(BinaryOperator *BO, bool SignExtended, bool ZeroExtended) argument 621 BinaryOperator *BO = cast<BinaryOperator>(U); local 644 BinaryOperator *BO = cast<BinaryOperator>(UserChain[ChainIndex]); local [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 211 BinaryOperator *BO = cast<BinaryOperator>(I); local 212 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); 215 ConstantInt *CI = cast<ConstantInt>(BO->getOperand(1)); 224 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); 225 BO->setHasNoUnsignedWrap(false); 226 BO->setHasNoSignedWrap(false); 234 V = IC.Builder->CreateAnd(BO->getOperand(0), 235 ConstantInt::get(BO->getContext(), Mask)); 237 VI->moveBefore(BO); 253 BinaryOperator *BO = cast<BinaryOperator>(I); local [all...] |
H A D | InstCombineMulDivRem.cpp | 183 BinaryOperator *BO = dyn_cast<BinaryOperator>(Op0); local 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 [all...] |
H A D | InstCombineSelect.cpp | 180 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(TI)) { 182 return BinaryOperator::Create(BO->getOpcode(), MatchOp, NewSI); 184 return BinaryOperator::Create(BO->getOpcode(), NewSI, MatchOp); 229 BinaryOperator *BO = BinaryOperator::Create(TVI_BO->getOpcode(), local 231 if (isa<PossiblyExactOperator>(BO)) 232 BO->setIsExact(TVI_BO->isExact()); 233 if (isa<OverflowingBinaryOperator>(BO)) { 234 BO->setHasNoUnsignedWrap(TVI_BO->hasNoUnsignedWrap()); 235 BO->setHasNoSignedWrap(TVI_BO->hasNoSignedWrap()); 237 return BO; 264 BinaryOperator *BO = BinaryOperator::Create(FVI_BO->getOpcode(), local [all...] |
/external/llvm/include/llvm/IR/ |
H A D | NoFolder.h | 42 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS); local 43 if (HasNUW) BO->setHasNoUnsignedWrap(); 44 if (HasNSW) BO->setHasNoSignedWrap(); 45 return BO; 58 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS); local 59 if (HasNUW) BO->setHasNoUnsignedWrap(); 60 if (HasNSW) BO->setHasNoSignedWrap(); 61 return BO; 74 BinaryOperator *BO = BinaryOperator::CreateMul(LHS, RHS); local 75 if (HasNUW) BO 120 BinaryOperator *BO = BinaryOperator::CreateShl(LHS, RHS); local 158 BinaryOperator *BO = BinaryOperator::CreateNeg(C); local [all...] |
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonGenInsert.cpp | 275 RegisterCellLexCompare(const BitValueOrdering &BO, CellMapShadow &M) argument 276 : BitOrd(BO), CM(M) {} 291 const BitValueOrdering &BO, CellMapShadow &M) 292 : SelR(R), SelB(B), BitN(N), BitOrd(BO), CM(M) {} 1190 IFOrdering(const UnsignedMap &UC, const RegisterOrdering &BO) 1191 : UseC(UC), BaseOrd(BO) {} 290 RegisterCellBitCompareSel(unsigned R, unsigned B, unsigned N, const BitValueOrdering &BO, CellMapShadow &M) argument
|
H A D | HexagonEarlyIfConv.cpp | 783 const MachineOperand &RO = PN->getOperand(i), &BO = PN->getOperand(i+1); local 784 if (BO.getMBB() == FP.SplitB) 786 else if (BO.getMBB() == FP.TrueB) 788 else if (BO.getMBB() == FP.FalseB)
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 218 BinaryOperator *BO = cast<BinaryOperator>(I); local 219 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); 222 ConstantInt *CI = cast<ConstantInt>(BO->getOperand(1)); 231 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); 232 BO->setHasNoUnsignedWrap(false); 233 BO->setHasNoSignedWrap(false); 241 V = IC.Builder->CreateAnd(BO->getOperand(0), 242 ConstantInt::get(BO->getContext(), Mask)); 244 VI->moveBefore(BO); 262 BinaryOperator *BO = cast<BinaryOperator>(I); local [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | SimplifyIndVar.cpp | 489 /// Annotate BO with nsw / nuw if it provably does not signed-overflow / 491 bool SimplifyIndvar::strengthenOverflowingOperation(BinaryOperator *BO, argument 494 // Fastpath: we don't have any work to do if `BO` is `nuw` and `nsw`. 495 if (BO->hasNoUnsignedWrap() && BO->hasNoSignedWrap()) 501 switch (BO->getOpcode()) { 518 unsigned BitWidth = cast<IntegerType>(BO->getType())->getBitWidth(); 519 Type *WideTy = IntegerType::get(BO->getContext(), BitWidth * 2); 520 const SCEV *LHS = SE->getSCEV(BO->getOperand(0)); 521 const SCEV *RHS = SE->getSCEV(BO [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
H A D | NoFolder.h | 42 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS); local 43 if (HasNUW) BO->setHasNoUnsignedWrap(); 44 if (HasNSW) BO->setHasNoSignedWrap(); 45 return BO; 58 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS); local 59 if (HasNUW) BO->setHasNoUnsignedWrap(); 60 if (HasNSW) BO->setHasNoSignedWrap(); 61 return BO; 74 BinaryOperator *BO = BinaryOperator::CreateMul(LHS, RHS); local 75 if (HasNUW) BO 120 BinaryOperator *BO = BinaryOperator::CreateShl(LHS, RHS); local 158 BinaryOperator *BO = BinaryOperator::CreateNeg(C); local [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
H A D | Reassociate.cpp | 575 BinaryOperator *BO = isReassociableOp(V, Instruction::Mul); local 576 if (!BO) return 0; 579 LinearizeExprTree(BO, Factors); 602 RewriteExprTree(BO, Factors); 606 BasicBlock::iterator InsertPt = BO; ++InsertPt; 611 ValueRankMap.erase(BO); 612 DeadInsts.push_back(BO); 615 RewriteExprTree(BO, Factors); 616 V = BO; 633 BinaryOperator *BO; local [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ |
H A D | InstrTypes.h | 198 BinaryOperator *BO = Create(Opc, V1, V2, Name); local 199 BO->setHasNoSignedWrap(true); 200 return BO; 204 BinaryOperator *BO = Create(Opc, V1, V2, Name, BB); local 205 BO->setHasNoSignedWrap(true); 206 return BO; 210 BinaryOperator *BO = Create(Opc, V1, V2, Name, I); local 211 BO->setHasNoSignedWrap(true); 212 return BO; 217 BinaryOperator *BO local 223 BinaryOperator *BO = Create(Opc, V1, V2, Name, BB); local 229 BinaryOperator *BO = Create(Opc, V1, V2, Name, I); local 236 BinaryOperator *BO = Create(Opc, V1, V2, Name); local 242 BinaryOperator *BO = Create(Opc, V1, V2, Name, BB); local 248 BinaryOperator *BO = Create(Opc, V1, V2, Name, I); local [all...] |
/external/clang/lib/CodeGen/ |
H A D | CodeGenPGO.cpp | 190 const BinaryOperator *BO = cast<BinaryOperator>(S); local 191 if (BO->getOpcode() == BO_LAnd) 193 if (BO->getOpcode() == BO_LOr)
|