Home | History | Annotate | Download | only in Target

Lines Matching defs:Legal

70 /// legal SelectionDAG operators that the target instruction selector can accept
83 Legal, // The target natively supports this operation.
89 /// LegalizeTypeAction - This enum indicates whether a types are legal for a
202 /// legal super-reg register class for the register class of the value type.
252 /// it is already legal (return 'Legal') or we need to promote it to a larger
275 /// point types), this returns the largest legal type it will be expanded to.
286 llvm_unreachable("Type is not legal nor is it to be expanded!");
292 /// legal first class types. For example, EVT::v8f32 maps to 2 EVT::v4f32
335 /// are assumed to be legal.
342 /// VT must be a legal type. By default, we optimistically assume most
356 /// it is legal, needs to be promoted to a larger size, needs to be
367 /// legal on this target or can be made legal with custom lowering. This
371 (getOperationAction(Op, VT) == Legal ||
375 /// isOperationLegal - Return true if the specified operation is legal on this
379 getOperationAction(Op, VT) == Legal;
383 /// either it is legal, needs to be promoted to a larger size, needs to be
393 /// isLoadExtLegal - Return true if the specified load with extension is legal
396 return VT.isSimple() && getLoadExtAction(ExtType, VT) == Legal;
400 /// treated: either it is legal, needs to be promoted to a larger size, needs
412 /// legal on this target.
415 getTruncStoreAction(ValVT, MemVT) == Legal;
419 /// either it is legal, needs to be promoted to a larger size, needs to be
431 /// isIndexedLoadLegal - Return true if the specified indexed load is legal
435 (getIndexedLoadAction(IdxMode, VT) == Legal ||
440 /// either it is legal, needs to be promoted to a larger size, needs to be
452 /// isIndexedStoreLegal - Return true if the specified indexed load is legal
456 (getIndexedStoreAction(IdxMode, VT) == Legal ||
461 /// either it is legal, needs to be expanded to some other code sequence,
474 /// isCondCodeLegal - Return true if the specified condition code is legal
477 return getCondCodeAction(CC, VT) == Legal ||
789 /// with the given GlobalAddress is legal. It is frequently not legal in
930 /// given node type. e.g. On x86 i16 is legal, but undesirable since i16
933 // By default, assume all legal types are desirable.
1040 /// findRepresentativeClass - Return the largest legal super-reg register class
1188 /// with legal-type argument values, and return the resulting token
1232 /// InVals array with legal-type return values from the call, and return
1306 /// to legalize nodes with an illegal operand type but legal result types.
1323 /// and whose defined values are all legal.
1544 /// AM is legal for this target, for a load/store of the specified type.
1546 /// mode is legal for a load/store of any legal type.
1550 /// isLegalICmpImmediate - Return true if the specified immediate is legal
1558 /// isLegalAddImmediate - Return true if the specified immediate is legal
1784 /// representative register class is the largest legal super-reg register
1803 /// Most operations are Legal (aka, supported natively by the target), but
1805 /// non-legal value types are not described here.
1815 /// truncating type is legal.
1879 // then try to widen vector elements until a legal type is found.
1898 // Promote the integer element types until a legal vector type is found
1899 // or until the element integer type is too big. If a legal type was not
1909 // Note that vector elements may be greater than legal vector element
1913 // Build a new vector type and check if it is legal.
1915 // Found a legal promoted vector type.
1922 // Try to widen the vector until a legal type is found.
1923 // If there is no wider legal type, split the vector.
1929 // cannot be a larger legal vector type. Note that this assumes that
1935 // If this type is legal then widen the vector.
2033 /// specified register class are all legal.
2037 /// has one or more super-reg register classes that are legal.