Lines Matching refs:TNode

386 class TNode {
392 TNode(const TNode<U>& other) : node_(other) {}
393 TNode() : node_(nullptr) {}
395 TNode operator=(TNode other) {
403 static TNode UncheckedCast(compiler::Node* node) { return TNode(node); }
406 explicit TNode(compiler::Node* node) : node_(node) {}
417 class SloppyTNode : public TNode<T> {
420 : TNode<T>(node) {}
423 SloppyTNode(const TNode<U>& other) // NOLINT(runtime/explicit)
424 : TNode<T>(other) {}
490 TNode<Float64T> Float64Add(TNode<Float64T> a, TNode<Float64T> b);
608 operator TNode<A>() {
615 static_assert(std::is_convertible<TNode<A>, TNode<Object>>::value,
620 !std::is_convertible<TNode<PreviousType>, TNode<A>>::value,
638 return TNode<A>::UncheckedCast(node_);
643 return implicit_cast<TNode<A>>(*this);
657 TNode<T> UncheckedCast(Node* value) {
658 return TNode<T>::UncheckedCast(value);
661 TNode<T> UncheckedCast(TNode<U> value) {
664 return TNode<T>::UncheckedCast(value);
670 TNode<T> ReinterpretCast(Node* value) {
671 return TNode<T>::UncheckedCast(value);
679 CheckedNode<T, true> Cast(TNode<T> value, const char* location = "") {
697 TNode<Int32T> Int32Constant(int32_t value);
698 TNode<Int64T> Int64Constant(int64_t value);
699 TNode<IntPtrT> IntPtrConstant(intptr_t value);
700 TNode<Number> NumberConstant(double value);
701 TNode<Smi> SmiConstant(Smi* value);
702 TNode<Smi> SmiConstant(int value);
705 TNode<Smi> SmiConstant(E value) {
709 TNode<HeapObject> UntypedHeapConstant(Handle<HeapObject> object);
711 TNode<Type> HeapConstant(Handle<Type> object) {
714 TNode<String> StringConstant(const char* str);
715 TNode<Oddball> BooleanConstant(bool value);
716 TNode<ExternalReference> ExternalConstant(ExternalReference address);
717 TNode<Float64T> Float64Constant(double value);
718 TNode<HeapNumber> NaNConstant();
719 TNode<BoolT> Int32TrueConstant() {
722 TNode<BoolT> Int32FalseConstant() {
725 TNode<BoolT> BoolConstant(bool value) {
734 bool IsUndefinedConstant(TNode<Object> node);
735 bool IsNullConstant(TNode<Object> node);
737 TNode<Int32T> Signed(TNode<Word32T> x) { return UncheckedCast<Int32T>(x); }
738 TNode<IntPtrT> Signed(TNode<WordT> x) { return UncheckedCast<IntPtrT>(x); }
739 TNode<Uint32T> Unsigned(TNode<Word32T> x) {
742 TNode<UintPtrT> Unsigned(TNode<WordT> x) {
750 TNode<Context> GetJSContextParameter();
776 void Branch(TNode<BoolT> condition, std::function<void()> true_body,
778 void Branch(TNode<BoolT> condition, Label* true_label,
780 void Branch(TNode<BoolT> condition, std::function<void()> true_body,
794 TNode<Object> TaggedPoisonOnSpeculation(SloppyTNode<Object> value);
795 TNode<WordT> WordPoisonOnSpeculation(SloppyTNode<WordT> value);
801 TNode<Type> Load(MachineType rep, TNode<RawPtr<Type>> base) {
811 TNode<Object> LoadRoot(Heap::RootListIndex root_index);
845 TNode<ResType> name(SloppyTNode<Arg1Type> a, SloppyTNode<Arg2Type> b);
849 TNode<IntPtrT> WordShr(TNode<IntPtrT> left, TNode<IntegralT> right) {
854 TNode<IntPtrT> WordAnd(TNode<IntPtrT> left, TNode<IntPtrT> right) {
863 TNode<BoolT> WordEqual(TNode<Left> left, TNode<Right> right) {
867 TNode<BoolT> WordEqual(TNode<Object> left, Node* right) {
871 TNode<BoolT> WordEqual(Node* left, TNode<Object> right) {
879 TNode<BoolT> WordNotEqual(TNode<Left> left, TNode<Right> right) {
883 TNode<BoolT> WordNotEqual(TNode<Object> left, Node* right) {
887 TNode<BoolT> WordNotEqual(Node* left, TNode<Object> right) {
892 TNode<BoolT> IntPtrEqual(SloppyTNode<WordT> left, SloppyTNode<WordT> right);
893 TNode<BoolT> WordEqual(SloppyTNode<WordT> left, SloppyTNode<WordT> right);
894 TNode<BoolT> WordNotEqual(SloppyTNode<WordT> left, SloppyTNode<WordT> right);
895 TNode<BoolT> Word32Equal(SloppyTNode<Word32T> left,
897 TNode<BoolT> Word32NotEqual(SloppyTNode<Word32T> left,
899 TNode<BoolT> Word64Equal(SloppyTNode<Word64T> left,
901 TNode<BoolT> Word64NotEqual(SloppyTNode<Word64T> left,
904 TNode<Int32T> Int32Add(TNode<Int32T> left, TNode<Int32T> right) {
909 TNode<WordT> IntPtrAdd(SloppyTNode<WordT> left, SloppyTNode<WordT> right);
910 TNode<WordT> IntPtrSub(SloppyTNode<WordT> left, SloppyTNode<WordT> right);
911 TNode<WordT> IntPtrMul(SloppyTNode<WordT> left, SloppyTNode<WordT> right);
912 TNode<IntPtrT> IntPtrAdd(TNode<IntPtrT> left, TNode<IntPtrT> right) {
916 TNode<IntPtrT> IntPtrSub(TNode<IntPtrT> left, TNode<IntPtrT> right) {
920 TNode<IntPtrT> IntPtrMul(TNode<IntPtrT> left, TNode<IntPtrT> right) {
925 TNode<WordT> WordShl(SloppyTNode<WordT> value, int shift);
926 TNode<WordT> WordShr(SloppyTNode<WordT> value, int shift);
927 TNode<WordT> WordSar(SloppyTNode<WordT> value, int shift);
928 TNode<IntPtrT> WordShr(TNode<IntPtrT> value, int shift) {
931 TNode<Word32T> Word32Shr(SloppyTNode<Word32T> value, int shift);
933 TNode<WordT> WordOr(SloppyTNode<WordT> left, SloppyTNode<WordT> right);
934 TNode<WordT> WordAnd(SloppyTNode<WordT> left, SloppyTNode<WordT> right);
935 TNode<WordT> WordXor(SloppyTNode<WordT> left, SloppyTNode<WordT> right);
936 TNode<WordT> WordShl(SloppyTNode<WordT> left, SloppyTNode<IntegralT> right);
937 TNode<WordT> WordShr(SloppyTNode<WordT> left, SloppyTNode<IntegralT> right);
938 TNode<WordT> WordSar(SloppyTNode<WordT> left, SloppyTNode<IntegralT> right);
939 TNode<Word32T> Word32Or(SloppyTNode<Word32T> left,
941 TNode<Word32T> Word32And(SloppyTNode<Word32T> left,
943 TNode<Word32T> Word32Xor(SloppyTNode<Word32T> left,
945 TNode<Word32T> Word32Shl(SloppyTNode<Word32T> left,
947 TNode<Word32T> Word32Shr(SloppyTNode<Word32T> left,
949 TNode<Word32T> Word32Sar(SloppyTNode<Word32T> left,
951 TNode<Word64T> Word64Or(SloppyTNode<Word64T> left,
953 TNode<Word64T> Word64And(SloppyTNode<Word64T> left,
955 TNode<Word64T> Word64Xor(SloppyTNode<Word64T> left,
957 TNode<Word64T> Word64Shl(SloppyTNode<Word64T> left,
959 TNode<Word64T> Word64Shr(SloppyTNode<Word64T> left,
961 TNode<Word64T> Word64Sar(SloppyTNode<Word64T> left,
966 TNode<ResType> name(SloppyTNode<ArgType> a);
972 TNode<UintPtrT> ChangeFloat64ToUintPtr(SloppyTNode<Float64T> value);
979 TNode<UintPtrT> ChangeUint32ToWord(SloppyTNode<Word32T> value);
981 TNode<IntPtrT> ChangeInt32ToIntPtr(SloppyTNode<Word32T> value);
991 TNode<typename std::tuple_element<index, std::tuple<T1, T2>>::type>
992 Projection(TNode<PairT<T1, T2>> value) {
1000 TNode<Object> CallRuntime(Runtime::FunctionId function,
1007 TNode<Object> CallRuntimeWithCEntry(Runtime::FunctionId function,
1008 TNode<Code> centry,
1018 TNode<Int32T> arity = Int32Constant(argc);
1024 void TailCallRuntime(Runtime::FunctionId function, TNode<Int32T> arity,
1032 TNode<Code> centry, TNode<Object> context,
1035 TNode<Int32T> arity = Int32Constant(argc);
1046 TNode<T> CallStub(Callable const& callable, SloppyTNode<Object> context,
1048 TNode<Code> target = HeapConstant(callable.code());
1053 TNode<T> CallStub(const CallInterfaceDescriptor& descriptor,
1072 TNode<Code> target = HeapConstant(callable.code());
1102 TNode<Object> TailCallJSCode(TNode<Code> code, TNode<Context> context,
1103 TNode<JSFunction> function,
1104 TNode<Object> new_target,
1105 TNode<Int32T> arg_count);
1217 TNode<Object> CallRuntimeImpl(Runtime::FunctionId function,
1218 TNode<Object> context,
1219 std::initializer_list<TNode<Object>> args);
1221 TNode<Object> CallRuntimeWithCEntryImpl(
1222 Runtime::FunctionId function, TNode<Code> centry, TNode<Object> context,
1223 std::initializer_list<TNode<Object>> args);
1225 void TailCallRuntimeImpl(Runtime::FunctionId function, TNode<Int32T> arity,
1226 TNode<Object> context,
1227 std::initializer_list<TNode<Object>> args);
1230 TNode<Int32T> arity, TNode<Code> centry,
1231 TNode<Object> context,
1232 std::initializer_list<TNode<Object>> args);
1235 TNode<Code> target, TNode<Object> context,
1249 TNode<Int32T> Signed(TNode<Int32T> x);
1250 TNode<Uint32T> Unsigned(TNode<Uint32T> x);
1299 TypedCodeAssemblerVariable(TNode<T> initial_value, CodeAssembler* assembler)
1310 TNode<T> initial_value, CodeAssembler* assembler)
1316 TNode<T> value() const {
1317 return TNode<T>::UncheckedCast(CodeAssemblerVariable::value());
1320 void operator=(TNode<T> value) { Bind(value); }