Searched refs:ir2vec (Results 1 – 6 of 6) sorted by relevance
36 ir2vec::Embedding FunctionEmbedding = ir2vec::Embedding(0.0);37 const ir2vec::Vocabulary *IR2VecVocab = nullptr;43 const ir2vec::Vocabulary *Vocabulary);144 const ir2vec::Embedding &getFunctionEmbedding() const { in getFunctionEmbedding()148 const ir2vec::Vocabulary *getIR2VecVocab() const { return IR2VecVocab; } in getIR2VecVocab()151 void setFunctionEmbeddingForTest(const ir2vec::Embedding &Embedding) { in setFunctionEmbeddingForTest()
60 namespace ir2vec {137 using VocabVector = std::vector<ir2vec::Embedding>;186 const ir2vec::Embedding &operator[](unsigned Opcode) const;187 const ir2vec::Embedding &operator[](Type::TypeID TypeId) const;188 const ir2vec::Embedding &operator[](const Value *Arg) const;306 using VocabVector = std::vector<ir2vec::Embedding>;307 using VocabMap = std::map<std::string, ir2vec::Embedding>;322 using Result = ir2vec::Vocabulary;
207 auto Embedder = ir2vec::Embedder::create(IR2VecKind::Symbolic, in updateForBB()253 const ir2vec::Vocabulary *Vocabulary) { in getFunctionPropertiesInfo()258 FPI.FunctionEmbedding = ir2vec::Embedding(Vocabulary->getDimension(), 0.0); in getFunctionPropertiesInfo()
30 using namespace ir2vec;38 namespace ir2vec { namespace241 const ir2vec::Embedding &Vocabulary::operator[](const Value *Arg) const { in operator []()
454 auto setEmbedding = [&](const ir2vec::Embedding &Embedding, in getAdviceImpl()
29 MODULE_ANALYSIS("ir2vec-vocab", IR2VecVocabAnalysis())144 MODULE_PASS("print<ir2vec>", IR2VecPrinterPass(errs()))145 MODULE_PASS("print<ir2vec-vocab>", IR2VecVocabPrinterPass(errs()))