Home
last modified time | relevance | path

Searched refs:CondBuilder (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Dcond_builder.cc25 CondBuilder::CondBuilder(string name, string device, const NodeDebugInfo& debug, in CondBuilder() function in tensorflow::CondBuilder
65 Node* CondBuilder::pred() { return pred_; } in pred()
67 Node* CondBuilder::switch_f() { return switch_f_; } in switch_f()
69 Node* CondBuilder::switch_t() { return switch_t_; } in switch_t()
71 Node* CondBuilder::control_successor() { return control_successor_; } in control_successor()
73 Status CondBuilder::AddInput(const string& input_name, const DataType& type, in AddInput()
Dcond_builder.h37 class CondBuilder {
41 CondBuilder(string name, string device, const NodeDebugInfo& debug,
Ddistributed_tpu_rewrite_pass.cc2943 CondBuilder cb(variables[i].node->name(), in BuildVariableWrites()
2960 graph->AddEdge(switch_var, CondBuilder::kThenBranch, write_node, 0); in BuildVariableWrites()
2961 graph->AddEdge(switch_val, CondBuilder::kThenBranch, write_node, 1); in BuildVariableWrites()
/external/tensorflow/tensorflow/core/common_runtime/
Dlower_if_op.cc35 class CondBuilder { class
42 CondBuilder(Node* if_op, const NameAttrList& then_fn,
113 CondBuilder::CondBuilder(Node* if_op, const NameAttrList& then_fn, in CondBuilder() function in tensorflow::__anon957f69b60111::CondBuilder
139 Status CondBuilder::SetColocationAndFinalize(NodeBuilder node_builder, in SetColocationAndFinalize()
148 Status CondBuilder::CreatePivotNodes() { in CreatePivotNodes()
175 string CondBuilder::NewName(const string& infix) { in NewName()
179 Status CondBuilder::AddInput(Node* src, int src_output) { in AddInput()
208 Status CondBuilder::AddInputs() { in AddInputs()
226 Status CondBuilder::AddOutputs() { in AddOutputs()
282 Status CondBuilder::BuildLoweredIfOutput() { in BuildLoweredIfOutput()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DHardwareLoops.cpp453 IRBuilder<> CondBuilder(ExitBranch); in InsertLoopDec() local
459 Value *NewCond = CondBuilder.CreateCall(DecFunc, Ops); in InsertLoopDec()
475 IRBuilder<> CondBuilder(ExitBranch); in InsertLoopRegDec() local
483 Value *Call = CondBuilder.CreateCall(DecFunc, Ops); in InsertLoopRegDec()
502 IRBuilder<> CondBuilder(ExitBranch); in UpdateBranch() local
504 CondBuilder.CreateICmpNE(EltsRem, ConstantInt::get(EltsRem->getType(), 0)); in UpdateBranch()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp2249 IRBuilder<> CondBuilder(MemmoveB); in processCopyingStore() local
2250 CondBuilder.CreateBr(ExitB); in processCopyingStore()
2251 CondBuilder.SetInsertPoint(MemmoveB->getTerminator()); in processCopyingStore()
2272 : CondBuilder.CreateBitCast(StoreBasePtr, Int32PtrTy); in processCopyingStore()
2275 : CondBuilder.CreateBitCast(LoadBasePtr, Int32PtrTy); in processCopyingStore()
2276 NewCall = CondBuilder.CreateCall(Fn, {Op0, Op1, NumWords}); in processCopyingStore()
2278 NewCall = CondBuilder.CreateMemMove( in processCopyingStore()
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp600 IRBuilder<> CondBuilder(CountedExitBranch); in convertToCTRLoop() local
603 Value *NewCond = CondBuilder.CreateCall(DecFunc, {}); in convertToCTRLoop()