Tensor Comprehensions
|
Classes | |
struct | ErrorReport |
struct | TokenTrie |
struct | SharedParserData |
struct | SourceRange |
struct | Token |
struct | Lexer |
struct | Parser |
struct | TypeInfo |
struct | Sema |
struct | Tree |
struct | String |
struct | Number |
struct | Bool |
struct | Compound |
struct | pretty_tree |
tree pretty printer More... | |
struct | TreeView |
struct | ListViewIterator |
struct | ListView |
struct | OptionView |
struct | Ident |
struct | ApplyLike |
struct | BuiltIn |
struct | TensorType |
struct | Param |
struct | Equivalent |
struct | RangeConstraint |
struct | Comprehension |
struct | Def |
struct | Select |
struct | Const |
struct | Cast |
struct | Let |
struct | Exists |
Typedefs | |
using | TokenTrieRef = std::unique_ptr< TokenTrie > |
using | TreeRef = std::shared_ptr< Tree > |
using | TreeList = std::vector< TreeRef > |
using | List = ListView< TreeRef > |
using | Apply = ApplyLike< TK_APPLY > |
using | Access = ApplyLike< TK_ACCESS > |
Enumerations | |
enum | TokenKind { TK_DUMMY_START = 256 } |
Functions | |
TreeRef | canonicalize (TreeRef tree) |
void | warn (const ErrorReport &err) |
template<typename T > | |
const ErrorReport & | operator<< (const ErrorReport &e, const T &t) |
std::string | kindToString (int kind) |
SharedParserData & | sharedParserData () |
Copyright (c) 2017-present, Facebook, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
using lang::Access = typedef ApplyLike<TK_ACCESS> |
using lang::Apply = typedef ApplyLike<TK_APPLY> |
using lang::List = typedef ListView<TreeRef> |
using lang::TokenTrieRef = typedef std::unique_ptr<TokenTrie> |
using lang::TreeList = typedef std::vector<TreeRef> |
using lang::TreeRef = typedef std::shared_ptr<Tree> |
enum lang::TokenKind |
TreeRef lang::canonicalize | ( | TreeRef | tree | ) |
std::string lang::kindToString | ( | int | kind | ) |
const ErrorReport& lang::operator<< | ( | const ErrorReport & | e, |
const T & | t | ||
) |
SharedParserData& lang::sharedParserData | ( | ) |
|
inline |