Home
last modified time | relevance | path

Searched refs:IsOperator (Results 1 – 10 of 10) sorted by relevance

/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp224 bool IsOperator; member in __anon101bee230111::PrototypeAST
229 bool IsOperator = false, unsigned Prec = 0) in PrototypeAST() argument
230 : Name(Name), Args(std::move(Args)), IsOperator(IsOperator), in PrototypeAST()
235 bool isUnaryOp() const { return IsOperator && Args.size() == 1; } in isUnaryOp()
236 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.cpp244 bool IsOperator; member in __anonc2b91a450111::PrototypeAST
249 bool IsOperator = false, unsigned Prec = 0) in PrototypeAST() argument
250 : Name(Name), Args(std::move(Args)), IsOperator(IsOperator), in PrototypeAST()
255 bool isUnaryOp() const { return IsOperator && Args.size() == 1; } in isUnaryOp()
256 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
Dtoy.cpp245 bool IsOperator; member in PrototypeAST
250 bool IsOperator = false, unsigned Prec = 0) in PrototypeAST() argument
251 : Name(Name), Args(std::move(Args)), IsOperator(IsOperator), in PrototypeAST()
256 bool isUnaryOp() const { return IsOperator && Args.size() == 1; } in isUnaryOp()
257 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.cpp244 bool IsOperator; member in __anond9c038430111::PrototypeAST
249 bool IsOperator = false, unsigned Prec = 0) in PrototypeAST() argument
250 : Name(Name), Args(std::move(Args)), IsOperator(IsOperator), in PrototypeAST()
255 bool isUnaryOp() const { return IsOperator && Args.size() == 1; } in isUnaryOp()
256 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
Dtoy.cpp244 bool IsOperator; member in __anon4e3ca9440111::PrototypeAST
249 bool IsOperator = false, unsigned Prec = 0) in PrototypeAST() argument
250 : Name(Name), Args(std::move(Args)), IsOperator(IsOperator), in PrototypeAST()
255 bool isUnaryOp() const { return IsOperator && Args.size() == 1; } in isUnaryOp()
256 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp241 bool IsOperator; member in __anonf914d0250111::PrototypeAST
246 bool IsOperator = false, unsigned Prec = 0) in PrototypeAST() argument
247 : Name(Name), Args(std::move(Args)), IsOperator(IsOperator), in PrototypeAST()
252 bool isUnaryOp() const { return IsOperator && Args.size() == 1; } in isUnaryOp()
253 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp244 bool IsOperator; member in __anon84985f240111::PrototypeAST
249 bool IsOperator = false, unsigned Prec = 0) in PrototypeAST() argument
250 : Name(Name), Args(std::move(Args)), IsOperator(IsOperator), in PrototypeAST()
255 bool isUnaryOp() const { return IsOperator && Args.size() == 1; } in isUnaryOp()
256 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
Dtoy.cpp260 bool IsOperator; member in PrototypeAST
265 bool IsOperator = false, unsigned Prec = 0) in PrototypeAST() argument
266 : Name(Name), Args(std::move(Args)), IsOperator(IsOperator), in PrototypeAST()
271 bool isUnaryOp() const { return IsOperator && Args.size() == 1; } in isUnaryOp()
272 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp()
/external/llvm/examples/Kaleidoscope/Chapter9/
Dtoy.cpp360 bool IsOperator; member in __anon6d9141260211::PrototypeAST
366 std::vector<std::string> Args, bool IsOperator = false, in PrototypeAST() argument
368 : Name(Name), Args(std::move(Args)), IsOperator(IsOperator), in PrototypeAST()
373 bool isUnaryOp() const { return IsOperator && Args.size() == 1; } in isUnaryOp()
374 bool isBinaryOp() const { return IsOperator && Args.size() == 2; } in isBinaryOp()
/external/llvm/docs/tutorial/
DLangImpl06.rst137 bool IsOperator;
142 bool IsOperator = false, unsigned Prec = 0)
143 : Name(name), Args(std::move(Args)), IsOperator(IsOperator),
146 bool isUnaryOp() const { return IsOperator && Args.size() == 1; }
147 bool isBinaryOp() const { return IsOperator && Args.size() == 2; }