LLVM API Documentation
Definition at line 368 of file ARMAddressingModes.h.
Referenced by llvm::ARMBaseInstrInfo::convertToThreeAddress(), getMemoryOpOffset(), and llvm::rewriteARMFrameIndex().
Definition at line 371 of file ARMAddressingModes.h.
References sub.
Referenced by llvm::ARMBaseInstrInfo::convertToThreeAddress(), getMemoryOpOffset(), and llvm::rewriteARMFrameIndex().
Definition at line 374 of file ARMAddressingModes.h.
Referenced by llvm::ARMBaseInstrInfo::convertToThreeAddress().
Definition at line 397 of file ARMAddressingModes.h.
Referenced by llvm::ARMBaseInstrInfo::convertToThreeAddress(), getMemoryOpOffset(), and llvm::rewriteARMFrameIndex().
Definition at line 400 of file ARMAddressingModes.h.
References sub.
Referenced by llvm::ARMBaseInstrInfo::convertToThreeAddress(), getMemoryOpOffset(), and llvm::rewriteARMFrameIndex().
getAM3Opc - This function encodes the addrmode3 opc field.
Definition at line 393 of file ARMAddressingModes.h.
References sub.
Definition at line 425 of file ARMAddressingModes.h.
Definition at line 421 of file ARMAddressingModes.h.
Definition at line 429 of file ARMAddressingModes.h.
Definition at line 457 of file ARMAddressingModes.h.
Referenced by getLSMultipleTransferSize(), getMemoryOpOffset(), llvm::rewriteARMFrameIndex(), and llvm::rewriteT2FrameIndex().
Definition at line 460 of file ARMAddressingModes.h.
References sub.
Referenced by getMemoryOpOffset(), llvm::rewriteARMFrameIndex(), and llvm::rewriteT2FrameIndex().
| static unsigned llvm::ARM_AM::getAM5Opc | ( | AMSubMode | SubMode, | |
| bool | WB, | |||
| unsigned char | Offset | |||
| ) | [inline, static] |
getAM5Opc - This function encodes the addrmode5 opc field for FLDM and FSTM instructions.
Definition at line 466 of file ARMAddressingModes.h.
getAM5Opc - This function encodes the addrmode5 opc field.
Definition at line 453 of file ARMAddressingModes.h.
References sub.
Definition at line 472 of file ARMAddressingModes.h.
Definition at line 475 of file ARMAddressingModes.h.
Definition at line 493 of file ARMAddressingModes.h.
Definition at line 497 of file ARMAddressingModes.h.
| static const char* llvm::ARM_AM::getAMSubModeAltStr | ( | AMSubMode | Mode, | |
| bool | isLD | |||
| ) | [inline, static] |
Definition at line 82 of file ARMAddressingModes.h.
References da, db, ia, ib, and llvm_unreachable.
| static const char* llvm::ARM_AM::getAMSubModeStr | ( | AMSubMode | Mode | ) | [inline, static] |
Definition at line 72 of file ARMAddressingModes.h.
References da, db, ia, ib, and llvm_unreachable.
| static ShiftOpc llvm::ARM_AM::getShiftOpcForNode | ( | SDValue | N | ) | [inline, static] |
Definition at line 50 of file ARMAddressingModes.h.
References asr, llvm::SDValue::getOpcode(), lsl, lsr, no_shift, ror, llvm::ISD::ROTR, llvm::ISD::SHL, llvm::ISD::SRA, and llvm::ISD::SRL.
Referenced by getARMIndexedAddressParts().
| static const char* llvm::ARM_AM::getShiftOpcStr | ( | ShiftOpc | Op | ) | [inline, static] |
Definition at line 39 of file ARMAddressingModes.h.
getSOImmTwoPartFirst - If V is a value that satisfies isSOImmTwoPartVal, return the first chunk of it.
Definition at line 218 of file ARMAddressingModes.h.
References getSOImmValRotate(), and rotr32().
getSOImmTwoPartSecond - If V is a value that satisfies isSOImmTwoPartVal, return the second chunk of it.
Definition at line 224 of file ARMAddressingModes.h.
References getSOImmValRotate(), and rotr32().
| static int llvm::ARM_AM::getSOImmVal | ( | unsigned | Arg | ) | [inline, static] |
getSOImmVal - Given a 32-bit immediate, if it is something that can fit into an shifter_operand immediate operand, return the 12-bit encoding for it. If not, return -1.
Definition at line 188 of file ARMAddressingModes.h.
References getSOImmValRotate(), rotl32(), and rotr32().
Referenced by llvm::ARMBaseInstrInfo::convertToThreeAddress(), llvm::emitARMRegPlusImmediate(), isLegalCmpImmediate(), llvm::ARMTargetLowering::LowerAsmOperandForConstraint(), printSOImm(), and llvm::rewriteARMFrameIndex().
getSOImmValImm - Given an encoded imm field for the reg/imm form, return the 8-bit imm value.
Definition at line 132 of file ARMAddressingModes.h.
Referenced by printSOImm().
getSOImmValRot - Given an encoded imm field for the reg/imm form, return the rotate amount.
Definition at line 137 of file ARMAddressingModes.h.
Referenced by printSOImm().
getSOImmValRotate - Try to handle Imm with an immediate shifter operand, computing the rotate amount to use. If this immediate value cannot be handled with a single shifter-op, determine a good rotate amount that will take a maximal chunk of bits out of the immediate.
Definition at line 145 of file ARMAddressingModes.h.
References llvm::CountTrailingZeros_32(), and rotr32().
Referenced by llvm::emitARMRegPlusImmediate(), getSOImmTwoPartFirst(), getSOImmTwoPartSecond(), getSOImmVal(), isSOImmTwoPartVal(), and llvm::rewriteARMFrameIndex().
Definition at line 123 of file ARMAddressingModes.h.
Definition at line 120 of file ARMAddressingModes.h.
Referenced by llvm::ARMBaseInstrInfo::convertToThreeAddress().
Definition at line 126 of file ARMAddressingModes.h.
| static int llvm::ARM_AM::getT2SOImmVal | ( | unsigned | Arg | ) | [inline, static] |
getT2SOImmVal - Given a 32-bit immediate, if it is something that can fit into a Thumb-2 shifter_operand immediate operand, return the 12-bit encoding for it. If not, return -1. See ARM Reference Manual A6.3.2.
Definition at line 331 of file ARMAddressingModes.h.
References getT2SOImmValRotateVal(), and getT2SOImmValSplatVal().
Referenced by llvm::ARMTargetLowering::LowerAsmOperandForConstraint(), and llvm::rewriteT2FrameIndex().
| static int llvm::ARM_AM::getT2SOImmValRotateVal | ( | unsigned | V | ) | [inline, static] |
getT2SOImmValRotateVal - Return the 12-bit encoded representation if the specified value is a rotated 8-bit value. Return -1 if no rotation encoding is possible. See ARM Reference Manual A6.3.2.
Definition at line 315 of file ARMAddressingModes.h.
References llvm::CountLeadingZeros_32(), and rotr32().
Referenced by getT2SOImmVal().
| static int llvm::ARM_AM::getT2SOImmValSplatVal | ( | unsigned | V | ) | [inline, static] |
getT2SOImmValSplat - Return the 12-bit encoded representation if the specified value can be obtained by splatting the low 8 bits into every other byte or every byte of a 32-bit value. i.e., 00000000 00000000 00000000 abcdefgh control = 0 00000000 abcdefgh 00000000 abcdefgh control = 1 abcdefgh 00000000 abcdefgh 00000000 control = 2 abcdefgh abcdefgh abcdefgh abcdefgh control = 3 Return -1 if none of the above apply. See ARM Reference Manual A6.3.2.
Definition at line 287 of file ARMAddressingModes.h.
References Imm.
Referenced by getT2SOImmVal().
getThumbImm16ValShift - Try to handle Imm with a 16-bit immediate followed by a left shift. Returns the shift amount to use.
Definition at line 254 of file ARMAddressingModes.h.
References llvm::CountTrailingZeros_32().
Referenced by isThumbImm16ShiftedVal().
getThumbImmNonShiftedVal - If V is a value that satisfies isThumbImmShiftedVal, return the non-shiftd value.
Definition at line 273 of file ARMAddressingModes.h.
References getThumbImmValShift().
getThumbImmValShift - Try to handle Imm with a 8-bit immediate followed by a left shift. Returns the shift amount to use.
Definition at line 235 of file ARMAddressingModes.h.
References llvm::CountTrailingZeros_32().
Referenced by getThumbImmNonShiftedVal(), and isThumbImmShiftedVal().
isSOImmTwoPartVal - Return true if the specified value can be obtained by or'ing together two SOImmVal's.
Definition at line 205 of file ARMAddressingModes.h.
References getSOImmValRotate(), and rotr32().
isThumbImm16ShiftedVal - Return true if the specified value can be obtained by left shifting a 16-bit immediate.
Definition at line 265 of file ARMAddressingModes.h.
References getThumbImm16ValShift().
isThumbImmShiftedVal - Return true if the specified value can be obtained by left shifting a 8-bit immediate.
Definition at line 246 of file ARMAddressingModes.h.
References getThumbImmValShift().
Referenced by llvm::ARMTargetLowering::LowerAsmOperandForConstraint().
rotl32 - Rotate a 32-bit unsigned value left by a specified # bits.
Definition at line 101 of file ARMAddressingModes.h.
Referenced by getSOImmVal().
rotr32 - Rotate a 32-bit unsigned value right by a specified # bits.
Definition at line 94 of file ARMAddressingModes.h.
Referenced by llvm::emitARMRegPlusImmediate(), getSOImmTwoPartFirst(), getSOImmTwoPartSecond(), getSOImmVal(), getSOImmValRotate(), getT2SOImmValRotateVal(), isSOImmTwoPartVal(), printSOImm(), llvm::rewriteARMFrameIndex(), and llvm::rewriteT2FrameIndex().