/freebsd-11.0-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 517 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(SimplifiedInst)) { 542 BO->setHasNoSignedWrap(HasNSW); 719 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(&I)) { 720 Value *RI = IC->Builder->CreateBinOp(BO->getOpcode(), Op0, Op1, 724 FPInst->copyFastMathFlags(BO); 1065 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(Op)) { 1067 if (BO->getOpcode() == Instruction::Mul) { 1069 NoSignedWrap = BO->hasNoSignedWrap(); 1076 Value *LHS = BO->getOperand(0); 1077 Value *RHS = BO 1248 Value *BO = B->CreateBinOp(Inst.getOpcode(), LHS, RHS); local [all...] |
H A D | InstCombinePHI.cpp | 36 if (OverflowingBinaryOperator *BO = 38 isNUW = BO->hasNoUnsignedWrap(); 39 isNSW = BO->hasNoSignedWrap(); 515 if (OverflowingBinaryOperator *BO = 517 isNUW = BO->hasNoUnsignedWrap(); 518 isNSW = BO->hasNoSignedWrap();
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Analysis/ |
H A D | LiveVariables.cpp | 206 void VisitBinaryOperator(BinaryOperator *BO); 518 if (const BinaryOperator *BO = 520 if (BO->getOpcode() == BO_Assign) { 522 dyn_cast<DeclRefExpr>(BO->getLHS()->IgnoreParens())) {
|
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 | ThreadSafety.cpp | 559 void VisitBinaryOperator(BinaryOperator *BO); 584 void VarMapBuilder::VisitBinaryOperator(BinaryOperator *BO) { 585 if (!BO->isAssignmentOp()) 588 Expr *LHSExp = BO->getLHS()->IgnoreParenCasts(); 594 if (BO->getOpcode() == BO_Assign) 595 Ctx = VMap->updateDefinition(VDec, BO->getRHS(), Ctx); 599 VMap->saveContext(BO, Ctx); 1491 void VisitBinaryOperator(BinaryOperator *BO); 1849 void BuildLockset::VisitBinaryOperator(BinaryOperator *BO) { 1850 if (!BO [all...] |
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 403 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint()); 404 Rem = BO; 459 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint()); 460 Div = BO;
|
/freebsd-11.0-release/contrib/llvm/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 391 ValueVect BO; local 392 getBlockTraversalOrder(&Fn->front(), BO); 398 for (ValueVect::iterator I = BO.begin(), E = BO.end(); I != E; ++I) { 1242 ValueVect BO; local 1243 BO.push_back(&Fn->front()); 1245 for (unsigned i = 0; i < BO.size(); ++i) { 1246 BasicBlock *B = cast<BasicBlock>(BO[i]); 1251 BO.push_back((*I)->getBlock()); 1254 for (unsigned i = BO [all...] |
H A D | HexagonEarlyIfConv.cpp | 785 const MachineOperand &RO = PN->getOperand(i), &BO = PN->getOperand(i+1); local 786 if (BO.getMBB() == FP.SplitB) 788 else if (BO.getMBB() == FP.TrueB) 790 else if (BO.getMBB() == FP.FalseB)
|
H A D | HexagonGenInsert.cpp | 277 RegisterCellLexCompare(const BitValueOrdering &BO, CellMapShadow &M) argument 278 : BitOrd(BO), CM(M) {} 293 const BitValueOrdering &BO, CellMapShadow &M) 294 : SelR(R), SelB(B), BitN(N), BitOrd(BO), CM(M) {} 1192 IFOrdering(const UnsignedMap &UC, const RegisterOrdering &BO) 1193 : UseC(UC), BaseOrd(BO) {} 292 RegisterCellBitCompareSel(unsigned R, unsigned B, unsigned N, const BitValueOrdering &BO, CellMapShadow &M) argument
|
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | LoopRerollPass.cpp | 653 BinaryOperator *BO = dyn_cast<BinaryOperator>(U); local 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));
|
H A D | 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; member in struct:__anon3260::BinarySplitter 432 bool Scalarizer::visitBinaryOperator(BinaryOperator &BO) { argument 433 return splitBinary(BO, BinarySplitter(BO));
|
H A D | LoopUnswitch.cpp | 417 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(Cond)) 418 if (BO->getOpcode() == Instruction::And || 419 BO->getOpcode() == Instruction::Or) { 423 if (Value *LHS = FindLIVLoopCondition(BO->getOperand(0), L, Changed)) 425 if (Value *RHS = FindLIVLoopCondition(BO->getOperand(1), L, Changed))
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaOpenMP.cpp | 2986 if (auto BO = dyn_cast<BinaryOperator>(S)) { 2987 if (BO->getOpcode() == BO_Assign) 2988 if (auto DRE = dyn_cast<DeclRefExpr>(BO->getLHS()->IgnoreParens())) 2990 BO->getRHS()); 3048 if (auto BO = dyn_cast<BinaryOperator>(S)) { 3049 if (BO->isRelationalOp()) { 3050 if (GetInitVarDecl(BO->getLHS()) == Var) 3051 return SetUB(BO->getRHS(), 3052 (BO->getOpcode() == BO_LT || BO [all...] |
H A D | AnalysisBasedWarnings.cpp | 755 const BinaryOperator *BO = cast<BinaryOperator>(Term); local 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);
|
H A D | SemaChecking.cpp | 5411 const BinaryOperator * BO = dyn_cast<BinaryOperator>(Ex); local 5412 if (!BO || !BO->isAdditiveOp()) 5415 const Expr *RHS = BO->getRHS()->IgnoreParenCasts(); 5416 const Expr *LHS = BO->getLHS()->IgnoreParenCasts(); 6281 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(E)) { 6282 switch (BO->getOpcode()) { 6311 return GetExprRange(C, BO->getRHS(), MaxWidth); 6321 return IntRange::meet(GetExprRange(C, BO->getLHS(), MaxWidth), 6322 GetExprRange(C, BO 7554 BinaryOperator *BO = dyn_cast<BinaryOperator>(E); local 8139 VisitBinComma(BinaryOperator *BO) argument 8165 VisitBinAssign(BinaryOperator *BO) argument 8230 VisitBinLOr(BinaryOperator *BO) argument 8255 VisitBinLAnd(BinaryOperator *BO) argument 9740 const BinaryOperator *BO = cast<BinaryOperator>(TypeExpr); local [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | LocalizationChecker.cpp | 1036 const BinaryOperator *BO = nullptr; 1044 BO = B; 1053 BO = B; 1056 if (BO == nullptr) 1060 BO->getRHS()->IgnoreParenImpCasts())) {
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGExprCXX.cpp | 286 const BinaryOperator *BO = local 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, 1756 if (const auto *BO = dyn_cast<BinaryOperator>(E)) 1757 if (BO->getOpcode() == BO_Comma) 1758 return isGLValueFromPointerDeref(BO->getRHS());
|
H A D | CodeGenPGO.cpp | 185 const BinaryOperator *BO = cast<BinaryOperator>(S); local 186 if (BO->getOpcode() == BO_LAnd) 188 if (BO->getOpcode() == BO_LOr)
|
H A D | CGStmtOpenMP.cpp | 321 auto *BO = dyn_cast<BinaryOperator>(Copy); local 322 if (BO && BO->getOpcode() == BO_Assign) { 2170 BinaryOperatorKind BO, 2177 if (BO == BO_Comma || !Update.isScalar() || 2188 switch (BO) { 2261 LValue X, RValue E, BinaryOperatorKind BO, bool IsXLHSInRHSPart, 2270 auto Res = emitOMPAtomicRMW(*this, X, E, BO, AO, IsXLHSInRHSPart); 2401 XLValue, ExprRValue, /*BO=*/BO_Assign, /*IsXLHSInRHSPart=*/false, AO, 2168 emitOMPAtomicRMW(CodeGenFunction &CGF, LValue X, RValue Update, BinaryOperatorKind BO, llvm::AtomicOrdering AO, bool IsXLHSInRHSPart) argument 2260 EmitOMPAtomicSimpleUpdateExpr( LValue X, RValue E, BinaryOperatorKind BO, bool IsXLHSInRHSPart, llvm::AtomicOrdering AO, SourceLocation Loc, const llvm::function_ref<RValue(RValue)> &CommonGen) argument
|
/freebsd-11.0-release/contrib/llvm/include/llvm/IR/ |
H A D | IRBuilder.h | 756 BinaryOperator *BO = Insert(BinaryOperator::Create(Opc, LHS, RHS), Name); local 757 if (HasNUW) BO->setHasNoUnsignedWrap(); 758 if (HasNSW) BO->setHasNoSignedWrap(); 759 return BO; 1009 BinaryOperator *BO = Insert(BinaryOperator::CreateNeg(V), Name); 1010 if (HasNUW) BO->setHasNoUnsignedWrap(); 1011 if (HasNSW) BO->setHasNoSignedWrap(); 1012 return BO;
|
/freebsd-11.0-release/contrib/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 1950 OverflowingBinaryOperator *BO = cast<OverflowingBinaryOperator>(V); local 1951 if (BO->hasNoUnsignedWrap()) 1964 PossiblyExactOperator *BO = cast<PossiblyExactOperator>(V); local 1965 if (BO->isExact()) 2035 OverflowingBinaryOperator *BO = cast<OverflowingBinaryOperator>(V); local 2038 if ((BO->hasNoSignedWrap() || BO->hasNoUnsignedWrap()) && 2079 BinaryOperator *BO = dyn_cast<BinaryOperator>(V1); local 2080 if (!BO || BO [all...] |
H A D | LazyValueInfo.cpp | 616 BinaryOperator *BO = dyn_cast<BinaryOperator>(BBI); local 617 if (BO && !isa<ConstantInt>(BO->getOperand(1))) {
|
/freebsd-11.0-release/sys/powerpc/powerpc/ |
H A D | db_disasm.c | 666 u_int BO; local 667 BO = extract_field(instr, 31 - 10, 5); 668 pstr += sprintf(pstr, "%d, ", BO);
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | ExprCXX.cpp | 536 if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(Callee)) 537 if (BO->getOpcode() == BO_PtrMemD || BO->getOpcode() == BO_PtrMemI) 538 return BO->getLHS();
|
/freebsd-11.0-release/contrib/binutils/opcodes/ |
H A D | ppc-opc.c | 130 This sets the y bit of the BO field appropriately. */ 142 This sets the y bit of the BO field appropriately. */ 172 /* The BO field in a B form instruction. Certain values are macro 174 #define BO BFA + 1 178 /* The BO field in a B form instruction when the + or - modifier is 179 used. This is like the BO field, but it must be even. */ 180 #define BOE BO + 1 615 (ie. not Power4 compatible), we set the y bit of the BO field to 1 622 in BO field, the "a" bit is 00010 for branch on CR(BI) and 01000 715 /* Check for legal values of a BO fiel [all...] |