• Home
  • Raw
  • Download

Lines Matching full:const

34     GateRef State() const  in State()
39 GateRef Depend() const in Depend()
69 GateRef GetGate() const in GetGate()
74 size_t GetIndex() const in GetIndex()
95 ConstUseIterator(const Circuit* circuit, const Out* out) : circuit_(circuit), out_(out) in ConstUseIterator()
99 GateRef operator*() const
107 const ConstUseIterator operator++()
117 const ConstUseIterator operator++(int)
124 size_t GetIndex() const in GetIndex()
130 OpCode GetOpCode() const in GetOpCode()
136 friend bool operator == (const ConstUseIterator& a, const ConstUseIterator& b)
140 friend bool operator != (const ConstUseIterator& a, const ConstUseIterator& b)
146 const Circuit* circuit_;
147 const Out* out_;
156 GateRef operator*() const
164 const UseIterator& operator++()
179 size_t GetIndex() const in GetIndex()
192 OpCode GetOpCode() const in GetOpCode()
198 friend bool operator == (const UseIterator& a, const UseIterator& b)
202 friend bool operator != (const UseIterator& a, const UseIterator& b)
213 ConstInsIterator(const Circuit* circuit, const In* in) : circuit_(circuit), in_(in) in ConstInsIterator()
217 GateRef operator*() const
222 const ConstInsIterator& operator++()
234 OpCode GetOpCode() const in GetOpCode()
240 friend bool operator== (const ConstInsIterator& a, const ConstInsIterator& b)
244 friend bool operator!= (const ConstInsIterator& a, const ConstInsIterator& b)
250 const Circuit* circuit_;
251 const In* in_;
255 InsIterator(const Circuit* circuit, In* in) : circuit_(circuit), in_(in) in InsIterator()
264 const InsIterator& operator++()
276 OpCode GetOpCode() const in GetOpCode()
282 friend bool operator== (const InsIterator& a, const InsIterator& b)
286 friend bool operator!= (const InsIterator& a, const InsIterator& b)
292 const Circuit* circuit_;
324 const GateRef gate;
348 ConstInWrapper ConstIns(GateRef gate) const in ConstIns()
353 InWrapper Ins(GateRef gate) const in Ins()
358 ConstUseWrapper ConstUses(GateRef gate) const in ConstUses()
372 Circuit *GetCircuit() const in GetCircuit()
378 void GetAllGates(std::vector<GateRef>& gates) const;
379 size_t GetNumIns(GateRef gate) const;
380 OpCode GetOpCode(GateRef gate) const;
381 bool IsGCRelated(GateRef gate) const;
382 uint64_t TryGetValue(GateRef gate) const;
383 ICmpCondition GetICmpCondition(GateRef gate) const;
384 FCmpCondition GetFCmpCondition(GateRef gate) const;
385 size_t GetOffset(GateRef gate) const;
386 size_t GetInitOffset(GateRef gate) const;
387 uint32_t GetTrueWeight(GateRef gate) const;
388 uint32_t GetFalseWeight(GateRef gate) const;
389 bool HasBranchWeight(GateRef gate) const;
390 MemoryAttribute GetMemoryAttribute(GateRef gate) const;
391 size_t GetIndex(GateRef gate) const;
392 size_t GetJSType(GateRef gate) const;
393 uint32_t GetArraySize(GateRef gate) const;
395 uint32_t GetStringStatus(GateRef gate) const;
397 ElementsKind GetElementsKind(GateRef gate) const;
399 size_t GetVirtualRegisterIndex(GateRef gate) const;
400 bool TypedOpIsTypedArray(GateRef gate, TypedOpKind kind) const;
401 TypedLoadOp GetTypedLoadOp(GateRef gate) const;
402 TypedStoreOp GetTypedStoreOp(GateRef gate) const;
403 MemoryType GetMemoryType(GateRef gate) const;
404 uint32_t GetHClassIndex(GateRef gate) const;
405 TypedBinOp GetTypedBinaryOp(GateRef gate) const;
406 TypedCallTargetCheckOp GetTypedCallTargetCheckOp(GateRef gate) const;
407 bool HasNumberType(GateRef gate) const;
408 bool HasStringType(GateRef gate) const;
409 GlobalTSTypeRef GetFuncGT(GateRef gate) const;
410 GateType GetParamGateType(GateRef gate) const;
411 ParamType GetParamType(GateRef gate) const;
412 TypedUnaryAccessor GetTypedUnAccessor(GateRef gate) const;
413 TypedBinaryAccessor GetTypedBinaryAccessor(GateRef gate) const;
414 TypedJumpAccessor GetTypedJumpAccessor(GateRef gate) const;
415 ArrayMetaDataAccessor GetArrayMetaDataAccessor(GateRef gate) const;
416 CreateArgumentsAccessor GetCreateArgumentsAccessor(GateRef gate) const;
417 ObjectTypeAccessor GetObjectTypeAccessor(GateRef gate) const;
418 BuiltinPrototypeHClassAccessor GetBuiltinHClassAccessor(GateRef gate) const;
419 TypedArrayMetaDataAccessor GetTypedArrayMetaDataAccessor(GateRef gate) const;
420 LoadElementAccessor GetLoadElementAccessor(GateRef gate) const;
421 StoreElementAccessor GetStoreElementAccessor(GateRef gate) const;
422 bool NeedPushArgv(GateRef gate) const;
423 uint64_t GetConstantValue(GateRef gate) const;
424 const ChunkVector<char>& GetConstantString(GateRef gate) const;
425 bool IsVtable(GateRef gate) const;
426 bool GetNoGCFlag(GateRef gate) const;
427 bool TypedCallIsNoGC(GateRef gate) const;
428 bool IsNoGC(GateRef gate) const;
429 uint32_t TryGetPcOffset(GateRef gate) const;
430 uint32_t TryGetBcIndex(GateRef gate) const;
431 uint32_t TryGetMethodOffset(GateRef gate) const;
432 GateRef GetFrameArgs(GateRef gate) const;
434 PGOTypeRef TryGetPGOType(GateRef gate) const;
436 uint32_t TryGetArrayElementsLength(GateRef gate) const;
438 ElementsKind TryGetElementsKind(GateRef gate) const;
439 ElementsKind TryGetArrayElementsKind(GateRef gate) const;
440 ElementsKind TryGetArrayElementsKindAfterTransition(GateRef gate) const;
443 void TrySetOnHeapMode(GateRef gate, OnHeapMode onHeapMode) const;
444 OnHeapMode TryGetOnHeapMode(GateRef gate) const;
445 EcmaOpcode GetByteCodeOpcode(GateRef gate) const;
446 void Print(GateRef gate) const DUMP_API_ATTR;
447 std::string ToString(GateRef gate) const DUMP_API_ATTR;
449 void PrintById(size_t id) const DUMP_API_ATTR ;
451 void PrintWithBytecode(GateRef gate) const DUMP_API_ATTR;
452 void ShortPrint(GateRef gate) const;
453 GateId GetId(GateRef gate) const;
454 GateRef GetValueIn(GateRef gate, size_t idx = 0) const;
455 size_t GetNumValueIn(GateRef gate) const;
456 std::vector<GateRef> GetValueIns(GateRef gate) const;
457 GateRef GetIn(GateRef gate, size_t idx) const;
458 GateRef GetState(GateRef gate, size_t idx = 0) const;
459 GateRef GetDep(GateRef gate, size_t idx = 0) const;
460 size_t GetImmediateId(GateRef gate) const;
462 UseIterator ReplaceIn(const UseIterator &useIt, GateRef replaceGate);
464 GateType GetGateType(GateRef gate) const;
465 bool IsConvertSupport(GateRef gate) const;
466 ValueType GetSrcType(GateRef gate) const;
467 ValueType GetDstType(GateRef gate) const;
470 UseIterator DeleteGate(const UseIterator &useIt);
471 void DecreaseIn(const UseIterator &useIt);
474 size_t GetStateCount(GateRef gate) const;
475 size_t GetDependCount(GateRef gate) const;
476 size_t GetInValueCount(GateRef gate) const;
477 size_t GetInValueStarts(GateRef gate) const;
489 MachineType GetMachineType(GateRef gate) const;
491 GateRef GetConstantGate(MachineType bitValue, BitField bitfield, GateType type) const;
492 GateRef GetInitialEnvGate(GateRef depend, GateRef jsFunc) const;
493 double GetFloat64FromConstant(GateRef gate) const;
494 int GetInt32FromConstant(GateRef gate) const;
495 bool IsInGateNull(GateRef gate, size_t idx) const;
496 bool IsSelector(GateRef g) const;
497 bool IsSimpleState(GateRef g) const;
498 bool IsValueSelector(GateRef g) const;
499 bool IsFrameValues(GateRef g) const;
500 bool IsControlCase(GateRef gate) const;
501 bool IsLoopExit(GateRef gate) const;
502 bool IsLoopExitRelated(GateRef gate) const;
503 bool IsLoopHead(GateRef gate) const;
504 bool IsLoopBack(GateRef gate) const;
505 bool IsState(GateRef gate) const;
506 bool IsConstant(GateRef gate) const;
507 bool IsDependSelector(GateRef gate) const;
508 bool IsConstantValue(GateRef gate, uint64_t value) const;
509 bool IsConstantTaggedValue(GateRef gate, uint64_t value) const;
510 bool IsConstantUndefined(GateRef gate) const;
511 bool IsUndefinedOrNullOrHole(GateRef gate) const;
512 bool IsConstantNumber(GateRef gate) const;
513 bool IsTypedOperator(GateRef gate) const;
514 bool IsNotWrite(GateRef gate) const;
515 bool IsDead(GateRef gate) const;
516 bool IsCheckWithOneIn(GateRef gate) const;
517 bool IsCheckWithTwoIns(GateRef gate) const;
518 bool IsSchedulable(GateRef gate) const;
519 bool IsVirtualState(GateRef gate) const;
520 bool IsGeneralState(GateRef gate) const;
521 MarkCode GetMark(GateRef gate) const;
523 bool IsFinished(GateRef gate) const;
524 bool IsVisited(GateRef gate) const;
525 bool IsPrevisit(GateRef gate) const;
526 bool IsNotMarked(GateRef gate) const;
530 bool IsStateIn(const UseIterator &useIt) const;
531 bool IsDependIn(const UseIterator &useIt) const;
532 bool IsValueIn(const UseIterator &useIt) const;
533 bool IsFrameStateIn(const UseIterator &useIt) const;
534 bool IsStateIn(GateRef gate, size_t index) const;
535 bool IsDependIn(GateRef gate, size_t index) const;
536 bool IsValueIn(GateRef gate, size_t index) const;
541 bool IsFrameStateIn(GateRef gate, size_t index) const;
546 uint32_t GetFirstValue(GateRef gate) const;
547 uint32_t GetSecondValue(GateRef gate) const;
548 GateRef GetGlueFromArgList() const;
549 void GetArgsOuts(std::vector<GateRef>& outs) const;
550 void GetReturnOuts(std::vector<GateRef>& outs) const;
551 bool IsFixed(GateRef g) const;
552 bool IsProlog(GateRef g) const;
553 bool IsCFGMerge(GateRef g) const;
554 bool MetaDataEqu(GateRef g1, GateRef g2) const;
555 bool MetaDataValueEqu(GateRef g1, GateRef g2) const;
556 bool IsNop(GateRef g) const;
557 bool IsRoot(GateRef g) const;
558 bool HasOuts(GateRef gate) const;
561 bool HasIfExceptionUse(GateRef gate) const;
562 bool IsIn(GateRef g, GateRef in) const;
566 bool UseForTypeOpProfilerGate(GateRef gate) const;
568 bool IsIfOrSwitchRelated(GateRef gate) const;
569 uint32_t GetConstpoolId(GateRef gate) const;
572 GateRef GetCircuitRoot() const in GetCircuitRoot()
577 GateRef GetStateRoot() const in GetStateRoot()
582 GateRef GetDependRoot() const in GetDependRoot()
587 GateRef GetArgRoot() const in GetArgRoot()
592 GateRef GetReturnRoot() const in GetReturnRoot()
597 inline bool IsStateRoot(GateRef gate) const in IsStateRoot()
603 GateRef GetFrameState(GateRef gate) const;
605 bool HasFrameState(GateRef gate) const;
606 GateRef FindNearestFrameState(GateRef gate) const;
607 GateRef FindNearestStateSplit(GateRef gate) const;
608 void SetMetaData(GateRef gate, const GateMetaData* meta);
614 bool IsLoopBackUse(GateRef gate, const UseIterator &useIt) const;
615 void GetOutStates(GateRef gate, std::vector<GateRef>& outStates) const;
616 bool IsCreateArray(GateRef gate) const;
618 bool IsNoBarrier(GateRef gate) const;
619 void GetIns(GateRef gate, std::vector<GateRef>& ins) const;
625 const GateMetaData *GetMetaData(GateRef gate) const;
626 UseIterator ReplaceHirIfSuccess(const UseIterator &useIt, GateRef state);
627 UseIterator ReplaceHirIfException(const UseIterator &useIt, StateDepend replacement);
630 GateRef GetRoot(OpCode opcode) const;
631 ConstUseIterator ConstUseBegin(GateRef gate) const in ConstUseBegin()
640 ConstUseIterator ConstUseEnd() const in ConstUseEnd()
645 UseIterator UseBegin(GateRef gate) const in UseBegin()
654 UseIterator UseEnd() const in UseEnd()
659 ConstInsIterator ConstInBegin(GateRef gate) const in ConstInBegin()
661 …return ConstInsIterator(circuit_, &reinterpret_cast<const In *>(circuit_->LoadGatePtrConst(gate) +… in ConstInBegin()
664 ConstInsIterator ConstInEnd(GateRef gate) const in ConstInEnd()
668 … &reinterpret_cast<const In *>(circuit_->LoadGatePtrConst(gate) + 1)[endIndex]); in ConstInEnd()
682 void GetOuts(GateRef gate, std::vector<GateRef>& outs) const;
684 void GetInStates(GateRef gate, std::vector<GateRef>& ins) const;
699 ConstInsIterator(const Circuit* circuit, const In* in) : circuit_(circuit), in_(in) in ConstInsIterator()
703 GateRef operator*() const
708 const ConstInsIterator& operator++()
720 OpCode GetOpCode() const in GetOpCode()
726 friend bool operator== (const ConstInsIterator& a, const ConstInsIterator& b)
730 friend bool operator!= (const ConstInsIterator& a, const ConstInsIterator& b)
736 const Circuit* circuit_;
737 const In* in_;
741 const Circuit* circuit;
742 const GateRef gate;
753 ConstInWrapper Ins(GateRef gate) const in Ins()
758 explicit ConstGateAccessor(const Circuit *circuit) : circuit_(circuit) in ConstGateAccessor()
764 bool IsFixed(GateRef g) const;
765 bool IsProlog(GateRef g) const;
766 bool IsSchedulable(GateRef g) const;
769 ConstInsIterator ConstInBegin(GateRef gate) const in ConstInBegin()
771 …return ConstInsIterator(circuit_, &reinterpret_cast<const In *>(circuit_->LoadGatePtrConst(gate) +… in ConstInBegin()
774 ConstInsIterator ConstInEnd(GateRef gate) const in ConstInEnd()
778 … &reinterpret_cast<const In *>(circuit_->LoadGatePtrConst(gate) + 1)[endIndex]); in ConstInEnd()
780 const GateMetaData *GetMetaData(GateRef g) const;
782 const Circuit *circuit_;