Home
last modified time | relevance | path

Searched refs:LoopBuilder (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp69 IRBuilder<> LoopBuilder(LoopBB); in createMemCpyLoopKnownSize() local
70 PHINode *LoopIndex = LoopBuilder.CreatePHI(TypeOfCopyLen, 2, "loop-index"); in createMemCpyLoopKnownSize()
74 LoopBuilder.CreateInBoundsGEP(LoopOpType, SrcAddr, LoopIndex); in createMemCpyLoopKnownSize()
75 Value *Load = LoopBuilder.CreateLoad(LoopOpType, SrcGEP, SrcIsVolatile); in createMemCpyLoopKnownSize()
77 LoopBuilder.CreateInBoundsGEP(LoopOpType, DstAddr, LoopIndex); in createMemCpyLoopKnownSize()
78 LoopBuilder.CreateStore(Load, DstGEP, DstIsVolatile); in createMemCpyLoopKnownSize()
81 LoopBuilder.CreateAdd(LoopIndex, ConstantInt::get(TypeOfCopyLen, 1U)); in createMemCpyLoopKnownSize()
86 LoopBuilder.CreateCondBr(LoopBuilder.CreateICmpULT(NewIndex, LoopEndCI), in createMemCpyLoopKnownSize()
178 IRBuilder<> LoopBuilder(LoopBB); in createMemCpyLoopUnknownSize() local
180 PHINode *LoopIndex = LoopBuilder.CreatePHI(CopyLenType, 2, "loop-index"); in createMemCpyLoopUnknownSize()
[all …]
/third_party/node/deps/v8/src/interpreter/
Dcontrol-flow-builders.cc48 LoopBuilder::~LoopBuilder() { in ~LoopBuilder()
53 void LoopBuilder::LoopHeader() { in LoopHeader()
63 void LoopBuilder::LoopBody() { in LoopBody()
69 void LoopBuilder::JumpToHeader(int loop_depth, LoopBuilder* const parent_loop) { in JumpToHeader()
92 void LoopBuilder::BindContinueTarget() { continue_labels_.Bind(builder()); } in BindContinueTarget()
94 void LoopBuilder::BindLoopEnd() { end_labels_.Bind(builder()); } in BindLoopEnd()
Dcontrol-flow-builders.h98 class V8_EXPORT_PRIVATE LoopBuilder final : public BreakableControlFlowBuilder {
100 LoopBuilder(BytecodeArrayBuilder* builder, in LoopBuilder() function
112 ~LoopBuilder() override;
116 void JumpToHeader(int loop_depth, LoopBuilder* const parent_loop);
Dbytecode-generator.h28 class LoopBuilder; variable
372 void VisitIterationBody(IterationStatement* stmt, LoopBuilder* loop_builder);
Dbytecode-generator.cc426 LoopBuilder* loop_builder) in ControlScopeForIteration()
454 LoopBuilder* loop_builder_;
1051 explicit LoopScope(BytecodeGenerator* bytecode_generator, LoopBuilder* loop) in LoopScope()
1072 LoopBuilder* const loop_builder_;
2241 LoopBuilder* loop_builder) { in VisitIterationBody()
2249 LoopBuilder loop_builder(builder(), block_coverage_builder_, stmt); in VisitDoWhileStatement()
2271 LoopBuilder loop_builder(builder(), block_coverage_builder_, stmt); in VisitWhileStatement()
2294 LoopBuilder loop_builder(builder(), block_coverage_builder_, stmt); in VisitForStatement()
2346 LoopBuilder loop_builder(builder(), block_coverage_builder_, stmt); in VisitForInStatement()
2419 LoopBuilder loop_builder(builder(), block_coverage_builder_, stmt); in VisitForOfStatement()
[all …]