Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtProfile.cpp1728 BinaryOperatorKind &BinaryOp, in DecodeOperatorCall() argument
1747 BinaryOp = BO_Add; in DecodeOperatorCall()
1756 BinaryOp = BO_Sub; in DecodeOperatorCall()
1765 BinaryOp = BO_Mul; in DecodeOperatorCall()
1769 BinaryOp = BO_Div; in DecodeOperatorCall()
1773 BinaryOp = BO_Rem; in DecodeOperatorCall()
1777 BinaryOp = BO_Xor; in DecodeOperatorCall()
1786 BinaryOp = BO_And; in DecodeOperatorCall()
1790 BinaryOp = BO_Or; in DecodeOperatorCall()
1802 BinaryOp = BO_Assign; in DecodeOperatorCall()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DPostfixExpression.h32 BinaryOp, enumerator
60 : Node(BinaryOp), m_op_type(op_type), m_left(&left), m_right(&right) {} in BinaryOpNode()
70 static bool classof(const Node *node) { return node->GetKind() == BinaryOp; } in classof()
178 case Node::BinaryOp: in Dispatch()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetTransformInfo.cpp152 std::optional<Instruction::BinaryOps> BinaryOp; in convertNvvmIntrinsicToLlvm() member
170 SimplifyAction(Instruction::BinaryOps BinaryOp, FtzRequirementTy FtzReq) in convertNvvmIntrinsicToLlvm()
171 : BinaryOp(BinaryOp), FtzRequirement(FtzReq) {} in convertNvvmIntrinsicToLlvm()
377 if (Action.BinaryOp) in convertNvvmIntrinsicToLlvm()
378 return BinaryOperator::Create(*Action.BinaryOp, II->getArgOperand(0), in convertNvvmIntrinsicToLlvm()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyOps.def40 TIL_OPCODE_DEF(BinaryOp)
H A DThreadSafetyTIL.h1214 class BinaryOp : public SExpr {
1216 BinaryOp(TIL_BinaryOpcode Op, SExpr *E0, SExpr *E1) in BinaryOp() function
1221 BinaryOp(const BinaryOp &B, SExpr *E0, SExpr *E1) in BinaryOp() function
1246 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()
775 void printBinaryOp(const BinaryOp *E, StreamType &SS) { in printBinaryOp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp1406 struct BinaryOp { struct
1412 explicit BinaryOp(Instruction *Op) in BinaryOp() function
1421 explicit BinaryOp(Instruction::BinaryOps Opcode, Value *LHS, Value *RHS, in BinaryOp() function
1428 static std::optional<BinaryOp> matchBinaryOp(Instruction *Op) { in matchBinaryOp()
1433 return BinaryOp(Op); in matchBinaryOp()
1437 return BinaryOp(Instruction::Add, Op->getOperand(0), Op->getOperand(1), in matchBinaryOp()
1461 return BinaryOp(Instruction::Mul, Op->getOperand(0), X, IsNSW, IsNUW); in matchBinaryOp()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp547 return new (Arena) til::BinaryOp(Op, E1, E0); in translateBinOp()
549 return new (Arena) til::BinaryOp(Op, E0, E1); in translateBinOp()
570 E1 = new (Arena) til::BinaryOp(Op, Arg, E1); in translateBinAssign()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVVPInstrInfo.td56 // BinaryOp(x,y,mask,vl)
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h883 enum BinaryOp : uint8_t { enum
918 BinOpInit(BinaryOp opc, const Init *lhs, const Init *rhs, const RecTy *Type) in BinOpInit()
929 static const BinOpInit *get(BinaryOp opc, const Init *lhs, const Init *rhs,
936 BinaryOp getOpcode() const { return (BinaryOp)Opc; } in getOpcode()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h275 bool OptimizeOverflowCheck(Instruction::BinaryOps BinaryOp, bool IsSigned,
510 Instruction::BinaryOps BinaryOp, bool IsSigned,
H A DInstCombineCompares.cpp6448 static bool isNeutralValue(Instruction::BinaryOps BinaryOp, Value *RHS, in isNeutralValue() argument
6450 switch (BinaryOp) { in isNeutralValue()
6463 InstCombinerImpl::computeOverflow(Instruction::BinaryOps BinaryOp, in computeOverflow() argument
6466 switch (BinaryOp) { in computeOverflow()
6487 bool InstCombinerImpl::OptimizeOverflowCheck(Instruction::BinaryOps BinaryOp, in OptimizeOverflowCheck() argument
6505 if (isNeutralValue(BinaryOp, RHS, IsSigned)) { in OptimizeOverflowCheck()
6511 switch (computeOverflow(BinaryOp, IsSigned, LHS, RHS, &OrigI)) { in OptimizeOverflowCheck()
6516 Result = Builder.CreateBinOp(BinaryOp, LHS, RHS); in OptimizeOverflowCheck()
6521 Result = Builder.CreateBinOp(BinaryOp, LHS, RHS); in OptimizeOverflowCheck()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp5207 struct BinaryOp { struct
5218 explicit BinaryOp(Operator *Op) in BinaryOp() argument
5227 explicit BinaryOp(unsigned Opcode, Value *LHS, Value *RHS, bool IsNSW = false, in BinaryOp() function
5235 static std::optional<BinaryOp> MatchBinaryOp(Value *V, const DataLayout &DL, in MatchBinaryOp()
5256 return BinaryOp(Op); in MatchBinaryOp()
5261 return BinaryOp(Instruction::Add, Op->getOperand(0), Op->getOperand(1), in MatchBinaryOp()
5263 return BinaryOp(Op); in MatchBinaryOp()
5271 return BinaryOp(Instruction::Add, Op->getOperand(0), Op->getOperand(1)); in MatchBinaryOp()
5274 return BinaryOp(Instruction::Add, Op->getOperand(0), Op->getOperand(1)); in MatchBinaryOp()
5275 return BinaryOp(Op); in MatchBinaryOp()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp1082 const BinOpInit *BinOpInit::get(BinaryOp Opc, const Init *LHS, const Init *RHS, in get()
H A DTGParser.cpp1522 BinOpInit::BinaryOp Code; in ParseOperation()