/external/llvm/lib/Transforms/InstCombine/ |
InstCombineAddSub.cpp | 994 static Value *checkForNegativeOperand(BinaryOperator &I, [all...] |
InstCombineAndOrXor.cpp | 28 if (BinaryOperator::isNot(V)) { 29 Value *Operand = BinaryOperator::getNotArgument(V); 107 Value *InstCombiner::SimplifyBSwap(BinaryOperator &I) { 163 BinaryOperator &TheAnd) { 175 return BinaryOperator::CreateXor(And, Together); 184 return BinaryOperator::CreateAnd(Or, AndRHS); 195 return BinaryOperator::CreateOr(And, OpRHS); 227 return BinaryOperator::CreateXor(NewAnd, AndRHS); 287 return BinaryOperator::CreateAnd(ShVal, AndRHS, TheAnd.getName()); [all...] |
InstCombineSelect.cpp | 148 if (!isa<BinaryOperator>(TI)) 184 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(TI)) { 186 return BinaryOperator::Create(BO->getOpcode(), MatchOp, NewSI); 188 return BinaryOperator::Create(BO->getOpcode(), NewSI, MatchOp); 231 BinaryOperator *TVI_BO = cast<BinaryOperator>(TVI); 232 BinaryOperator *BO = BinaryOperator::Create(TVI_BO->getOpcode(), 266 BinaryOperator *FVI_BO = cast<BinaryOperator>(FVI) [all...] |
InstCombineSimplifyDemanded.cpp | 355 BinaryOperator::CreateOr(I->getOperand(0), I->getOperand(1), 369 Instruction *And = BinaryOperator::CreateAnd(I->getOperand(0), AndC); 394 Instruction *NewAnd = BinaryOperator::CreateAnd(I->getOperand(0), AndC); 399 Instruction *NewXor = BinaryOperator::CreateXor(NewAnd, XorC); 542 BinaryOperator &BinOP = *cast<BinaryOperator>(I); 621 Instruction *NewVal = BinaryOperator::CreateLShr( 665 BinaryOperator *NewVal = BinaryOperator::CreateLShr(I->getOperand(0), 667 NewVal->setIsExact(cast<BinaryOperator>(I)->isExact()) [all...] |
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
AtomicReference.java | 9 import java.util.function.BinaryOperator; 172 BinaryOperator<V> accumulatorFunction) { 196 BinaryOperator<V> accumulatorFunction) {
|
/external/cmockery/cmockery_0_1_2/src/example/ |
calculator.c | 80 typedef int (*BinaryOperator)(int a, int b); 85 BinaryOperator function; 123 static BinaryOperator find_operator_function_by_string( 194 const BinaryOperator function = find_operator_function_by_string(
|
calculator_test.c | 34 typedef int (*BinaryOperator)(int a, int b); 38 BinaryOperator function; 45 extern BinaryOperator find_operator_function_by_string( 163 {"+", (BinaryOperator)0x12345678}, 164 {"-", (BinaryOperator)0xDEADBEEF}, 165 {"/", (BinaryOperator)0xABADCAFE},
|
/external/llvm/examples/ModuleMaker/ |
ModuleMaker.cpp | 49 Instruction *Add = BinaryOperator::Create(Instruction::Add, Two, Three,
|
/external/llvm/lib/Transforms/Utils/ |
IntegerDivision.cpp | 376 bool llvm::expandRemainder(BinaryOperator *Rem) { 407 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint()); 420 if (BinaryOperator *UDiv = dyn_cast<BinaryOperator>(Builder.GetInsertPoint())) { 436 bool llvm::expandDivision(BinaryOperator *Div) { 467 BinaryOperator *BO = dyn_cast<BinaryOperator>(Builder.GetInsertPoint()); 489 bool llvm::expandRemainderUpTo32Bits(BinaryOperator *Rem) { 531 return expandRemainder(cast<BinaryOperator>(ExtRem)) [all...] |
/external/clang/lib/Analysis/ |
BodyFarm.cpp | 47 /// Create a new BinaryOperator representing a simple assignment. 48 BinaryOperator *makeAssignment(const Expr *LHS, const Expr *RHS, QualType Ty); 50 /// Create a new BinaryOperator representing a comparison. 51 BinaryOperator *makeComparison(const Expr *LHS, const Expr *RHS, 52 BinaryOperator::Opcode Op); 86 BinaryOperator *ASTMaker::makeAssignment(const Expr *LHS, const Expr *RHS, 88 return new (C) BinaryOperator(const_cast<Expr*>(LHS), const_cast<Expr*>(RHS), 93 BinaryOperator *ASTMaker::makeComparison(const Expr *LHS, const Expr *RHS, 94 BinaryOperator::Opcode Op) { 95 assert(BinaryOperator::isLogicalOp(Op) | [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
SValBuilder.h | 93 virtual SVal evalBinOpNN(ProgramStateRef state, BinaryOperator::Opcode op, 98 virtual SVal evalBinOpLL(ProgramStateRef state, BinaryOperator::Opcode op, 104 virtual SVal evalBinOpLN(ProgramStateRef state, BinaryOperator::Opcode op, 112 SVal makeSymExprValNN(ProgramStateRef state, BinaryOperator::Opcode op, 115 SVal evalBinOp(ProgramStateRef state, BinaryOperator::Opcode op, 276 NonLoc makeNonLoc(const SymExpr *lhs, BinaryOperator::Opcode op, 279 NonLoc makeNonLoc(const llvm::APSInt& rhs, BinaryOperator::Opcode op, 282 NonLoc makeNonLoc(const SymExpr *lhs, BinaryOperator::Opcode op,
|
SymbolManager.h | 346 BinaryOperator::Opcode Op; 350 BinarySymExpr(Kind k, BinaryOperator::Opcode op, QualType t) 358 BinaryOperator::Opcode getOpcode() const { return Op; } 373 SymIntExpr(const SymExpr *lhs, BinaryOperator::Opcode op, 383 BinaryOperator::Opcode op, const llvm::APSInt& rhs, 408 IntSymExpr(const llvm::APSInt& lhs, BinaryOperator::Opcode op, 418 BinaryOperator::Opcode op, const SymExpr *rhs, 443 SymSymExpr(const SymExpr *lhs, BinaryOperator::Opcode op, const SymExpr *rhs, 453 BinaryOperator::Opcode op, const SymExpr *rhs, QualType t) { 526 const SymIntExpr *getSymIntExpr(const SymExpr *lhs, BinaryOperator::Opcode op [all...] |
/external/clang/lib/ARCMigrate/ |
TransZeroOutPropsInDealloc.cpp | 91 bool VisitBinaryOperator(BinaryOperator *BOE) { 154 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(E)) 161 bool isZeroingPropIvar(BinaryOperator *BOE) { 194 BinaryOperator *BO = dyn_cast<BinaryOperator>(PO->getSyntacticForm());
|
TransARCAssign.cpp | 42 bool VisitBinaryOperator(BinaryOperator *Exp) {
|
/external/clang/lib/StaticAnalyzer/Core/ |
SimpleSValBuilder.cpp | 36 SVal evalBinOpNN(ProgramStateRef state, BinaryOperator::Opcode op, 38 SVal evalBinOpLL(ProgramStateRef state, BinaryOperator::Opcode op, 40 SVal evalBinOpLN(ProgramStateRef state, BinaryOperator::Opcode op, 47 SVal MakeSymIntVal(const SymExpr *LHS, BinaryOperator::Opcode op, 210 BinaryOperator::Opcode op, 279 if (BinaryOperator::isComparisonOp(op)) { 305 BinaryOperator::Opcode op, 369 if (BinaryOperator::isComparisonOp(op)) { 377 } else if (!BinaryOperator::isShiftOp(op)) { 400 op = BinaryOperator::reverseComparisonOp(op) [all...] |
/external/llvm/lib/Analysis/ |
CostModel.cpp | 158 static bool matchPairwiseReductionAtLevel(const BinaryOperator *BinOp, 214 BinaryOperator *NextLevelBinOp = nullptr; 216 if (!(NextLevelBinOp = dyn_cast<BinaryOperator>(NextLevelOp))) 252 BinaryOperator *RdxStart = dyn_cast<BinaryOperator>(ReduxRoot->getOperand(0)); 289 getShuffleAndOtherOprd(BinaryOperator *B) { 315 BinaryOperator *RdxStart = dyn_cast<BinaryOperator>(ReduxRoot->getOperand(0)); 342 BinaryOperator *BinOp; 343 if (!(BinOp = dyn_cast<BinaryOperator>(RdxOp)) [all...] |
PHITransAddr.cpp | 259 bool isNSW = cast<BinaryOperator>(Inst)->hasNoSignedWrap(); 260 bool isNUW = cast<BinaryOperator>(Inst)->hasNoUnsignedWrap(); 266 if (BinaryOperator *BOp = dyn_cast<BinaryOperator>(LHS)) 295 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(U)) 431 BinaryOperator *Res = BinaryOperator::CreateAdd(OpVal, Inst->getOperand(1), 434 Res->setHasNoSignedWrap(cast<BinaryOperator>(Inst)->hasNoSignedWrap()); 435 Res->setHasNoUnsignedWrap(cast<BinaryOperator>(Inst)->hasNoUnsignedWrap()) [all...] |
Lint.cpp | 86 void visitXor(BinaryOperator &I); 87 void visitSub(BinaryOperator &I); 88 void visitLShr(BinaryOperator &I); 89 void visitAShr(BinaryOperator &I); 90 void visitShl(BinaryOperator &I); 91 void visitSDiv(BinaryOperator &I); 92 void visitUDiv(BinaryOperator &I); 93 void visitSRem(BinaryOperator &I); 94 void visitURem(BinaryOperator &I); 476 void Lint::visitXor(BinaryOperator &I) [all...] |
/libcore/ojluni/src/main/java/java/util/stream/ |
Collectors.java | 51 import java.util.function.BinaryOperator; 125 * {@link #toMap(Function, Function, BinaryOperator) toMap()}, which always 132 private static <T> BinaryOperator<T> throwingMerger() { 150 private final BinaryOperator<A> combiner; 156 BinaryOperator<A> combiner, 168 BinaryOperator<A> combiner, 184 public BinaryOperator<A> combiner() { 305 * {@code BinaryOperator<Map>} that merges the contents of its right 317 BinaryOperator<M> mapMerger(BinaryOperator<V> mergeFunction) [all...] |
/external/llvm/lib/IR/ |
Instructions.cpp | 418 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, 421 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, [all...] |
/external/llvm/lib/Transforms/Scalar/ |
SeparateConstOffsetFromGEP.cpp | 248 APInt findInEitherOperand(BinaryOperator *BO, bool SignExtended, 296 bool CanTraceInto(bool SignExtended, bool ZeroExtended, BinaryOperator *BO, 447 BinaryOperator *BO, 508 APInt ConstantOffsetExtractor::findInEitherOperand(BinaryOperator *BO, 545 } else if (BinaryOperator *BO = dyn_cast<BinaryOperator>(V)) { 620 // Function find only trace into BinaryOperator and CastInst. 621 BinaryOperator *BO = cast<BinaryOperator>(U); 627 BinaryOperator *NewBO = nullptr [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonOptimizeSZextends.cpp | 108 BinaryOperator *Ashr = dyn_cast<BinaryOperator>(&I);
|
/external/llvm/unittests/Transforms/Utils/ |
IntegerDivision.cpp | 46 expandDivision(cast<BinaryOperator>(Div)); 76 expandDivision(cast<BinaryOperator>(Div)); 106 expandRemainder(cast<BinaryOperator>(Rem)); 136 expandRemainder(cast<BinaryOperator>(Rem)); 167 expandDivision(cast<BinaryOperator>(Div)); 197 expandDivision(cast<BinaryOperator>(Div)); 227 expandRemainder(cast<BinaryOperator>(Rem)); 257 expandRemainder(cast<BinaryOperator>(Rem));
|
Cloning.cpp | 64 BinaryOperator *Add = BinaryOperator::Create(Instruction::Add, V, V); 65 BinaryOperator *Sub = BinaryOperator::Create(Instruction::Sub, V, V); 66 BinaryOperator *Mul = BinaryOperator::Create(Instruction::Mul, V, V); 68 BinaryOperator *AddClone = this->clone(Add); 69 BinaryOperator *SubClone = this->clone(Sub); 70 BinaryOperator *MulClone = this->clone(Mul); 148 BinaryOperator *SDiv = BinaryOperator::Create(Instruction::SDiv, V, V) [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
AMDILPeepholeOptimizer.cpp | 602 LHSSrc = BinaryOperator::Create(Instruction::LShr, LHSSrc, offset, 605 LHSSrc = BinaryOperator::Create(Instruction::LShr, LHSSrc, offset, 624 LHSSrc = BinaryOperator::Create(Instruction::LShr, LHSSrc, offset, 627 LHSSrc = BinaryOperator::Create(Instruction::LShr, LHSSrc, offset, 732 BinaryOperator *ShiftInst = dyn_cast<BinaryOperator>(inst->getOperand(0)); 867 BinaryOperator *lhs = 868 BinaryOperator::Create(Instruction::And, CI->getOperand(0), 870 BinaryOperator *rhs = 871 BinaryOperator::Create(Instruction::Xor, CI->getOperand(0), negOneConst [all...] |