Home
last modified time | relevance | path

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

/external/clang/lib/Tooling/
DRefactoringCallbacks.cpp50 ReplaceStmtWithStmt::ReplaceStmtWithStmt(StringRef FromId, StringRef ToId) in ReplaceStmtWithStmt() argument
51 : FromId(FromId), ToId(ToId) {} in ReplaceStmtWithStmt()
56 const Stmt *ToMatch = Result.Nodes.getStmtAs<Stmt>(ToId); in run()
/external/tensorflow/tensorflow/c/eager/
Dgradients.cc32 int64 ToId(const AbstractTensorHandle* t) { in ToId() function
42 absl::StrCat("ZerosLike", ToId(t)).c_str())); in ZerosLike()
85 tensorflow::int64 TapeTensor::GetID() const { return ToId(handle_); } in GetID()
195 absl::StrCat("OnesLike", ToId(t.GetHandle())).c_str())); in BuildOnesLike()
208 return ToId(tensor); in TensorId()
223 GradientTape::Watch(ToId(t)); in Watch()
232 input_ids[i] = ToId(inputs[i]); in RecordOperation()
253 tensor_ids[i] = ToId(tensors[i]); in ShouldRecord()
259 GradientTape::DeleteTrace(ToId(t)); in DeleteTrace()
266 ids[i] = ToId(tensors[i]); in MakeTensorIDList()
/external/clang/include/clang/Tooling/
DRefactoringCallbacks.h66 ReplaceStmtWithStmt(StringRef FromId, StringRef ToId);
71 std::string ToId; variable
/external/llvm-project/clang/lib/Tooling/
DRefactoringCallbacks.cpp103 ReplaceStmtWithStmt::ReplaceStmtWithStmt(StringRef FromId, StringRef ToId) in ReplaceStmtWithStmt() argument
104 : FromId(std::string(FromId)), ToId(std::string(ToId)) {} in ReplaceStmtWithStmt()
109 const Stmt *ToMatch = Result.Nodes.getNodeAs<Stmt>(ToId); in run()
/external/llvm-project/clang/include/clang/Tooling/
DRefactoringCallbacks.h115 ReplaceStmtWithStmt(StringRef FromId, StringRef ToId);
120 std::string ToId; variable
/external/llvm-project/llvm/utils/TableGen/
DDFAEmitter.cpp82 unsigned ToId = DfaStates.insert(NewStates); in visitDfaState() local
83 DfaTransitions.emplace(std::make_pair(FromId, A), std::make_pair(ToId, TI)); in visitDfaState()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.cpp638 auto ToId = getTableId(To); in ReplaceValueWith() local
640 if (FromId != ToId) in ReplaceValueWith()
641 ReplacedValues[FromId] = ToId; in ReplaceValueWith()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.cpp658 auto ToId = getTableId(To); in ReplaceValueWith() local
660 if (FromId != ToId) in ReplaceValueWith()
661 ReplacedValues[FromId] = ToId; in ReplaceValueWith()
/external/clang/lib/AST/
DASTImporter.cpp6610 IdentifierInfo *ToId = &ToContext.Idents.get(FromId->getName()); in Import() local
6612 if (!ToId->getBuiltinID() && FromId->getBuiltinID()) in Import()
6613 ToId->setBuiltinID(FromId->getBuiltinID()); in Import()
6615 return ToId; in Import()
/external/llvm-project/clang/lib/AST/
DASTImporter.cpp8960 IdentifierInfo *ToId = &ToContext.Idents.get(FromId->getName()); in Import() local
8962 if (!ToId->getBuiltinID() && FromId->getBuiltinID()) in Import()
8963 ToId->setBuiltinID(FromId->getBuiltinID()); in Import()
8965 return ToId; in Import()