HomeSort by relevance Sort by last modified time
    Searched defs:BO (Results 26 - 50 of 96) sorted by null

12 3 4

  /prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/IR/
NoFolder.h 44 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS);
45 if (HasNUW) BO->setHasNoUnsignedWrap();
46 if (HasNSW) BO->setHasNoSignedWrap();
47 return BO;
64 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS);
65 if (HasNUW) BO->setHasNoUnsignedWrap();
66 if (HasNSW) BO->setHasNoSignedWrap();
67 return BO;
84 BinaryOperator *BO = BinaryOperator::CreateMul(LHS, RHS);
85 if (HasNUW) BO->setHasNoUnsignedWrap()
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/IR/
NoFolder.h 44 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS);
45 if (HasNUW) BO->setHasNoUnsignedWrap();
46 if (HasNSW) BO->setHasNoSignedWrap();
47 return BO;
64 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS);
65 if (HasNUW) BO->setHasNoUnsignedWrap();
66 if (HasNSW) BO->setHasNoSignedWrap();
67 return BO;
84 BinaryOperator *BO = BinaryOperator::CreateMul(LHS, RHS);
85 if (HasNUW) BO->setHasNoUnsignedWrap()
    [all...]
  /external/clang/lib/Analysis/
ReachableCode.cpp 409 if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(S))
410 return BO->getOpcode() != BO_Comma;
514 const BinaryOperator *BO = cast<BinaryOperator>(S);
515 return BO->getOperatorLoc();
  /external/llvm/lib/Transforms/InstCombine/
InstCombineShifts.cpp 218 BinaryOperator *BO = cast<BinaryOperator>(I);
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);
    [all...]
