Lines Matching full:mce
786 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm6() local
787 if (!MCE) in isUImm6()
789 int64_t Val = MCE->getValue(); in isUImm6()
818 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImmScaled() local
819 if (!MCE) in isImmScaled()
821 Val = MCE->getValue(); in isImmScaled()
843 auto *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSVEPattern() local
844 if (!MCE) in isSVEPattern()
846 int64_t Val = MCE->getValue(); in isSVEPattern()
855 auto *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSVEVecLenSpecifier() local
856 if (!MCE) in isSVEVecLenSpecifier()
858 int64_t Val = MCE->getValue(); in isSVEVecLenSpecifier()
904 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm12Offset() local
905 if (!MCE) in isUImm12Offset()
908 int64_t Val = MCE->getValue(); in isUImm12Offset()
916 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImmInRange() local
917 if (!MCE) in isImmInRange()
919 int64_t Val = MCE->getValue(); in isImmInRange()
929 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isLogicalImm() local
930 if (!MCE) in isLogicalImm()
933 int64_t Val = MCE->getValue(); in isLogicalImm()
1074 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSIMDImmType10() local
1075 if (!MCE) in isSIMDImmType10()
1077 return AArch64_AM::isAdvSIMDModImmType10(MCE->getValue()); in isSIMDImmType10()
1084 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isBranchTarget() local
1085 if (!MCE) in isBranchTarget()
1087 int64_t Val = MCE->getValue(); in isBranchTarget()
1725 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isPAuthPCRelLabel16Operand() local
1726 if (!MCE) in isPAuthPCRelLabel16Operand()
1728 int64_t Val = MCE->getValue(); in isPAuthPCRelLabel16Operand()
1963 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addAdrpLabelOperands() local
1964 if (!MCE) in addAdrpLabelOperands()
1967 Inst.addOperand(MCOperand::createImm(MCE->getValue() >> 12)); in addAdrpLabelOperands()
1977 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addUImm12OffsetOperands() local
1979 if (!MCE) { in addUImm12OffsetOperands()
1983 Inst.addOperand(MCOperand::createImm(MCE->getValue() / Scale)); in addUImm12OffsetOperands()
1988 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addUImm6Operands() local
1989 Inst.addOperand(MCOperand::createImm(MCE->getValue())); in addUImm6Operands()
1995 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addImmScaledOperands() local
1996 Inst.addOperand(MCOperand::createImm(MCE->getValue() / Scale)); in addImmScaledOperands()
2008 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addLogicalImmOperands() local
2009 std::make_unsigned_t<T> Val = MCE->getValue(); in addLogicalImmOperands()
2017 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addLogicalImmNotOperands() local
2018 std::make_unsigned_t<T> Val = ~MCE->getValue(); in addLogicalImmNotOperands()
2025 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addSIMDImmType10Operands() local
2026 uint64_t encoding = AArch64_AM::encodeAdvSIMDModImmType10(MCE->getValue()); in addSIMDImmType10Operands()
2035 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addBranchTarget26Operands() local
2036 if (!MCE) { in addBranchTarget26Operands()
2040 assert(MCE && "Invalid constant immediate operand!"); in addBranchTarget26Operands()
2041 Inst.addOperand(MCOperand::createImm(MCE->getValue() >> 2)); in addBranchTarget26Operands()
2049 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addPAuthPCRelLabel16Operands() local
2050 if (!MCE) { in addPAuthPCRelLabel16Operands()
2054 Inst.addOperand(MCOperand::createImm(MCE->getValue() >> 2)); in addPAuthPCRelLabel16Operands()
2062 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addPCRelLabel19Operands() local
2063 if (!MCE) { in addPCRelLabel19Operands()
2067 assert(MCE && "Invalid constant immediate operand!"); in addPCRelLabel19Operands()
2068 Inst.addOperand(MCOperand::createImm(MCE->getValue() >> 2)); in addPCRelLabel19Operands()
2076 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in addBranchTarget14Operands() local
2077 if (!MCE) { in addBranchTarget14Operands()
2081 assert(MCE && "Invalid constant immediate operand!"); in addBranchTarget14Operands()
2082 Inst.addOperand(MCOperand::createImm(MCE->getValue() >> 2)); in addBranchTarget14Operands()
2239 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addComplexRotationEvenOperands() local
2240 Inst.addOperand(MCOperand::createImm(MCE->getValue() / 90)); in addComplexRotationEvenOperands()
2245 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addComplexRotationOddOperands() local
2246 Inst.addOperand(MCOperand::createImm((MCE->getValue() - 90) / 180)); in addComplexRotationOddOperands()
3067 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseRPRFMOperand() local
3068 if (!MCE) in tryParseRPRFMOperand()
3070 unsigned prfop = MCE->getValue(); in tryParseRPRFMOperand()
3075 auto RPRFM = AArch64RPRFM::lookupRPRFMByEncoding(MCE->getValue()); in tryParseRPRFMOperand()
3127 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParsePrefetch() local
3128 if (!MCE) in tryParsePrefetch()
3130 unsigned prfop = MCE->getValue(); in tryParsePrefetch()
3135 auto PRFM = LookupByEncoding(MCE->getValue()); in tryParsePrefetch()
3640 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseOptionalShiftExtend() local
3641 if (!MCE) in tryParseOptionalShiftExtend()
3646 ShOp, MCE->getValue(), true, S, E, getContext())); in tryParseOptionalShiftExtend()
3982 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseBarrierOperand() local
3983 if (!MCE) in tryParseBarrierOperand()
3985 int64_t Value = MCE->getValue(); in tryParseBarrierOperand()
4045 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseBarriernXSOperand() local
4046 if (!MCE) in tryParseBarriernXSOperand()
4048 int64_t Value = MCE->getValue(); in tryParseBarriernXSOperand()
4148 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseVectorIndex() local
4149 if (!MCE) in tryParseVectorIndex()
4157 Operands.push_back(AArch64Operand::CreateVectorIndex(MCE->getValue(), SIdx, in tryParseVectorIndex()
4653 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseZTOperand() local
4654 if (!MCE) in tryParseZTOperand()
4657 MCConstantExpr::create(MCE->getValue(), getContext()), StartLoc, in tryParseZTOperand()
4735 if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal)) { in parseOptionalMulOperand() local
4737 MCConstantExpr::create(MCE->getValue(), getContext()), S, getLoc(), in parseOptionalMulOperand()
8006 auto *MCE = dyn_cast<MCConstantExpr>(ImmVal); in tryParseSVEPattern() local
8007 if (!MCE) in tryParseSVEPattern()
8010 Pattern = MCE->getValue(); in tryParseSVEPattern()