Home
last modified time | relevance | path

Searched refs:NewRoot (Results 1 – 25 of 28) sorted by relevance

12

/external/libtextclassifier/native/utils/flatbuffers/
Dmutable_test.cc50 std::unique_ptr<MutableFlatbuffer> buffer = builder_.NewRoot(); in TEST_F()
70 std::unique_ptr<MutableFlatbuffer> buffer = builder_.NewRoot(); in TEST_F()
84 std::unique_ptr<MutableFlatbuffer> buffer = builder_.NewRoot(); in TEST_F()
101 std::unique_ptr<MutableFlatbuffer> buffer = builder_.NewRoot(); in TEST_F()
112 std::unique_ptr<MutableFlatbuffer> buffer = builder_.NewRoot(); in TEST_F()
144 std::unique_ptr<MutableFlatbuffer> buffer = builder_.NewRoot(); in TEST_F()
169 std::unique_ptr<MutableFlatbuffer> buffer = builder_.NewRoot(); in TEST_F()
186 std::unique_ptr<MutableFlatbuffer> buffer = builder_.NewRoot(); in TEST_F()
236 std::unique_ptr<MutableFlatbuffer> buffer = builder_.NewRoot(); in TEST_F()
251 std::unique_ptr<MutableFlatbuffer> buffer = builder_.NewRoot(); in TEST_F()
[all …]
Dmutable.h223 std::unique_ptr<MutableFlatbuffer> NewRoot() const;
Dmutable.cc77 std::unique_ptr<MutableFlatbuffer> MutableFlatbufferBuilder::NewRoot() const { in NewRoot() function in libtextclassifier3::MutableFlatbufferBuilder
/external/llvm/lib/CodeGen/
DMachineCombiner.cpp68 unsigned getLatency(MachineInstr *Root, MachineInstr *NewRoot,
184 unsigned MachineCombiner::getLatency(MachineInstr *Root, MachineInstr *NewRoot, in getLatency() argument
192 for (const MachineOperand &MO : NewRoot->operands()) { in getLatency()
205 NewRoot, NewRoot->findRegisterDefOperandIdx(MO.getReg()), UseMO, in getLatency()
208 LatencyOp = TSchedModel.computeInstrLatency(NewRoot); in getLatency()
251 MachineInstr *NewRoot = InsInstrs[NewRootIdx]; in improvesCriticalPathLen() local
272 unsigned NewRootLatency = getLatency(Root, NewRoot, BlockTrace); in improvesCriticalPathLen()
/external/llvm-project/compiler-rt/lib/xray/
Dxray_function_call_trie.h372 auto *NewRoot = Nodes.AppendEmplace( in enterFunction() local
374 if (UNLIKELY(NewRoot == nullptr)) in enterFunction()
376 if (Roots.AppendEmplace(NewRoot) == nullptr) { in enterFunction()
380 if (ShadowStack.AppendEmplace(TSC, NewRoot, CPU) == nullptr) { in enterFunction()
497 auto NewRoot = O.Nodes.AppendEmplace( in deepCopyInto() local
502 if (UNLIKELY(NewRoot == nullptr)) in deepCopyInto()
505 if (UNLIKELY(O.Roots.Append(NewRoot) == nullptr)) in deepCopyInto()
510 if (DFSStack.AppendEmplace(Root, NewRoot) == nullptr) in deepCopyInto()
/external/libtextclassifier/native/utils/
Dlua-utils_test.cc135 std::unique_ptr<MutableFlatbuffer> buffer = flatbuffer_builder_.NewRoot(); in TEST_F()
202 std::unique_ptr<MutableFlatbuffer> buffer = flatbuffer_builder_.NewRoot(); in TEST_F()
293 std::unique_ptr<MutableFlatbuffer> buffer = flatbuffer_builder_.NewRoot(); in TEST_F()
332 std::unique_ptr<MutableFlatbuffer> buffer = flatbuffer_builder_.NewRoot(); in TEST_F()
366 std::unique_ptr<MutableFlatbuffer> buffer = flatbuffer_builder_.NewRoot(); in TEST_F()
373 std::unique_ptr<MutableFlatbuffer> buffer2 = flatbuffer_builder_.NewRoot(); in TEST_F()
Dlua-utils.cc529 auto buffer = MutableFlatbufferBuilder(entity_data_schema).NewRoot(); in ReadClassificationResult()
597 MutableFlatbufferBuilder(actions_entity_data_schema).NewRoot(); in ReadAction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineCombiner.cpp97 unsigned getLatency(MachineInstr *Root, MachineInstr *NewRoot,
224 unsigned MachineCombiner::getLatency(MachineInstr *Root, MachineInstr *NewRoot, in getLatency() argument
232 for (const MachineOperand &MO : NewRoot->operands()) { in getLatency()
247 NewRoot, NewRoot->findRegisterDefOperandIdx(MO.getReg()), UseMO, in getLatency()
250 LatencyOp = TSchedModel.computeInstrLatency(NewRoot); in getLatency()
289 MachineInstr *NewRoot = InsInstrs.back(); in getLatenciesForInstrSequences() local
292 NewRootLatency += getLatency(&MI, NewRoot, BlockTrace); in getLatenciesForInstrSequences()
/external/llvm-project/llvm/lib/CodeGen/
DMachineCombiner.cpp97 unsigned getLatency(MachineInstr *Root, MachineInstr *NewRoot,
224 unsigned MachineCombiner::getLatency(MachineInstr *Root, MachineInstr *NewRoot, in getLatency() argument
232 for (const MachineOperand &MO : NewRoot->operands()) { in getLatency()
247 NewRoot, NewRoot->findRegisterDefOperandIdx(MO.getReg()), UseMO, in getLatency()
250 LatencyOp = TSchedModel.computeInstrLatency(NewRoot); in getLatency()
291 MachineInstr *NewRoot = InsInstrs.back(); in getLatenciesForInstrSequences() local
294 NewRootLatency += getLatency(&MI, NewRoot, BlockTrace); in getLatenciesForInstrSequences()
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Tree.Tests.pas253 OldRoot, NewRoot: ICommonTree;
257 NewRoot := TCommonTree.Create(TCommonToken.Create(5));
263 Adaptor.BecomeRoot(NewRoot, OldRoot);
264 NewRoot.SanityCheckParentAndChildIndexes;
269 OldRoot, NewRoot: ICommonTree;
273 NewRoot := TCommonTree.Create(TCommonToken.Create(5));
278 Adaptor.BecomeRoot(NewRoot, OldRoot);
279 NewRoot.SanityCheckParentAndChildIndexes;
284 OldRoot, NewRoot: ICommonTree;
288 NewRoot := TCommonTree.Create(IToken(nil));
[all …]
/external/libtextclassifier/native/utils/testing/
Dannotator.cc82 entity_data_builder.NewRoot(); in AddTestRegexModel()
106 entity_data_builder.NewRoot(); in AddTestRegexModel()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp2206 SDValue NewRoot = Leaves.top().Value; in balanceSubTree() local
2208 assert(NodeHeights.count(NewRoot)); in balanceSubTree()
2209 int Height = NodeHeights[NewRoot]; in balanceSubTree()
2212 if (NewRoot.getOpcode() == ISD::MUL) { in balanceSubTree()
2213 ConstantSDNode *V1C = dyn_cast<ConstantSDNode>(NewRoot.getOperand(1)); in balanceSubTree()
2215 EVT VT = NewRoot.getValueType(); in balanceSubTree()
2216 SDValue V0 = NewRoot.getOperand(0); in balanceSubTree()
2217 NewRoot = CurDAG->getNode( in balanceSubTree()
2218 ISD::SHL, SDLoc(NewRoot), VT, V0, in balanceSubTree()
2220 V1C->getAPIntValue().logBase2(), SDLoc(NewRoot), in balanceSubTree()
[all …]
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp2213 SDValue NewRoot = Leaves.top().Value; in balanceSubTree() local
2215 assert(NodeHeights.count(NewRoot)); in balanceSubTree()
2216 int Height = NodeHeights[NewRoot]; in balanceSubTree()
2219 if (NewRoot.getOpcode() == ISD::MUL) { in balanceSubTree()
2220 ConstantSDNode *V1C = dyn_cast<ConstantSDNode>(NewRoot.getOperand(1)); in balanceSubTree()
2222 EVT VT = NewRoot.getValueType(); in balanceSubTree()
2223 SDValue V0 = NewRoot.getOperand(0); in balanceSubTree()
2224 NewRoot = CurDAG->getNode( in balanceSubTree()
2225 ISD::SHL, SDLoc(NewRoot), VT, V0, in balanceSubTree()
2227 V1C->getAPIntValue().logBase2(), SDLoc(NewRoot), in balanceSubTree()
[all …]
/external/libtextclassifier/native/actions/
Dutils.cc69 entity_data_builder != nullptr ? entity_data_builder->NewRoot() in SuggestTextRepliesFromCapturingMatch()
Dgrammar-actions.cc65 entity_data_builder_ != nullptr ? entity_data_builder_->NewRoot() in InstantiateActionsFromMatch()
Dlua-ranker_test.cc233 std::unique_ptr<MutableFlatbuffer> buffer = builder.NewRoot(); in TEST()
Dregex-actions.cc213 entity_data_builder != nullptr ? entity_data_builder->NewRoot() in SuggestActions()
Dactions-suggestions.cc834 entity_data_builder_ != nullptr ? entity_data_builder_->NewRoot() in FillSuggestionFromSpecWithEntityData()
863 entity_data_builder_ != nullptr ? entity_data_builder_->NewRoot() in PopulateIntentTriggering()
937 entity_data_builder_ != nullptr ? entity_data_builder_->NewRoot() in ReadModelOutput()
1211 entity_data_builder_ != nullptr ? entity_data_builder_->NewRoot() in SuggestActionsFromAnnotation()
Dgrammar-actions_test.cc406 entity_data_builder_->NewRoot(); in TEST_F()
460 entity_data_builder_->NewRoot(); in TEST_F()
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tree.pas162 function BecomeRoot(const NewRoot, OldRoot: IANTLRInterface): IANTLRInterface; overload; in BecomeRoot() argument
209 …function BecomeRoot(const NewRoot: IToken; const OldRoot: IANTLRInterface): IANTLRInterface; overl…
1278 … function BecomeRoot(const NewRoot, OldRoot: IANTLRInterface): IANTLRInterface; overload; virtual; in BecomeRoot() argument
1281 …function BecomeRoot(const NewRoot: IToken; const OldRoot: IANTLRInterface): IANTLRInterface; overl… in BecomeRoot()
2684 function TBaseTreeAdaptor.BecomeRoot(const NewRoot, in BecomeRoot()
2690 NewRootTree := NewRoot as ITree;
2693 Result := NewRoot
2714 function TBaseTreeAdaptor.BecomeRoot(const NewRoot: IToken; in BecomeRoot()
2717 Result := BecomeRoot(CreateNode(NewRoot), OldRoot);
/external/libtextclassifier/native/annotator/grammar/
Dgrammar-annotator.cc145 entity_data_builder_->NewRoot(); in InstantiateClassificationFromDerivation()
Dgrammar-annotator_test.cc369 entity_data_builder_->NewRoot(); in TEST_F()
/external/libtextclassifier/native/utils/intents/
Djni.cc351 std::unique_ptr<MutableFlatbuffer> buffer = entity_data_builder.NewRoot(); in EntityDataAsNamedVariantArray()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp9787 SDValue NewRoot = TLI->LowerFormalArguments( in LowerArguments() local
9791 assert(NewRoot.getNode() && NewRoot.getValueType() == MVT::Other && in LowerArguments()
9805 DAG.setRoot(NewRoot); in LowerArguments()
9828 NewRoot = in LowerArguments()
9829 SDB->DAG.getCopyToReg(NewRoot, SDB->getCurSDLoc(), SRetReg, ArgValue); in LowerArguments()
9830 DAG.setRoot(NewRoot); in LowerArguments()
9955 Chains.push_back(NewRoot); in LowerArguments()
9956 NewRoot = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, Chains); in LowerArguments()
9959 DAG.setRoot(NewRoot); in LowerArguments()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp9918 SDValue NewRoot = TLI->LowerFormalArguments( in LowerArguments() local
9922 assert(NewRoot.getNode() && NewRoot.getValueType() == MVT::Other && in LowerArguments()
9936 DAG.setRoot(NewRoot); in LowerArguments()
9959 NewRoot = in LowerArguments()
9960 SDB->DAG.getCopyToReg(NewRoot, SDB->getCurSDLoc(), SRetReg, ArgValue); in LowerArguments()
9961 DAG.setRoot(NewRoot); in LowerArguments()
10086 Chains.push_back(NewRoot); in LowerArguments()
10087 NewRoot = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, Chains); in LowerArguments()
10090 DAG.setRoot(NewRoot); in LowerArguments()

12