Searched refs:BO (Results 1 - 25 of 36) sorted by relevance

12

/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Support/
H A DNoFolder.h42 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...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Analysis/
H A DScalarEvolutionAliasAnalysis.cpp161 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)
H A DPHITransAddr.cpp302 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(*UI))
303 if (BO->getOpcode() == Instruction::Add &&
304 BO->getOperand(0) == LHS && BO->getOperand(1) == RHS &&
305 BO->getParent()->getParent() == CurBB->getParent() &&
306 (!DT || DT->dominates(BO->getParent(), PredBB)))
307 return BO;
H A DValueTracking.cpp892 OverflowingBinaryOperator *BO = cast<OverflowingBinaryOperator>(V); local
893 if (BO->hasNoUnsignedWrap())
906 PossiblyExactOperator *BO = cast<PossiblyExactOperator>(V); local
907 if (BO->isExact())
958 OverflowingBinaryOperator *BO = cast<OverflowingBinaryOperator>(V); local
961 if ((BO->hasNoSignedWrap() || BO->hasNoUnsignedWrap()) &&
H A DLazyValueInfo.cpp545 BinaryOperator *BO = dyn_cast<BinaryOperator>(BBI); local
546 if (BO && !isa<ConstantInt>(BO->getOperand(1))) {
H A DScalarEvolution.cpp3706 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(U->getOperand(0)))
3707 if (ConstantInt *LCI = dyn_cast<ConstantInt>(BO->getOperand(1)))
3708 if (BO->getOpcode() == Instruction::And &&
4369 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(ExitCond)) {
4370 if (BO->getOpcode() == Instruction::And) {
4372 ExitLimit EL0 = ComputeExitLimitFromCond(L, BO->getOperand(0), TBB, FBB);
4373 ExitLimit EL1 = ComputeExitLimitFromCond(L, BO->getOperand(1), TBB, FBB);
4402 if (BO->getOpcode() == Instruction::Or) {
4404 ExitLimit EL0 = ComputeExitLimitFromCond(L, BO->getOperand(0), TBB, FBB);
4405 ExitLimit EL1 = ComputeExitLimitFromCond(L, BO
[all...]
H A DScalarEvolutionExpander.cpp193 Instruction *BO = cast<Instruction>(Builder.CreateBinOp(Opcode, LHS, RHS)); local
194 BO->setDebugLoc(SaveInsertPt->getDebugLoc());
195 rememberInstruction(BO);
201 return BO;
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/
H A DInstrTypes.h198 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...]
H A DIRBuilder.h527 BinaryOperator *BO = Insert(BinaryOperator::Create(Opc, LHS, RHS), Name); local
528 if (HasNUW) BO->setHasNoUnsignedWrap();
529 if (HasNSW) BO->setHasNoSignedWrap();
530 return BO;
772 BinaryOperator *BO = Insert(BinaryOperator::CreateNeg(V), Name);
773 if (HasNUW) BO->setHasNoUnsignedWrap();
774 if (HasNSW) BO->setHasNoSignedWrap();
775 return BO;
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp212 BinaryOperator *BO = cast<BinaryOperator>(I); local
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);
254 BinaryOperator *BO = cast<BinaryOperator>(I); local
[all...]
H A DInstCombineSelect.cpp186 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(), local
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;
269 BinaryOperator *BO = BinaryOperator::Create(FVI_BO->getOpcode(), local
[all...]
H A DInstCombineMulDivRem.cpp183 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 DInstCombineVectorOps.cpp42 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(I))
43 if (BO->hasOneUse() &&
44 (CheapToScalarize(BO->getOperand(0), isConstant) ||
45 CheapToScalarize(BO->getOperand(1), isConstant)))
148 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(I)) {
150 CheapToScalarize(BO, isa<ConstantInt>(EI.getOperand(1)))) {
152 Builder->CreateExtractElement(BO->getOperand(0), EI.getOperand(1),
155 Builder->CreateExtractElement(BO->getOperand(1), EI.getOperand(1),
157 return BinaryOperator::Create(BO->getOpcode(), newEI0, newEI1);
H A DInstCombineCompares.cpp1330 BinaryOperator *BO = cast<BinaryOperator>(LHSI); local
1332 if (Instruction *Res = FoldICmpShrCst(ICI, BO, ShAmt))
1337 if (ICI.isEquality() && BO->isExact() && BO->hasOneUse()) {
1339 return new ICmpInst(ICI.getPredicate(), BO->getOperand(0), RHS);
1395 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(LHSI)) {
1396 switch (BO->getOpcode()) {
1399 if (RHSV == 0 && isa<ConstantInt>(BO->getOperand(1)) &&BO->hasOneUse()){
1400 const APInt &V = cast<ConstantInt>(BO
[all...]
H A DInstCombinePHI.cpp35 if (OverflowingBinaryOperator *BO =
37 isNUW = BO->hasNoUnsignedWrap();
38 isNSW = BO->hasNoSignedWrap();
423 if (OverflowingBinaryOperator *BO =
425 isNUW = BO->hasNoUnsignedWrap();
426 isNSW = BO->hasNoSignedWrap();
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Scalar/
H A DReassociate.cpp518 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); local
587 if (Opcode == Instruction::Mul && BO && BinaryOperator::isNeg(BO)) {
589 BO = LowerNegateToMultiply(BO);
590 DEBUG(dbgs() << *BO << '
963 BinaryOperator *BO = isReassociableOp(V, Instruction::Mul); local
1026 BinaryOperator *BO = isReassociableOp(V, Instruction::Mul); local
[all...]
H A DJumpThreading.cpp129 bool ProcessBranchOnXOR(BinaryOperator *BO);
449 } else if (BinaryOperator *BO = dyn_cast<BinaryOperator>(I)) {
452 if (ConstantInt *CI = dyn_cast<ConstantInt>(BO->getOperand(1))) {
454 ComputeValueKnownInPredecessors(BO->getOperand(0), BB, LHSVals,
460 Constant *Folded = ConstantExpr::get(BO->getOpcode(), V, CI);
1192 bool JumpThreading::ProcessBranchOnXOR(BinaryOperator *BO) { argument
1193 BasicBlock *BB = BO->getParent();
1197 if (isa<ConstantInt>(BO->getOperand(0)) ||
1198 isa<ConstantInt>(BO->getOperand(1)))
1226 if (!ComputeValueKnownInPredecessors(BO
[all...]
H A DLoopUnswitch.cpp361 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(Cond))
362 if (BO->getOpcode() == Instruction::And ||
363 BO->getOpcode() == Instruction::Or) {
367 if (Value *LHS = FindLIVLoopCondition(BO->getOperand(0), L, Changed))
369 if (Value *RHS = FindLIVLoopCondition(BO->getOperand(1), L, Changed))
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Utils/
H A DIntegerDivision.cpp351 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint()); local
352 if (!BO || BO->getOpcode() != Instruction::URem)
355 Rem = BO;
404 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint()); local
405 if (!BO || BO->getOpcode() != Instruction::UDiv)
408 Div = BO;
/macosx-10.10.1/llvmCore-3425.0.34/lib/TableGen/
H A DRecord.cpp219 Init *StringRecTy::convertValue(UnOpInit *BO) { argument
220 if (BO->getOpcode() == UnOpInit::CAST) {
221 Init *L = BO->getOperand()->convertInitializerTo(this);
223 if (L != BO->getOperand())
225 return BO;
228 return convertValue((TypedInit*)BO);
231 Init *StringRecTy::convertValue(BinOpInit *BO) { argument
232 if (BO->getOpcode() == BinOpInit::STRCONCAT) {
233 Init *L = BO->getLHS()->convertInitializerTo(this);
234 Init *R = BO
288 convertValue(UnOpInit *BO) argument
299 convertValue(BinOpInit *BO) argument
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/PowerPC/
H A DPPCJITInfo.cpp38 #define BUILD_BCCTRx(BO,BI,LINK) \
39 ((19 << 26) | ((BO) << 21) | ((BI) << 16) | (528 << 1) | ((LINK) & 1))
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/TableGen/
H A DRecord.h270 virtual Init *convertValue( UnOpInit *BO);
271 virtual Init *convertValue( BinOpInit *BO);
272 virtual Init *convertValue( TernOpInit *BO) { return RecTy::convertValue(BO);} argument
358 virtual Init *convertValue( UnOpInit *BO);
359 virtual Init *convertValue( BinOpInit *BO);
360 virtual Init *convertValue( TernOpInit *BO) { return RecTy::convertValue(BO);} argument
/macosx-10.10.1/emacs-93/emacs/lisp/language/
H A Dthai-util.el97 (?,T:(B consonant "LETTER BO BAIMAI") ; 0xBA
193 (?$,1Bz(B consonant "LETTER BO BAIMAI")
/macosx-10.10.1/cxxfilt-11/cxxfilt/opcodes/
H A Dppc-opc.c149 This sets the y bit of the BO field appropriately. */
161 This sets the y bit of the BO field appropriately. */
190 /* The BO field in a B form instruction. Certain values are macro
192 #define BO BI + 1
196 /* The BO field in a B form instruction when the + or - modifier is
197 used. This is like the BO field, but it must be even. */
198 #define BOE BO + 1
680 (ie. not Power4 compatible), we set the y bit of the BO field to 1
687 in BO field, the "a" bit is 00010 for branch on CR(BI) and 01000
780 /* Check for legal values of a BO fiel
[all...]
/macosx-10.10.1/vim-55/runtime/keymap/
H A Dkana.vim486 BO ���

Completed in 298 milliseconds

12