Lines Matching defs:SD

612       const ConstantSDNode *SD = cast<ConstantSDNode>(N0);
613 MIB.addImm(SD->getZExtValue());
705 InstrEmitter::EmitDbgValue(SDDbgValue *SD,
707 DebugLoc DL = SD->getDebugLoc();
708 assert(cast<DILocalVariable>(SD->getVariable())
712 SD->setIsEmitted();
714 assert(!SD->getLocationOps().empty() &&
717 if (SD->isInvalidated())
718 return EmitDbgNoLocation(SD);
722 if (auto *InstrRef = EmitDbgInstrRef(SD, VRBaseMap))
727 if (SD->isVariadic())
728 return EmitDbgValueList(SD, VRBaseMap);
732 return EmitDbgValueFromSingleOp(SD, VRBaseMap);
788 InstrEmitter::EmitDbgInstrRef(SDDbgValue *SD,
790 MDNode *Var = SD->getVariable();
791 const DIExpression *Expr = (DIExpression *)SD->getExpression();
792 DebugLoc DL = SD->getDebugLoc();
808 if (any_of(SD->getLocationOps(), IsInvalidOp) ||
809 all_of(SD->getLocationOps(), IsNonInstrRefOp)) {
810 if (SD->isVariadic())
811 return EmitDbgValueList(SD, VRBaseMap);
812 return EmitDbgValueFromSingleOp(SD, VRBaseMap);
817 if (SD->isIndirect())
821 if (!SD->isVariadic())
842 unsigned OpCount = SD->getLocationOps().size();
844 SDDbgOperand DbgOperand = SD->getLocationOps()[OpIdx];
912 return EmitDbgNoLocation(SD);
917 MachineInstr *InstrEmitter::EmitDbgNoLocation(SDDbgValue *SD) {
921 DIVariable *Var = SD->getVariable();
923 DIExpression::convertToUndefExpression(SD->getExpression());
924 DebugLoc DL = SD->getDebugLoc();
930 InstrEmitter::EmitDbgValueList(SDDbgValue *SD,
932 MDNode *Var = SD->getVariable();
933 DIExpression *Expr = SD->getExpression();
934 DebugLoc DL = SD->getDebugLoc();
941 AddDbgValueLocationOps(MIB, DbgValDesc, SD->getLocationOps(), VRBaseMap);
946 InstrEmitter::EmitDbgValueFromSingleOp(SDDbgValue *SD,
948 MDNode *Var = SD->getVariable();
949 DIExpression *Expr = SD->getExpression();
950 DebugLoc DL = SD->getDebugLoc();
953 assert(SD->getLocationOps().size() == 1 &&
958 SmallVector<SDDbgOperand, 1> LocationOps(1, SD->getLocationOps()[0]);
972 if (SD->isIndirect())
981 InstrEmitter::EmitDbgLabel(SDDbgLabel *SD) {
982 MDNode *Label = SD->getLabel();
983 DebugLoc DL = SD->getDebugLoc();