Home
last modified time | relevance | path

Searched refs:ScaleVal (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86AsmPrinter.cpp418 unsigned ScaleVal = MI->getOperand(OpNo + X86::AddrScaleAmt).getImm(); in PrintLeaMemReference() local
419 if (ScaleVal != 1) in PrintLeaMemReference()
420 O << ',' << ScaleVal; in PrintLeaMemReference()
473 unsigned ScaleVal = MI->getOperand(OpNo + X86::AddrScaleAmt).getImm(); in PrintIntelMemReference() local
506 if (ScaleVal != 1) in PrintIntelMemReference()
507 O << ScaleVal << '*'; in PrintIntelMemReference()
H A DX86MCInstLower.cpp685 unsigned Opc, BaseReg, ScaleVal, IndexReg, Displacement, SegmentReg; in emitNop() local
688 ScaleVal = 1; in emitNop()
766 .addImm(ScaleVal) in emitNop()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86ATTInstPrinter.cpp452 unsigned ScaleVal = MI->getOperand(Op + X86::AddrScaleAmt).getImm(); in printMemReference() local
453 if (ScaleVal != 1) { in printMemReference()
455 markup(O, Markup::Immediate) << ScaleVal; // never printed in hex. in printMemReference()
H A DX86IntelInstPrinter.cpp384 unsigned ScaleVal = MI->getOperand(Op+X86::AddrScaleAmt).getImm(); in printMemReference() local
402 if (ScaleVal != 1 || !BaseReg.getReg()) in printMemReference()
403 O << ScaleVal << '*'; in printMemReference()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp3076 int64_t ScaleVal; in ParseMemOperand() local
3077 if (!E->evaluateAsAbsolute(ScaleVal, getStreamer().getAssemblerPtr())) in ParseMemOperand()
3079 if (ScaleVal != 1) in ParseMemOperand()
3097 int64_t ScaleVal; in ParseMemOperand() local
3099 Parser.parseAbsoluteExpression(ScaleVal)) in ParseMemOperand()
3101 Scale = (unsigned)ScaleVal; in ParseMemOperand()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp4867 TypeSize ScaleVal = DL.getTypeAllocSize(GEP->getResultElementType()); in getUniformBase() local
4868 if (ScaleVal.isScalable()) in getUniformBase()
4872 if (ScaleVal != 1 && in getUniformBase()
4873 !TLI.isLegalScaleForGatherScatter(ScaleVal.getFixedValue(), ElemSize)) in getUniformBase()
4881 DAG.getTargetConstant(ScaleVal, SDB->getCurSDLoc(), TLI.getPointerTy(DL)); in getUniformBase()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp6217 uint64_t ScaleVal = Scale->getAsZExtVal(); in LowerMGATHER() local
6218 if (IsScaled && ScaleVal != MemVT.getScalarStoreSize()) { in LowerMGATHER()
6219 assert(isPowerOf2_64(ScaleVal) && "Expecting power-of-two types"); in LowerMGATHER()
6222 DAG.getConstant(Log2_32(ScaleVal), DL, IndexVT)); in LowerMGATHER()
6305 uint64_t ScaleVal = Scale->getAsZExtVal(); in LowerMSCATTER() local
6306 if (IsScaled && ScaleVal != MemVT.getScalarStoreSize()) { in LowerMSCATTER()
6307 assert(isPowerOf2_64(ScaleVal) && "Expecting power-of-two types"); in LowerMSCATTER()
6310 DAG.getConstant(Log2_32(ScaleVal), DL, IndexVT)); in LowerMSCATTER()