• Home
  • Raw
  • Download

Lines Matching full:const

26 …   explicit ConstUseIterator(const Circuit* circuit, const Out* out) : circuit_(circuit), out_(out)  in ConstUseIterator()
30 GateRef operator*() const
38 const ConstUseIterator operator++()
48 const ConstUseIterator operator++(int)
55 size_t GetIndex() const in GetIndex()
61 OpCode GetOpCode() const in GetOpCode()
67 friend bool operator== (const ConstUseIterator& a, const ConstUseIterator& b)
71 friend bool operator!= (const ConstUseIterator& a, const ConstUseIterator& b)
77 const Circuit* circuit_;
78 const Out* out_;
87 GateRef operator*() const
95 const UseIterator& operator++()
110 size_t GetIndex() const in GetIndex()
116 OpCode GetOpCode() const in GetOpCode()
122 friend bool operator== (const UseIterator& a, const UseIterator& b)
126 friend bool operator!= (const UseIterator& a, const UseIterator& b)
137 explicit ConstInsIterator(const Circuit* circuit, const In* in) : circuit_(circuit), in_(in) in ConstInsIterator()
141 GateRef operator*() const
146 const ConstInsIterator& operator++()
158 OpCode GetOpCode() const in GetOpCode()
164 friend bool operator== (const ConstInsIterator& a, const ConstInsIterator& b)
168 friend bool operator!= (const ConstInsIterator& a, const ConstInsIterator& b)
174 const Circuit* circuit_;
175 const In* in_;
179 explicit InsIterator(const Circuit* circuit, In* in) : circuit_(circuit), in_(in) in InsIterator()
188 const InsIterator& operator++()
200 OpCode GetOpCode() const in GetOpCode()
206 friend bool operator== (const InsIterator& a, const InsIterator& b)
210 friend bool operator!= (const InsIterator& a, const InsIterator& b)
216 const Circuit* circuit_;
248 const GateRef gate;
272 ConstInWrapper ConstIns(GateRef gate) const in ConstIns()
277 InWrapper Ins(GateRef gate) const in Ins()
282 ConstUseWrapper ConstUses(GateRef gate) const in ConstUses()
296 Circuit *GetCircuit() const in GetCircuit()
302 void GetAllGates(std::vector<GateRef>& gates) const;
303 size_t GetNumIns(GateRef gate) const;
304 OpCode GetOpCode(GateRef gate) const;
305 bool IsGCRelated(GateRef gate) const;
306 uint64_t TryGetValue(GateRef gate) const;
307 ICmpCondition GetICmpCondition(GateRef gate) const;
308 FCmpCondition GetFCmpCondition(GateRef gate) const;
309 ConstDataId GetConstDataId(GateRef gate) const;
310 size_t GetVirtualRegisterIndex(GateRef gate) const;
311 TypedLoadOp GetTypedLoadOp(GateRef gate) const;
312 TypedStoreOp GetTypedStoreOp(GateRef gate) const;
313 TypedBinOp GetTypedBinaryOp(GateRef gate) const;
314 GateType GetParamGateType(GateRef gate) const;
315 TypedUnaryAccessor GetTypedUnOp(GateRef gate) const;
316 uint64_t GetConstantValue(GateRef gate) const;
317 uint32_t GetBytecodeIndex(GateRef gate) const;
318 EcmaOpcode GetByteCodeOpcode(GateRef gate) const;
319 void Print(GateRef gate) const;
320 void ShortPrint(GateRef gate) const;
321 GateId GetId(GateRef gate) const;
322 GateRef GetValueIn(GateRef gate, size_t idx = 0) const;
323 size_t GetNumValueIn(GateRef gate) const;
324 GateRef GetIn(GateRef gate, size_t idx) const;
325 GateRef GetState(GateRef gate, size_t idx = 0) const;
326 GateRef GetDep(GateRef gate, size_t idx = 0) const;
327 size_t GetImmediateId(GateRef gate) const;
329 UseIterator ReplaceIn(const UseIterator &useIt, GateRef replaceGate);
331 GateType GetGateType(GateRef gate) const;
333 UseIterator DeleteExceptionDep(const UseIterator &useIt);
335 UseIterator DeleteGate(const UseIterator &useIt);
336 void DecreaseIn(const UseIterator &useIt);
339 size_t GetStateCount(GateRef gate) const;
340 size_t GetDependCount(GateRef gate) const;
341 size_t GetInValueCount(GateRef gate) const;
342 size_t GetInValueStarts(GateRef gate) const;
349 MachineType GetMachineType(GateRef gate) const;
351 GateRef GetConstantGate(MachineType bitValue, BitField bitfield, GateType type) const;
352 bool IsInGateNull(GateRef gate, size_t idx) const;
353 bool IsSelector(GateRef g) const;
354 bool IsControlCase(GateRef gate) const;
355 bool IsLoopHead(GateRef gate) const;
356 bool IsLoopBack(GateRef gate) const;
357 bool IsState(GateRef gate) const;
358 bool IsConstant(GateRef gate) const;
359 bool IsDependSelector(GateRef gate) const;
360 bool IsConstantValue(GateRef gate, uint64_t value) const;
361 bool IsTypedOperator(GateRef gate) const;
362 bool IsNotWrite(GateRef gate) const;
363 bool IsDead(GateRef gate) const;
364 bool IsCheckWithOneIn(GateRef gate) const;
365 bool IsCheckWithTwoIns(GateRef gate) const;
366 bool IsSchedulable(GateRef gate) const;
367 MarkCode GetMark(GateRef gate) const;
369 bool IsFinished(GateRef gate) const;
370 bool IsVisited(GateRef gate) const;
371 bool IsNotMarked(GateRef gate) const;
374 bool IsStateIn(const UseIterator &useIt) const;
375 bool IsDependIn(const UseIterator &useIt) const;
376 bool IsValueIn(const UseIterator &useIt) const;
377 bool IsFrameStateIn(const UseIterator &useIt) const;
378 bool IsExceptionState(const UseIterator &useIt) const;
379 bool IsDependIn(GateRef gate, size_t index) const;
380 bool IsValueIn(GateRef gate, size_t index) const;
383 bool IsFrameStateIn(GateRef gate, size_t index) const;
386 GateType GetLeftType(GateRef gate) const;
387 GateType GetRightType(GateRef gate) const;
388 GateRef GetGlueFromArgList() const;
389 void GetArgsOuts(std::vector<GateRef>& outs) const;
390 void GetReturnOuts(std::vector<GateRef>& outs) const;
392 GateRef GetStateRoot() const in GetStateRoot()
397 GateRef GetDependRoot() const in GetDependRoot()
402 GateRef GetArgRoot() const in GetArgRoot()
407 GateRef GetReturnRoot() const in GetReturnRoot()
412 GateRef GetFrameState(GateRef gate) const;
414 bool HasFrameState(GateRef gate) const;
415 const GateMetaData *GetMetaData(GateRef gate) const;
416 void SetMetaData(GateRef gate, const GateMetaData* meta);
419 GateRef GetRoot(OpCode opcode) const;
420 ConstUseIterator ConstUseBegin(GateRef gate) const in ConstUseBegin()
429 ConstUseIterator ConstUseEnd() const in ConstUseEnd()
434 UseIterator UseBegin(GateRef gate) const in UseBegin()
443 UseIterator UseEnd() const in UseEnd()
448 ConstInsIterator ConstInBegin(GateRef gate) const in ConstInBegin()
450 …return ConstInsIterator(circuit_, &reinterpret_cast<const In *>(circuit_->LoadGatePtrConst(gate) +… in ConstInBegin()
453 ConstInsIterator ConstInEnd(GateRef gate) const in ConstInEnd()
457 … &reinterpret_cast<const In *>(circuit_->LoadGatePtrConst(gate) + 1)[endIndex]); in ConstInEnd()
471 void GetIns(GateRef gate, std::vector<GateRef>& ins) const;
473 void GetOuts(GateRef gate, std::vector<GateRef>& outs) const;
475 void GetInStates(GateRef gate, std::vector<GateRef>& ins) const;
477 void GetOutStates(GateRef gate, std::vector<GateRef>& outStates) const;
492 explicit ConstInsIterator(const Circuit* circuit, const In* in) : circuit_(circuit), in_(in) in ConstInsIterator()
496 GateRef operator*() const
501 const ConstInsIterator& operator++()
513 OpCode GetOpCode() const in GetOpCode()
519 friend bool operator== (const ConstInsIterator& a, const ConstInsIterator& b)
523 friend bool operator!= (const ConstInsIterator& a, const ConstInsIterator& b)
529 const Circuit* circuit_;
530 const In* in_;
534 const Circuit* circuit;
535 const GateRef gate;
546 ConstInWrapper Ins(GateRef gate) const in Ins()
551 explicit ConstGateAccessor(const Circuit *circuit) : circuit_(circuit) in ConstGateAccessor()
558 ConstInsIterator ConstInBegin(GateRef gate) const in ConstInBegin()
560 …return ConstInsIterator(circuit_, &reinterpret_cast<const In *>(circuit_->LoadGatePtrConst(gate) +… in ConstInBegin()
563 ConstInsIterator ConstInEnd(GateRef gate) const in ConstInEnd()
567 … &reinterpret_cast<const In *>(circuit_->LoadGatePtrConst(gate) + 1)[endIndex]); in ConstInEnd()
570 const Circuit *circuit_;