/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafetyLogical.h | 54 class BinOp : public LExpr { class in namespace:clang::threadSafety::lexpr 58 BinOp(LExpr *LHS, LExpr *RHS, Opcode Code) : LExpr(Code), LHS(LHS), RHS(RHS) {} function in class:clang::threadSafety::lexpr::BinOp 68 class And : public BinOp { 70 And(LExpr *LHS, LExpr *RHS) : BinOp(LHS, RHS, LExpr::And) {} 75 class Or : public BinOp { 77 Or(LExpr *LHS, LExpr *RHS) : BinOp(LHS, RHS, LExpr::Or) {}
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Analysis/ |
H A D | ThreadSafetyLogical.cpp | 23 const auto LeftAndOperator = [=](const BinOp *A) { 27 const auto RightAndOperator = [=](const BinOp *A) { 33 const auto LeftOrOperator = [=](const BinOp *A) { 37 const auto RightOrOperator = [=](const BinOp *A) {
|
H A D | Consumed.cpp | 500 void VisitBinaryOperator(const BinaryOperator *BinOp); 701 void ConsumedStmtVisitor::VisitBinaryOperator(const BinaryOperator *BinOp) { argument 702 switch (BinOp->getOpcode()) { 705 InfoEntry LEntry = findInfo(BinOp->getLHS()), 706 REntry = findInfo(BinOp->getRHS()); 725 PropagationMap.insert(PairType(BinOp, PropagationInfo(BinOp, 726 static_cast<EffectiveOp>(BinOp->getOpcode() == BO_LOr), LTest, RTest))); 732 forwardInfo(BinOp->getLHS(), BinOp); [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86LegalizerInfo.cpp | 79 for (unsigned BinOp : {G_SUB, G_MUL, G_AND, G_OR, G_XOR}) 80 setLegalizeScalarToDifferentSizeStrategy(BinOp, 0, widen_1); 116 for (unsigned BinOp : {G_ADD, G_SUB, G_MUL, G_AND, G_OR, G_XOR}) 118 setAction({BinOp, Ty}, Legal); 212 for (unsigned BinOp : {G_ADD, G_SUB, G_MUL, G_AND, G_OR, G_XOR}) 213 setAction({BinOp, s64}, Legal); 288 for (unsigned BinOp : {G_FADD, G_FSUB, G_FMUL, G_FDIV}) 290 setAction({BinOp, Ty}, Legal); 324 for (unsigned BinOp : {G_FADD, G_FSUB, G_FMUL, G_FDIV}) 326 setAction({BinOp, T [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | CorrelatedValuePropagation.cpp | 446 static bool processBinOp(BinaryOperator *BinOp, LazyValueInfo *LVI); 552 BinaryOperator *BinOp = BinaryOperator::Create( local 554 BinOp->setDebugLoc(SI->getDebugLoc()); 555 setDeducedOverflowingFlags(BinOp, Opcode, NSW, NUW); 557 SI->replaceAllUsesWith(BinOp); 562 if (auto *BO = dyn_cast<BinaryOperator>(BinOp)) 715 if (auto *BinOp = dyn_cast<BinaryOperator>(BO)) 716 if (BinOp->getOpcode() == Instruction::SDiv) 717 BinOp->setIsExact(Instr->isExact()); 759 if (auto *BinOp 930 processBinOp(BinaryOperator *BinOp, LazyValueInfo *LVI) argument 968 processAnd(BinaryOperator *BinOp, LazyValueInfo *LVI) argument [all...] |
H A D | LowerExpectIntrinsic.cpp | 151 BinaryOperator *BinOp = dyn_cast<BinaryOperator>(V); local 152 if (!BinOp || BinOp->getOpcode() != Instruction::Xor) 155 ConstantInt *CInt = dyn_cast<ConstantInt>(BinOp->getOperand(1)); 159 V = BinOp->getOperand(0); 160 Operations.push_back(BinOp);
|
H A D | Float2Int.cpp | 268 auto BinOp = (Instruction::BinaryOps) I->getOpcode(); 269 return Ops[0].binaryOp(BinOp, Ops[1]);
|
H A D | EarlyCSE.cpp | 213 if (BinaryOperator *BinOp = dyn_cast<BinaryOperator>(Inst)) { 214 Value *LHS = BinOp->getOperand(0); 215 Value *RHS = BinOp->getOperand(1); 216 if (BinOp->isCommutative() && BinOp->getOperand(0) > BinOp->getOperand(1)) 219 return hash_combine(BinOp->getOpcode(), LHS, RHS);
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
H A D | WebAssemblyWasmObjectWriter.cpp | 53 if (auto BinOp = dyn_cast<MCBinaryExpr>(Expr)) { 54 auto SectionLHS = getFixupSection(BinOp->getLHS()); 55 auto SectionRHS = getFixupSection(BinOp->getRHS());
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/RISCV/ |
H A D | RISCVExpandAtomicPseudoInsts.cpp | 51 MachineBasicBlock::iterator MBBI, AtomicRMWInst::BinOp, 56 AtomicRMWInst::BinOp, bool IsMasked, int Width, 220 AtomicRMWInst::BinOp BinOp, int Width) { 235 switch (BinOp) { 237 llvm_unreachable("Unexpected AtomicRMW BinOp"); 281 MachineBasicBlock *DoneMBB, AtomicRMWInst::BinOp BinOp, int Width) { 301 switch (BinOp) { 303 llvm_unreachable("Unexpected AtomicRMW BinOp"); 216 doAtomicBinOpExpansion(const RISCVInstrInfo *TII, MachineInstr &MI, DebugLoc DL, MachineBasicBlock *ThisMBB, MachineBasicBlock *LoopMBB, MachineBasicBlock *DoneMBB, AtomicRMWInst::BinOp BinOp, int Width) argument 278 doMaskedAtomicBinOpExpansion( const RISCVInstrInfo *TII, MachineInstr &MI, DebugLoc DL, MachineBasicBlock *ThisMBB, MachineBasicBlock *LoopMBB, MachineBasicBlock *DoneMBB, AtomicRMWInst::BinOp BinOp, int Width) argument 341 expandAtomicBinOp( MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, AtomicRMWInst::BinOp BinOp, bool IsMasked, int Width, MachineBasicBlock::iterator &NextMBBI) argument 390 expandAtomicMinMaxOp( MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, AtomicRMWInst::BinOp BinOp, bool IsMasked, int Width, MachineBasicBlock::iterator &NextMBBI) argument [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | ConstantRange.h | 131 /// Produce the largest range containing all X such that "X BinOp Y" is 147 static ConstantRange makeGuaranteedNoWrapRegion(Instruction::BinaryOps BinOp, 151 /// Produce the range that contains X if and only if "X BinOp Other" does 153 static ConstantRange makeExactNoWrapRegion(Instruction::BinaryOps BinOp, 346 ConstantRange binaryOp(Instruction::BinaryOps BinOp, 353 ConstantRange overflowingBinaryOp(Instruction::BinaryOps BinOp,
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
H A D | Iterator.cpp | 238 auto BinOp = (Op == OO_Plus || Op == OO_PlusEqual) ? BO_Add : BO_Sub; local 248 BinOp = (BinOp == BO_Add) ? BO_Sub : BO_Add; 251 Pos->setTo(SVB.evalBinOp(State, BinOp,
|
H A D | NullabilityChecker.cpp | 1030 if (auto *BinOp = dyn_cast<BinaryOperator>(S)) { 1031 if (BinOp->getOpcode() == BO_Assign) 1032 return BinOp->getRHS(); 1189 const auto *BinOp = dyn_cast<BinaryOperator>(S); local 1194 const Stmt *NullabilitySource = BinOp ? BinOp->getRHS() : S; 1202 const Stmt *NullabilitySource = BinOp ? BinOp->getLHS() : S;
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUAtomicOptimizer.cpp | 36 AtomicRMWInst::BinOp Op; 51 Value *buildReduction(IRBuilder<> &B, AtomicRMWInst::BinOp Op, Value *V, 53 Value *buildScan(IRBuilder<> &B, AtomicRMWInst::BinOp Op, Value *V, 56 void optimizeAtomic(Instruction &I, AtomicRMWInst::BinOp Op, unsigned ValIdx, 120 AtomicRMWInst::BinOp Op = I.getOperation(); 166 AtomicRMWInst::BinOp Op; 249 static Value *buildNonAtomicBinOp(IRBuilder<> &B, AtomicRMWInst::BinOp Op, 287 AtomicRMWInst::BinOp Op, Value *V, 325 Value *AMDGPUAtomicOptimizer::buildScan(IRBuilder<> &B, AtomicRMWInst::BinOp Op, 427 static APInt getIdentityValueForAtomicOp(AtomicRMWInst::BinOp O [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Frontend/OpenMP/ |
H A D | OMPIRBuilder.h | 913 /// Emit atomic update for constructs: X = X BinOp Expr ,or X = Expr BinOp X 931 /// (e.g. true for X = X BinOp Expr) 937 AtomicRMWInst::BinOp RMWOp, 946 AtomicRMWInst::BinOp RMWOp); 983 /// Emit atomic update for constructs: X = X BinOp Expr ,or X = Expr BinOp X 1000 /// (e.g. true for X = X BinOp Expr) 1006 AtomicRMWInst::BinOp RMWOp, 1011 /// V = X; X = X BinOp Exp [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter2/ |
H A D | toy.cpp | 284 int BinOp = CurTok; local 292 // If BinOp binds less tightly with RHS than the operator after RHS, let 303 std::make_unique<BinaryExprAST>(BinOp, std::move(LHS), std::move(RHS));
|
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | StmtVisitor.h | 47 if (PTR(BinaryOperator) BinOp = dyn_cast<BinaryOperator>(S)) { 48 switch (BinOp->getOpcode()) {
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombinePHI.cpp | 461 BinaryOperator *BinOp = cast<BinaryOperator>(FirstInst); local 463 BinaryOperator::Create(BinOp->getOpcode(), LHSVal, RHSVal); 916 if (BinaryOperator *BinOp = dyn_cast<BinaryOperator>(FirstInst)) { 917 BinOp = BinaryOperator::Create(BinOp->getOpcode(), PhiVal, ConstantOp); 918 BinOp->copyIRFlags(PN.getIncomingValue(0)); 921 BinOp->andIRFlags(PN.getIncomingValue(i)); 923 PHIArgMergedDebugLoc(BinOp, PN); 924 return BinOp;
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | ConstantRange.cpp | 231 ConstantRange::makeGuaranteedNoWrapRegion(Instruction::BinaryOps BinOp, argument 236 assert(Instruction::isBinaryOp(BinOp) && "Binary operators only!"); 245 switch (BinOp) { 302 ConstantRange ConstantRange::makeExactNoWrapRegion(Instruction::BinaryOps BinOp, argument 307 return makeGuaranteedNoWrapRegion(BinOp, ConstantRange(Other), NoWrapKind); 797 ConstantRange ConstantRange::binaryOp(Instruction::BinaryOps BinOp, 799 assert(Instruction::isBinaryOp(BinOp) && "Binary operators only!"); 801 switch (BinOp) { 842 ConstantRange ConstantRange::overflowingBinaryOp(Instruction::BinaryOps BinOp, 845 assert(Instruction::isBinaryOp(BinOp) [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter4/ |
H A D | toy.cpp | 321 int BinOp = CurTok; local 329 // If BinOp binds less tightly with RHS than the operator after RHS, let 340 std::make_unique<BinaryExprAST>(BinOp, std::move(LHS), std::move(RHS));
|
/netbsd-current/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter3/ |
H A D | toy.cpp | 311 int BinOp = CurTok; local 319 // If BinOp binds less tightly with RHS than the operator after RHS, let 330 std::make_unique<BinaryExprAST>(BinOp, std::move(LHS), std::move(RHS));
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldChecker.cpp | 645 BinOpToken BinOp; 646 std::tie(BinOp, RemainingExpr) = parseBinOpToken(RemainingExpr); 649 if (BinOp == BinOpToken::Invalid) 662 EvalResult ThisResult(computeBinOpResult(BinOp, LHSResult, RHSResult));
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 95 BinaryOperator::Opcode Opcode; // Opcode of BinOp to perform 140 if (const auto *BinOp = dyn_cast<BinaryOperator>(E)) { 141 QualType LHSType = BinOp->getLHS()->getType(); 142 QualType RHSType = BinOp->getRHS()->getType(); 2394 BinOpInfo BinOp; local 2395 BinOp.LHS = InVal; 2396 BinOp.RHS = llvm::ConstantInt::get(InVal->getType(), 1, false); 2397 BinOp.Ty = E->getType(); 2398 BinOp.Opcode = IsInc ? BO_Add : BO_Sub; 2399 BinOp [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/lib/Index/ |
H A D | IndexBody.cpp | 236 if (const auto *BinOp = dyn_cast<BinaryOperator>(E)) 237 E = BinOp->getLHS();
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | IVDescriptors.cpp | 1086 const BinaryOperator *BinOp = dyn_cast<BinaryOperator>(Val); 1087 if (!BinOp) 1089 Value *Op0 = BinOp->getOperand(0); 1090 Value *Op1 = BinOp->getOperand(1);
|