Home
last modified time | relevance | path

Searched refs:BO (Results 1 – 25 of 824) sorted by relevance

12345678910>>...33

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp268 APInt findInEitherOperand(BinaryOperator *BO, bool SignExtended,
320 bool CanTraceInto(bool SignExtended, bool ZeroExtended, BinaryOperator *BO,
486 BinaryOperator *BO, in CanTraceInto() argument
491 if (BO->getOpcode() != Instruction::Add && in CanTraceInto()
492 BO->getOpcode() != Instruction::Sub && in CanTraceInto()
493 BO->getOpcode() != Instruction::Or) { in CanTraceInto()
497 Value *LHS = BO->getOperand(0), *RHS = BO->getOperand(1); in CanTraceInto()
502 if (BO->getOpcode() == Instruction::Or && in CanTraceInto()
503 !haveNoCommonBitsSet(LHS, RHS, DL, nullptr, BO, DT)) in CanTraceInto()
517 if (BO->getOpcode() == Instruction::Add && !ZeroExtended && NonNegative) { in CanTraceInto()
[all …]
DCorrelatedValuePropagation.cpp435 static bool willNotOverflow(BinaryOpIntrinsic *BO, LazyValueInfo *LVI) { in willNotOverflow() argument
437 BO->getLHS(), BO->getParent(), BO); in willNotOverflow()
439 BO->getRHS(), BO->getParent(), BO); in willNotOverflow()
441 BO->getBinaryOp(), RRange, BO->getNoWrapKind()); in willNotOverflow()
515 if (auto *BO = dyn_cast<BinaryOperator>(NewOp)) in processOverflowIntrinsic() local
516 processBinOp(BO, LVI); in processOverflowIntrinsic()
533 if (auto *BO = dyn_cast<BinaryOperator>(BinOp)) in processSaturatingInst() local
534 processBinOp(BO, LVI); in processSaturatingInst()
649 auto *BO = B.CreateBinOp(Instr->getOpcode(), LHS, RHS, Instr->getName()); in processUDivOrURem() local
650 auto *Zext = B.CreateZExt(BO, Instr->getType(), Instr->getName() + ".zext"); in processUDivOrURem()
[all …]
DReassociate.cpp510 if (BinaryOperator *BO = isReassociableOp(Op, Opcode)) { in LinearizeExprTree() local
513 Worklist.push_back(std::make_pair(BO, Weight)); in LinearizeExprTree()
551 if (BinaryOperator *BO = isReassociableOp(Op, Opcode)) { in LinearizeExprTree()
553 Worklist.push_back(std::make_pair(BO, It->second)); in LinearizeExprTree()
700 BinaryOperator *BO = isReassociableOp(OldLHS, Opcode); in RewriteExprTree() local
701 if (BO && !NotRewritable.count(BO)) in RewriteExprTree()
702 NodesToRewrite.push_back(BO); in RewriteExprTree()
706 BinaryOperator *BO = isReassociableOp(OldRHS, Opcode); in RewriteExprTree() local
707 if (BO && !NotRewritable.count(BO)) in RewriteExprTree()
708 NodesToRewrite.push_back(BO); in RewriteExprTree()
[all …]
DJumpThreading.cpp746 } else if (BinaryOperator *BO = dyn_cast<BinaryOperator>(I)) { in ComputeValueKnownInPredecessorsImpl() local
749 if (ConstantInt *CI = dyn_cast<ConstantInt>(BO->getOperand(1))) { in ComputeValueKnownInPredecessorsImpl()
751 ComputeValueKnownInPredecessorsImpl(BO->getOperand(0), BB, LHSVals, in ComputeValueKnownInPredecessorsImpl()
757 Constant *Folded = ConstantExpr::get(BO->getOpcode(), V, CI); in ComputeValueKnownInPredecessorsImpl()
1755 bool JumpThreadingPass::ProcessBranchOnXOR(BinaryOperator *BO) { in ProcessBranchOnXOR() argument
1756 BasicBlock *BB = BO->getParent(); in ProcessBranchOnXOR()
1760 if (isa<ConstantInt>(BO->getOperand(0)) || in ProcessBranchOnXOR()
1761 isa<ConstantInt>(BO->getOperand(1))) in ProcessBranchOnXOR()
1793 if (!ComputeValueKnownInPredecessors(BO->getOperand(0), BB, XorOpValues, in ProcessBranchOnXOR()
1794 WantInteger, BO)) { in ProcessBranchOnXOR()
[all …]
DLoopRerollPass.cpp541 if (auto *BO = dyn_cast<BinaryOperator>(User)) { in isLoopControlIV() local
542 if (BO->getOpcode() == Instruction::Add) { in isLoopControlIV()
555 if (BO->hasNoSignedWrap() && UUser && UUser->hasOneUse() && in isLoopControlIV()
764 BinaryOperator *BO = dyn_cast<BinaryOperator>(U); in isLoopIncrement() local
766 if ((BO && BO->getOpcode() != Instruction::Add) || in isLoopIncrement()
767 (!BO && !isa<GetElementPtrInst>(U))) in isLoopIncrement()
791 if (auto *BO = dyn_cast<BinaryOperator>(I)) { in collectPossibleRoots() local
792 if (BO->getOpcode() == Instruction::Add || in collectPossibleRoots()
793 BO->getOpcode() == Instruction::Or) in collectPossibleRoots()
794 CI = dyn_cast<ConstantInt>(BO->getOperand(1)); in collectPossibleRoots()
DScalarizer.cpp144 BinarySplitter(BinaryOperator &bo) : BO(bo) {} in BinarySplitter()
148 return Builder.CreateBinOp(BO.getOpcode(), Op0, Op1, Name); in operator ()()
151 BinaryOperator &BO; member
191 bool visitBinaryOperator(BinaryOperator &BO);
614 bool ScalarizerVisitor::visitBinaryOperator(BinaryOperator &BO) { in visitBinaryOperator() argument
615 return splitBinary(BO, BinarySplitter(BO)); in visitBinaryOperator()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DNoFolder.h43 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS);
44 if (HasNUW) BO->setHasNoUnsignedWrap();
45 if (HasNSW) BO->setHasNoSignedWrap();
46 return BO;
63 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS);
64 if (HasNUW) BO->setHasNoUnsignedWrap();
65 if (HasNSW) BO->setHasNoSignedWrap();
66 return BO;
83 BinaryOperator *BO = BinaryOperator::CreateMul(LHS, RHS);
84 if (HasNUW) BO->setHasNoUnsignedWrap();
[all …]
DInstrTypes.h253 BinaryOperator *BO = Create(Opc, V1, V2, Name);
254 BO->copyIRFlags(CopyO);
255 return BO;
291 BinaryOperator *BO = Create(Opc, V1, V2, Name);
292 BO->setHasNoSignedWrap(true);
293 return BO;
297 BinaryOperator *BO = Create(Opc, V1, V2, Name, BB);
298 BO->setHasNoSignedWrap(true);
299 return BO;
303 BinaryOperator *BO = Create(Opc, V1, V2, Name, I);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFormatVariadic.cpp95 std::size_t BO = Fmt.find_first_of('{', From); in splitLiteralAndReplacement() local
97 if (BO != 0) in splitLiteralAndReplacement()
98 return std::make_pair(ReplacementItem{Fmt.substr(0, BO)}, Fmt.substr(BO)); in splitLiteralAndReplacement()
101 Fmt.drop_front(BO).take_while([](char C) { return C == '{'; }); in splitLiteralAndReplacement()
106 StringRef Middle = Fmt.substr(BO, NumEscapedBraces); in splitLiteralAndReplacement()
107 StringRef Right = Fmt.drop_front(BO + NumEscapedBraces * 2); in splitLiteralAndReplacement()
113 std::size_t BC = Fmt.find_first_of('}', BO); in splitLiteralAndReplacement()
124 std::size_t BO2 = Fmt.find_first_of('{', BO + 1); in splitLiteralAndReplacement()
129 StringRef Spec = Fmt.slice(BO + 1, BC); in splitLiteralAndReplacement()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp96 bool strengthenRightShift(BinaryOperator *BO, Value *IVOperand);
487 BinaryOperator *BO = BinaryOperator::Create( in eliminateSaturatingIntrinsic() local
490 BO->setHasNoSignedWrap(); in eliminateSaturatingIntrinsic()
492 BO->setHasNoUnsignedWrap(); in eliminateSaturatingIntrinsic()
494 SI->replaceAllUsesWith(BO); in eliminateSaturatingIntrinsic()
729 bool SimplifyIndvar::strengthenOverflowingOperation(BinaryOperator *BO, in strengthenOverflowingOperation() argument
732 if (BO->hasNoUnsignedWrap() && BO->hasNoSignedWrap()) in strengthenOverflowingOperation()
735 if (BO->getOpcode() != Instruction::Add && in strengthenOverflowingOperation()
736 BO->getOpcode() != Instruction::Sub && in strengthenOverflowingOperation()
737 BO->getOpcode() != Instruction::Mul) in strengthenOverflowingOperation()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolutionAliasAnalysis.cpp82 Value *BO = GetBaseValue(BS); in alias() local
83 if ((AO && AO != LocA.Ptr) || (BO && BO != LocB.Ptr)) in alias()
87 MemoryLocation(BO ? BO : LocB.Ptr, in alias()
88 BO ? LocationSize::unknown() : LocB.Size, in alias()
89 BO ? AAMDNodes() : LocB.AATags), in alias()
DPHITransAddr.cpp292 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(U)) in PHITranslateSubExpr() local
293 if (BO->getOpcode() == Instruction::Add && in PHITranslateSubExpr()
294 BO->getOperand(0) == LHS && BO->getOperand(1) == RHS && in PHITranslateSubExpr()
295 BO->getParent()->getParent() == CurBB->getParent() && in PHITranslateSubExpr()
296 (!DT || DT->dominates(BO->getParent(), PredBB))) in PHITranslateSubExpr()
297 return BO; in PHITranslateSubExpr()
DLazyValueInfo.cpp655 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(BBI)) in solveBlockValueImpl() local
656 return solveBlockValueBinaryOp(Res, BO, BB); in solveBlockValueImpl()
1086 BinaryOperator *BO, in solveBlockValueBinaryOp() argument
1089 assert(BO->getOperand(0)->getType()->isSized() && in solveBlockValueBinaryOp()
1091 if (BO->getOpcode() == Instruction::Xor) { in solveBlockValueBinaryOp()
1099 if (auto *OBO = dyn_cast<OverflowingBinaryOperator>(BO)) { in solveBlockValueBinaryOp()
1107 BBLV, BO, BB, in solveBlockValueBinaryOp()
1108 [BO, NoWrapKind](const ConstantRange &CR1, const ConstantRange &CR2) { in solveBlockValueBinaryOp()
1109 return CR1.overflowingBinaryOp(BO->getOpcode(), CR2, NoWrapKind); in solveBlockValueBinaryOp()
1114 BBLV, BO, BB, [BO](const ConstantRange &CR1, const ConstantRange &CR2) { in solveBlockValueBinaryOp()
[all …]
DScalarEvolution.cpp4979 auto BO = MatchBinaryOp(BEValueV, DT); in createSimpleAffineAddRec() local
4980 if (!BO) in createSimpleAffineAddRec()
4983 if (BO->Opcode != Instruction::Add) in createSimpleAffineAddRec()
4987 if (BO->LHS == PN && L->isLoopInvariant(BO->RHS)) in createSimpleAffineAddRec()
4988 Accum = getSCEV(BO->RHS); in createSimpleAffineAddRec()
4989 else if (BO->RHS == PN && L->isLoopInvariant(BO->LHS)) in createSimpleAffineAddRec()
4990 Accum = getSCEV(BO->LHS); in createSimpleAffineAddRec()
4996 if (BO->IsNUW) in createSimpleAffineAddRec()
4998 if (BO->IsNSW) in createSimpleAffineAddRec()
5092 if (auto BO = MatchBinaryOp(BEValueV, DT)) { in createAddRecFromPHI() local
[all …]
DValueTracking.cpp2045 if (auto *BO = dyn_cast<BinaryOperator>(Curr)) in isKnownNonNullFromDominatingCondition() local
2046 if (BO->getOpcode() == Instruction::And) { in isKnownNonNullFromDominatingCondition()
2047 for (auto *BOU : BO->users()) in isKnownNonNullFromDominatingCondition()
2227 const OverflowingBinaryOperator *BO = cast<OverflowingBinaryOperator>(V); in isKnownNonZero() local
2228 if (Q.IIQ.hasNoUnsignedWrap(BO)) in isKnownNonZero()
2240 const PossiblyExactOperator *BO = cast<PossiblyExactOperator>(V); in isKnownNonZero() local
2241 if (BO->isExact()) in isKnownNonZero()
2300 const OverflowingBinaryOperator *BO = cast<OverflowingBinaryOperator>(V); in isKnownNonZero() local
2303 if ((Q.IIQ.hasNoSignedWrap(BO) || Q.IIQ.hasNoUnsignedWrap(BO)) && in isKnownNonZero()
2348 const BinaryOperator *BO = dyn_cast<BinaryOperator>(V1); in isAddOfNonZero() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp188 BinaryOperator *BO = BinaryOperator::CreateNeg(Op0, I.getName()); in visitMul() local
190 BO->setHasNoSignedWrap(); in visitMul()
191 return BO; in visitMul()
205 BinaryOperator *BO = BinaryOperator::CreateMul(NewOp, Shl); in visitMul() local
207 BO->setHasNoUnsignedWrap(); in visitMul()
210 BO->setHasNoSignedWrap(); in visitMul()
211 return BO; in visitMul()
339 BinaryOperator *BO = nullptr; in visitMul() local
342 BO = BinaryOperator::CreateShl(Op1, Y); in visitMul()
345 BO = BinaryOperator::CreateShl(Op0, Y); in visitMul()
[all …]
DInstCombineCasts.cpp1537 auto *BO = dyn_cast<BinaryOperator>(FPT.getOperand(0)); in visitFPTrunc() local
1538 if (BO && BO->hasOneUse()) { in visitFPTrunc()
1539 Type *LHSMinType = getMinimumFPType(BO->getOperand(0)); in visitFPTrunc()
1540 Type *RHSMinType = getMinimumFPType(BO->getOperand(1)); in visitFPTrunc()
1541 unsigned OpWidth = BO->getType()->getFPMantissaWidth(); in visitFPTrunc()
1546 switch (BO->getOpcode()) { in visitFPTrunc()
1569 Value *LHS = Builder.CreateFPTrunc(BO->getOperand(0), Ty); in visitFPTrunc()
1570 Value *RHS = Builder.CreateFPTrunc(BO->getOperand(1), Ty); in visitFPTrunc()
1571 Instruction *RI = BinaryOperator::Create(BO->getOpcode(), LHS, RHS); in visitFPTrunc()
1572 RI->copyFastMathFlags(BO); in visitFPTrunc()
[all …]
DInstructionCombining.cpp613 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(SimplifiedInst)) { in tryFactorization() local
644 BO->setHasNoSignedWrap(HasNSW); in tryFactorization()
648 BO->setHasNoUnsignedWrap(HasNUW); in tryFactorization()
880 auto *BO = cast<BinaryOperator>(&I); in foldOperationIntoSelectOperand() local
881 Value *RI = Builder.CreateBinOp(BO->getOpcode(), Op0, Op1, in foldOperationIntoSelectOperand()
885 FPInst->copyFastMathFlags(BO); in foldOperationIntoSelectOperand()
1077 } else if (auto *BO = dyn_cast<BinaryOperator>(&I)) { in foldOpIntoPhi() local
1079 Value *InV = foldOperationIntoPhiValue(BO, PN->getIncomingValue(i), in foldOpIntoPhi()
1256 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(Op)) { in Descale() local
1257 if (BO->getOpcode() == Instruction::Mul) { in Descale()
[all …]
DInstCombineVectorOps.cpp376 BinaryOperator *BO; in visitExtractElementInst() local
377 if (match(SrcVec, m_BinOp(BO)) && cheapToScalarize(SrcVec, IndexC)) { in visitExtractElementInst()
379 Value *X = BO->getOperand(0), *Y = BO->getOperand(1); in visitExtractElementInst()
382 return BinaryOperator::CreateWithCopiedFlags(BO->getOpcode(), E0, E1, BO); in visitExtractElementInst()
1235 BinaryOperator *BO = cast<BinaryOperator>(I); in buildNew() local
1239 NewOps[0], NewOps[1], "", BO); in buildNew()
1240 if (isa<OverflowingBinaryOperator>(BO)) { in buildNew()
1241 New->setHasNoUnsignedWrap(BO->hasNoUnsignedWrap()); in buildNew()
1242 New->setHasNoSignedWrap(BO->hasNoSignedWrap()); in buildNew()
1244 if (isa<PossiblyExactOperator>(BO)) { in buildNew()
[all …]
DInstCombineSelect.cpp78 BinaryOperator *BO; in foldSelectBinOpIdentity() local
79 if (!match(Sel.getOperand(IsEq ? 1 : 2), m_BinOp(BO))) in foldSelectBinOpIdentity()
84 Type *Ty = BO->getType(); in foldSelectBinOpIdentity()
85 Constant *IdC = ConstantExpr::getBinOpIdentity(BO->getOpcode(), Ty, true); in foldSelectBinOpIdentity()
95 if (!BO->isCommutative() && !match(BO, m_BinOp(m_Value(Y), m_Specific(X)))) in foldSelectBinOpIdentity()
97 if (!match(BO, m_c_BinOp(m_Value(Y), m_Specific(X)))) in foldSelectBinOpIdentity()
102 if (isa<FPMathOperator>(BO)) in foldSelectBinOpIdentity()
103 if (!BO->hasNoSignedZeros() && !CannotBeNegativeZero(Y, &TLI)) in foldSelectBinOpIdentity()
398 if (auto *BO = dyn_cast<BinaryOperator>(TI)) { in foldSelectOpOp() local
399 BinaryOperator *NewBO = BinaryOperator::Create(BO->getOpcode(), Op0, Op1); in foldSelectOpOp()
[all …]
/third_party/icu/icu4j/perf-tests/data/collation/
DTestNames_SerbianSH.txt115 ČALIĆ BOŠKO
186 ČANKOVIĆ BOŠKO
246 ČAVIĆ BOŠKO
297 ČEGAR BOŽO
350 ČELEBIĆ BOŽO
588 ČINČUREK BOŠKO
678 ČOBANOVIĆ BOŠKO
883 ČORTAN BOŠKO
926 ČUČKOVIĆ BOŽIDAR
996 ČULO BOŽA
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DInterleavedLoadCombinePass.cpp903 static void computePolynomialBinOp(BinaryOperator &BO, Polynomial &Result) { in computePolynomialBinOp()
904 Value *LHS = BO.getOperand(0); in computePolynomialBinOp()
905 Value *RHS = BO.getOperand(1); in computePolynomialBinOp()
909 if ((!C) && BO.isCommutative()) { in computePolynomialBinOp()
915 switch (BO.getOpcode()) { in computePolynomialBinOp()
936 Result = Polynomial(&BO); in computePolynomialBinOp()
944 if (auto *BO = dyn_cast<BinaryOperator>(&V)) in computePolynomial() local
945 computePolynomialBinOp(*BO, Result); in computePolynomial()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonCommonGEP.cpp412 ValueVect BO; in collect() local
413 getBlockTraversalOrder(&Fn->front(), BO); in collect()
419 for (ValueVect::iterator I = BO.begin(), E = BO.end(); I != E; ++I) { in collect()
1246 ValueVect BO; in removeDeadCode() local
1247 BO.push_back(&Fn->front()); in removeDeadCode()
1249 for (unsigned i = 0; i < BO.size(); ++i) { in removeDeadCode()
1250 BasicBlock *B = cast<BasicBlock>(BO[i]); in removeDeadCode()
1252 BO.push_back(DTN->getBlock()); in removeDeadCode()
1255 for (unsigned i = BO.size(); i > 0; --i) { in removeDeadCode()
1256 BasicBlock *B = cast<BasicBlock>(BO[i-1]); in removeDeadCode()
/third_party/freetype/docs/reference/assets/javascripts/lunr/
Dtinyseg.js1BO:60,OO:-1762},this.BQ1__={BHH:1150,BHM:1521,BII:-1158,BIM:886,BMH:1208,BNH:449,BOH:-91,BOO:-2597… property
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPerfHintAnalysis.cpp182 if (auto BO = dyn_cast<BinaryOperator>(V)) { in isIndirectAccess() local
183 WorkSet.insert(BO->getOperand(0)); in isIndirectAccess()
184 WorkSet.insert(BO->getOperand(1)); in isIndirectAccess()

12345678910>>...33