Home
last modified time | relevance | path

Searched refs:BinaryOp (Results 1 – 20 of 20) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-fuzzer/proto-to-cxx/
H A Dproto_to_cxx.cpp22 std::ostream &operator<<(std::ostream &os, const BinaryOp &x);
41 std::ostream &operator<<(std::ostream &os, const BinaryOp &x) { in operator <<()
44 case BinaryOp::PLUS: os << "+"; break; in operator <<()
45 case BinaryOp::MINUS: os << "-"; break; in operator <<()
46 case BinaryOp::MUL: os << "*"; break; in operator <<()
47 case BinaryOp::DIV: os << "/"; break; in operator <<()
48 case BinaryOp::MOD: os << "%"; break; in operator <<()
49 case BinaryOp::XOR: os << "^"; break; in operator <<()
50 case BinaryOp::AND: os << "&"; break; in operator <<()
51 case BinaryOp::OR: os << "|"; break; in operator <<()
[all …]
H A Dloop_proto_to_cxx.cpp42 std::ostream &operator<<(std::ostream &os, const BinaryOp &x);
69 std::ostream &operator<<(std::ostream &os, const BinaryOp &x) { in operator <<()
72 case BinaryOp::PLUS: in operator <<()
75 case BinaryOp::MINUS: in operator <<()
78 case BinaryOp::MUL: in operator <<()
81 case BinaryOp::XOR: in operator <<()
84 case BinaryOp::AND: in operator <<()
87 case BinaryOp::OR: in operator <<()
90 case BinaryOp::EQ: in operator <<()
93 case BinaryOp::NE: in operator <<()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-fuzzer/proto-to-llvm/
H A Dloop_proto_to_llvm.cpp28 std::string BinopToString(std::ostream &os, const BinaryOp &x);
87 std::string BinopToString(std::ostream &os, const BinaryOp &x) { in BinopToString()
92 case BinaryOp::PLUS: in BinopToString()
95 case BinaryOp::MINUS: in BinopToString()
98 case BinaryOp::MUL: in BinopToString()
101 case BinaryOp::XOR: in BinopToString()
104 case BinaryOp::AND: in BinopToString()
107 case BinaryOp::OR: in BinopToString()
111 case BinaryOp::EQ: in BinopToString()
112 case BinaryOp::NE: in BinopToString()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DStmtProfile.cpp1530 BinaryOperatorKind &BinaryOp) { in DecodeOperatorCall() argument
1548 BinaryOp = BO_Add; in DecodeOperatorCall()
1557 BinaryOp = BO_Sub; in DecodeOperatorCall()
1566 BinaryOp = BO_Mul; in DecodeOperatorCall()
1570 BinaryOp = BO_Div; in DecodeOperatorCall()
1574 BinaryOp = BO_Rem; in DecodeOperatorCall()
1578 BinaryOp = BO_Xor; in DecodeOperatorCall()
1587 BinaryOp = BO_And; in DecodeOperatorCall()
1591 BinaryOp = BO_Or; in DecodeOperatorCall()
1603 BinaryOp = BO_Assign; in DecodeOperatorCall()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp144 Optional<Instruction::BinaryOps> BinaryOp; in simplifyNvvmIntrinsic() member
158 SimplifyAction(Instruction::BinaryOps BinaryOp, FtzRequirementTy FtzReq) in simplifyNvvmIntrinsic()
159 : BinaryOp(BinaryOp), FtzRequirement(FtzReq) {} in simplifyNvvmIntrinsic()
340 if (Action.BinaryOp) in simplifyNvvmIntrinsic()
341 return BinaryOperator::Create(*Action.BinaryOp, II->getArgOperand(0), in simplifyNvvmIntrinsic()
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-fuzzer/
H A Dcxx_proto.proto29 message BinaryOp { message
55 BinaryOp binop = 3;
H A Dcxx_loop_proto.proto35 message BinaryOp { message
58 BinaryOp binop = 2;
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyOps.def40 TIL_OPCODE_DEF(BinaryOp)
H A DThreadSafetyTIL.h1204 class BinaryOp : public SExpr {
1206 BinaryOp(TIL_BinaryOpcode Op, SExpr *E0, SExpr *E1) in BinaryOp() function
1211 BinaryOp(const BinaryOp &B, SExpr *E0, SExpr *E1) in BinaryOp() function
1236 typename C::CType compare(const BinaryOp* E, C& Cmp) const { in compare()
H A DThreadSafetyTraverse.h240 R_SExpr reduceBinaryOp(BinaryOp &Orig, R_SExpr E0, R_SExpr E1) { in reduceBinaryOp()
778 void printBinaryOp(const BinaryOp *E, StreamType &SS) { in printBinaryOp()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/VE/
H A DVVPInstrInfo.td23 // BinaryOp(x,y,mask,vl)
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/
H A DRecord.h808 enum BinaryOp : uint8_t { ADD, SUB, MUL, AND, OR, XOR, SHL, SRA, SRL, LISTCONCAT, enum
815 BinOpInit(BinaryOp opc, Init *lhs, Init *rhs, RecTy *Type) : in BinOpInit()
826 static BinOpInit *get(BinaryOp opc, Init *lhs, Init *rhs,
849 BinaryOp getOpcode() const { return (BinaryOp)Opc; } in getOpcode()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp484 return new (Arena) til::BinaryOp(Op, E1, E0); in translateBinOp()
486 return new (Arena) til::BinaryOp(Op, E0, E1); in translateBinOp()
507 E1 = new (Arena) til::BinaryOp(Op, Arg, E1); in translateBinAssign()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h220 bool OptimizeOverflowCheck(Instruction::BinaryOps BinaryOp, bool IsSigned,
531 Instruction::BinaryOps BinaryOp, bool IsSigned,
H A DInstCombineCompares.cpp4548 static bool isNeutralValue(Instruction::BinaryOps BinaryOp, Value *RHS) { in isNeutralValue() argument
4549 switch (BinaryOp) { in isNeutralValue()
4561 InstCombinerImpl::computeOverflow(Instruction::BinaryOps BinaryOp, in computeOverflow() argument
4564 switch (BinaryOp) { in computeOverflow()
4585 bool InstCombinerImpl::OptimizeOverflowCheck(Instruction::BinaryOps BinaryOp, in OptimizeOverflowCheck() argument
4603 if (isNeutralValue(BinaryOp, RHS)) { in OptimizeOverflowCheck()
4609 switch (computeOverflow(BinaryOp, IsSigned, LHS, RHS, &OrigI)) { in OptimizeOverflowCheck()
4614 Result = Builder.CreateBinOp(BinaryOp, LHS, RHS); in OptimizeOverflowCheck()
4619 Result = Builder.CreateBinOp(BinaryOp, LHS, RHS); in OptimizeOverflowCheck()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DScalarEvolution.cpp4564 struct BinaryOp { struct
4575 explicit BinaryOp(Operator *Op) in BinaryOp() argument
4584 explicit BinaryOp(unsigned Opcode, Value *LHS, Value *RHS, bool IsNSW = false, in BinaryOp() function
4592 static Optional<BinaryOp> MatchBinaryOp(Value *V, DominatorTree &DT) { in MatchBinaryOp()
4611 return BinaryOp(Op); in MatchBinaryOp()
4618 return BinaryOp(Instruction::Add, Op->getOperand(0), Op->getOperand(1)); in MatchBinaryOp()
4619 return BinaryOp(Op); in MatchBinaryOp()
4634 return BinaryOp(Instruction::UDiv, Op->getOperand(0), X); in MatchBinaryOp()
4637 return BinaryOp(Op); in MatchBinaryOp()
4652 return BinaryOp(BinOp, WO->getLHS(), WO->getRHS()); in MatchBinaryOp()
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/msan/tests/
H A Dmsan_test.cc4289 template<class T, class BinaryOp>
4291 void BinaryOpOriginTest(BinaryOp op) { in BinaryOpOriginTest()
4330 TEST(MemorySanitizerOrigins, BinaryOp) { in TEST() argument
/netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DTGParser.cpp1113 BinOpInit::BinaryOp Code; in ParseOperation()
H A DRecord.cpp863 BinOpInit *BinOpInit::get(BinaryOp Opc, Init *LHS, in get()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/
H A DChangeLog-20214671 * include/std/numeric (reduce(Iter, Iter, T, BinaryOp)): Replace