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.cpp1687 BinaryOperatorKind &BinaryOp, in DecodeOperatorCall() argument
1706 BinaryOp = BO_Add; in DecodeOperatorCall()
1715 BinaryOp = BO_Sub; in DecodeOperatorCall()
1724 BinaryOp = BO_Mul; in DecodeOperatorCall()
1728 BinaryOp = BO_Div; in DecodeOperatorCall()
1732 BinaryOp = BO_Rem; in DecodeOperatorCall()
1736 BinaryOp = BO_Xor; in DecodeOperatorCall()
1745 BinaryOp = BO_And; in DecodeOperatorCall()
1749 BinaryOp = BO_Or; in DecodeOperatorCall()
1761 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.cpp145 std::optional<Instruction::BinaryOps> BinaryOp; in simplifyNvvmIntrinsic() member
163 SimplifyAction(Instruction::BinaryOps BinaryOp, FtzRequirementTy FtzReq) in simplifyNvvmIntrinsic()
164 : BinaryOp(BinaryOp), FtzRequirement(FtzReq) {} in simplifyNvvmIntrinsic()
366 if (Action.BinaryOp) in simplifyNvvmIntrinsic()
367 return BinaryOperator::Create(*Action.BinaryOp, II->getArgOperand(0), in simplifyNvvmIntrinsic()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyOps.def40 TIL_OPCODE_DEF(BinaryOp)
H A DThreadSafetyTIL.h1213 class BinaryOp : public SExpr {
1215 BinaryOp(TIL_BinaryOpcode Op, SExpr *E0, SExpr *E1) in BinaryOp() function
1220 BinaryOp(const BinaryOp &B, SExpr *E0, SExpr *E1) in BinaryOp() function
1245 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()
781 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() argument
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.cpp530 return new (Arena) til::BinaryOp(Op, E1, E0); in translateBinOp()
532 return new (Arena) til::BinaryOp(Op, E0, E1); in translateBinOp()
553 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.h899 enum BinaryOp : uint8_t { enum
933 BinOpInit(BinaryOp opc, Init *lhs, Init *rhs, RecTy *Type) : in BinOpInit()
944 static BinOpInit *get(BinaryOp opc, Init *lhs, Init *rhs,
967 BinaryOp getOpcode() const { return (BinaryOp)Opc; } in getOpcode()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h274 bool OptimizeOverflowCheck(Instruction::BinaryOps BinaryOp, bool IsSigned,
491 Instruction::BinaryOps BinaryOp, bool IsSigned,
H A DInstCombineCompares.cpp6044 static bool isNeutralValue(Instruction::BinaryOps BinaryOp, Value *RHS, bool IsSigned) { in isNeutralValue() argument
6045 switch (BinaryOp) { in isNeutralValue()
6058 InstCombinerImpl::computeOverflow(Instruction::BinaryOps BinaryOp, in computeOverflow() argument
6061 switch (BinaryOp) { in computeOverflow()
6082 bool InstCombinerImpl::OptimizeOverflowCheck(Instruction::BinaryOps BinaryOp, in OptimizeOverflowCheck() argument
6100 if (isNeutralValue(BinaryOp, RHS, IsSigned)) { in OptimizeOverflowCheck()
6106 switch (computeOverflow(BinaryOp, IsSigned, LHS, RHS, &OrigI)) { in OptimizeOverflowCheck()
6111 Result = Builder.CreateBinOp(BinaryOp, LHS, RHS); in OptimizeOverflowCheck()
6116 Result = Builder.CreateBinOp(BinaryOp, LHS, RHS); in OptimizeOverflowCheck()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp5241 struct BinaryOp { struct
5252 explicit BinaryOp(Operator *Op) in BinaryOp() function
5261 explicit BinaryOp(unsigned Opcode, Value *LHS, Value *RHS, bool IsNSW = false, in BinaryOp() argument
5269 static std::optional<BinaryOp> MatchBinaryOp(Value *V, const DataLayout &DL, in MatchBinaryOp()
5290 return BinaryOp(Op); in MatchBinaryOp()
5295 return BinaryOp(Instruction::Add, Op->getOperand(0), Op->getOperand(1), in MatchBinaryOp()
5297 return BinaryOp(Op); in MatchBinaryOp()
5305 return BinaryOp(Instruction::Add, Op->getOperand(0), Op->getOperand(1)); in MatchBinaryOp()
5308 return BinaryOp(Instruction::Add, Op->getOperand(0), Op->getOperand(1)); in MatchBinaryOp()
5309 return BinaryOp(Op); in MatchBinaryOp()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp1002 BinOpInit *BinOpInit::get(BinaryOp Opc, Init *LHS, Init *RHS, RecTy *Type) { in get()
H A DTGParser.cpp1454 BinOpInit::BinaryOp Code; in ParseOperation()