InstCombineSelect.cpp 205 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(TI)) {
207 return BinaryOperator::Create(BO->getOpcode(), MatchOp, NewSI);
209 return BinaryOperator::Create(BO->getOpcode(), NewSI, MatchOp);
253 BinaryOperator *BO = BinaryOperator::Create(TVI_BO->getOpcode(),
255 BO->copyIRFlags(TVI_BO);
256 return BO;
283 BinaryOperator *BO = BinaryOperator::Create(FVI_BO->getOpcode(),
285 BO->copyIRFlags(FVI_BO);
286 return BO;
    [all...]
InstCombineMulDivRem.cpp 190 BinaryOperator *BO = BinaryOperator::CreateNeg(Op0, I.getName());
192 BO->setHasNoSignedWrap();
193 return BO;
207 BinaryOperator *BO = BinaryOperator::CreateMul(NewOp, Shl);
209 BO->setHasNoUnsignedWrap();
212 BO->setHasNoSignedWrap();
213 return BO;
295 BinaryOperator *BO = BinaryOperator::CreateMul(Op0v, Op1v);
299 BO->setHasNoSignedWrap();
300 return BO;
    [all...]
InstCombineVectorOps.cpp 51 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(I))
52 if (BO->hasOneUse() &&
53 (cheapToScalarize(BO->getOperand(0), isConstant) ||
54 cheapToScalarize(BO->getOperand(1), isConstant)))
202 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(I)) {
204 cheapToScalarize(BO, isa<ConstantInt>(EI.getOperand(1)))) {
206 Builder->CreateExtractElement(BO->getOperand(0), EI.getOperand(1),
209 Builder->CreateExtractElement(BO->getOperand(1), EI.getOperand(1),
211 return BinaryOperator::CreateWithCopiedFlags(BO->getOpcode(),
212 newEI0, newEI1, BO);
    [all...]
  /external/swiftshader/third_party/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...]
  /external/clang/lib/CodeGen/
CodeGenPGO.cpp 190 const BinaryOperator *BO = cast<BinaryOperator>(S);
191 if (BO->getOpcode() == BO_LAnd)
193 if (BO->getOpcode() == BO_LOr)
  /external/llvm/lib/Transforms/Scalar/
Reassociate.cpp 489 if (BinaryOperator *BO = isReassociableOp(Op, Opcode)) {
492 Worklist.push_back(std::make_pair(BO, Weight));
528 if (BinaryOperator *BO = isReassociableOp(Op, Opcode)) {
530 Worklist.push_back(std::make_pair(BO, It->second));
559 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(Op))
560 if ((Opcode == Instruction::Mul && BinaryOperator::isNeg(BO)) ||
561 (Opcode == Instruction::FMul && BinaryOperator::isFNeg(BO))) {
563 BO = LowerNegateToMultiply(BO);
564 DEBUG(dbgs() << *BO << '\n')
    [all...]
Scalarizer.cpp 91 // BinarySpliiter(BO)(Builder, X, Y, Name) uses Builder to create
92 // a binary operator like BO called Name with operands X and Y.
94 BinarySplitter(BinaryOperator &bo) : BO(bo) {}
97 return Builder.CreateBinOp(BO.getOpcode(), Op0, Op1, Name);
99 BinaryOperator &BO;
435 bool Scalarizer::visitBinaryOperator(BinaryOperator &BO) {
436 return splitBinary(BO, BinarySplitter(BO));
    [all...]
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->getOpcode() != Instruction::Or)
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Analysis/
LazyValueInfo.cpp 567 BinaryOperator *BO = dyn_cast<BinaryOperator>(BBI);
568 if (BO && !isa<ConstantInt>(BO->getOperand(1))) {
    [all...]
ScalarEvolutionExpander.cpp 167 Instruction *BO = cast<Instruction>(Builder.CreateBinOp(Opcode, LHS, RHS));
168 BO->setDebugLoc(SaveInsertPt->getDebugLoc());
169 rememberInstruction(BO);
175 return BO;
    [all...]
ValueTracking.cpp 788 BinaryOperator *BO = cast<BinaryOperator>(V);
789 if (BO->hasNoUnsignedWrap()
    [all...]
  /external/deqp/framework/common/
tcuCompressedTexture.cpp 673 const deUint8 BO = extend6To8((deUint8)((BO1 << 5) | (BO2 << 3) | BO3));
689 const int unclampedB = (x * ((int)BH-(int)BO) + y * ((int)BV-(int)BO) + 4*(int)BO + 2) >> 2;
    [all...]
  /external/llvm/include/llvm/IR/
InstrTypes.h 393 BinaryOperator *BO = Create(Opc, V1, V2, Name);
394 BO->copyIRFlags(CopyBO);
395 return BO;
400 BinaryOperator *BO = Create(Opc, V1, V2, Name);
401 BO->setHasNoSignedWrap(true);
402 return BO;
406 BinaryOperator *BO = Create(Opc, V1, V2, Name, BB);
407 BO->setHasNoSignedWrap(true);
408 return BO;
412 BinaryOperator *BO = Create(Opc, V1, V2, Name, I)
    [all...]
  /external/llvm/lib/Analysis/
LazyValueInfo.cpp 686 BinaryOperator *BO = dyn_cast<BinaryOperator>(BBI);
687 if (BO && isa<ConstantInt>(BO->getOperand(1))) {
    [all...]
  /external/llvm/lib/Target/Hexagon/
HexagonEarlyIfConv.cpp 783 const MachineOperand &RO = PN->getOperand(i), &BO = PN->getOperand(i+1);
784 if (BO.getMBB() == FP.SplitB)
786 else if (BO.getMBB() == FP.TrueB)
788 else if (BO.getMBB() == FP.FalseB)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/IR/
InstrTypes.h 407 BinaryOperator *BO = Create(Opc, V1, V2, Name);
408 BO->copyIRFlags(CopyBO);
409 return BO;
414 BinaryOperator *BO = Create(Opc, V1, V2, Name);
415 BO->setHasNoSignedWrap(true);
416 return BO;
420 BinaryOperator *BO = Create(Opc, V1, V2, Name, BB);
421 BO->setHasNoSignedWrap(true);
422 return BO;
426 BinaryOperator *BO = Create(Opc, V1, V2, Name, I)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/IR/
InstrTypes.h 389 BinaryOperator *BO = Create(Opc, V1, V2, Name);
390 BO->copyIRFlags(CopyBO);
391 return BO;
396 BinaryOperator *BO = Create(Opc, V1, V2, Name);
397 BO->setHasNoSignedWrap(true);
398 return BO;
402 BinaryOperator *BO = Create(Opc, V1, V2, Name, BB);
403 BO->setHasNoSignedWrap(true);
404 return BO;
408 BinaryOperator *BO = Create(Opc, V1, V2, Name, I)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/IR/
InstrTypes.h 389 BinaryOperator *BO = Create(Opc, V1, V2, Name);
390 BO->copyIRFlags(CopyBO);
391 return BO;
396 BinaryOperator *BO = Create(Opc, V1, V2, Name);
397 BO->setHasNoSignedWrap(true);
398 return BO;
402 BinaryOperator *BO = Create(Opc, V1, V2, Name, BB);
403 BO->setHasNoSignedWrap(true);
404 return BO;
408 BinaryOperator *BO = Create(Opc, V1, V2, Name, I)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/IR/
InstrTypes.h 389 BinaryOperator *BO = Create(Opc, V1, V2, Name);
390 BO->copyIRFlags(CopyBO);
391 return BO;
396 BinaryOperator *BO = Create(Opc, V1, V2, Name);
397 BO->setHasNoSignedWrap(true);
398 return BO;
402 BinaryOperator *BO = Create(Opc, V1, V2, Name, BB);
403 BO->setHasNoSignedWrap(true);
404 return BO;
408 BinaryOperator *BO = Create(Opc, V1, V2, Name, I)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/IR/
InstrTypes.h 389 BinaryOperator *BO = Create(Opc, V1, V2, Name);
390 BO->copyIRFlags(CopyBO);
391 return BO;
396 BinaryOperator *BO = Create(Opc, V1, V2, Name);
397 BO->setHasNoSignedWrap(true);
398 return BO;
402 BinaryOperator *BO = Create(Opc, V1, V2, Name, BB);
403 BO->setHasNoSignedWrap(true);
404 return BO;
408 BinaryOperator *BO = Create(Opc, V1, V2, Name, I)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/IR/
InstrTypes.h 389 BinaryOperator *BO = Create(Opc, V1, V2, Name);
390 BO->copyIRFlags(CopyBO);
391 return BO;
396 BinaryOperator *BO = Create(Opc, V1, V2, Name);
397 BO->setHasNoSignedWrap(true);
398 return BO;
402 BinaryOperator *BO = Create(Opc, V1, V2, Name, BB);
403 BO->setHasNoSignedWrap(true);
404 return BO;
408 BinaryOperator *BO = Create(Opc, V1, V2, Name, I)
    [all...]

Completed in 1836 milliseconds

12 3 4