reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
 1213   MachineFunction &MF = B.getMF();
 1215   B.setInstr(MI);
 1235     MI.setDesc(B.getTII().get(TargetOpcode::G_BITCAST));
 1241     B.buildExtract(Dst, Src, 0);
 1253     auto HighAddr = B.buildConstant(
 1255     B.buildMerge(Dst, {Src, HighAddr.getReg(0)});
 1265     auto SegmentNull = B.buildConstant(DstTy, NullVal);
 1266     auto FlatNull = B.buildConstant(SrcTy, 0);
 1271     B.buildExtract(PtrLo32, Src, 0);
 1274     B.buildICmp(CmpInst::ICMP_NE, CmpRes, Src, FlatNull.getReg(0));
 1275     B.buildSelect(Dst, CmpRes, PtrLo32, SegmentNull.getReg(0));
 1288       B.buildConstant(SrcTy, TM.getNullPointerValue(SrcAS));
 1290       B.buildConstant(DstTy, TM.getNullPointerValue(DestAS));
 1292   Register ApertureReg = getSegmentAperture(SrcAS, MRI, B);
 1297   B.buildICmp(CmpInst::ICMP_NE, CmpRes, Src, SegmentNull.getReg(0));
 1303   B.buildInstr(TargetOpcode::G_PTRTOINT)
 1309   B.buildMerge(BuildPtr, {SrcAsInt, ApertureReg});
 1310   B.buildSelect(Dst, CmpRes, BuildPtr, FlatNull.getReg(0));