Home
last modified time | relevance | path

Searched refs:InputReg (Results 1 – 15 of 15) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DUnreachableBlockElim.cpp178 Register InputReg = Input.getReg(); in runOnMachineFunction() local
183 if (InputReg != OutputReg) { in runOnMachineFunction()
187 MRI.constrainRegClass(InputReg, MRI.getRegClass(OutputReg)) && in runOnMachineFunction()
189 MRI.replaceRegWith(OutputReg, InputReg); in runOnMachineFunction()
198 .addReg(InputReg, getRegState(Input), InputSub); in runOnMachineFunction()
DTargetInstrInfo.cpp1242 RegSubRegPairAndIdx &InputReg) const { in getExtractSubregInputs()
1247 return getExtractSubregLikeInputs(MI, DefIdx, InputReg); in getExtractSubregInputs()
1259 InputReg.Reg = MOReg.getReg(); in getExtractSubregInputs()
1260 InputReg.SubReg = MOReg.getSubReg(); in getExtractSubregInputs()
1261 InputReg.SubIdx = (unsigned)MOSubIdx.getImm(); in getExtractSubregInputs()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp2363 unsigned InputReg = getRegForValue(I->getOperand(0)); in X86SelectTrunc() local
2364 if (!InputReg) in X86SelectTrunc()
2370 updateValueMap(I, InputReg); in X86SelectTrunc()
2382 TII.get(TargetOpcode::COPY), CopyReg).addReg(InputReg); in X86SelectTrunc()
2383 InputReg = CopyReg; in X86SelectTrunc()
2389 InputReg, KillInputReg, in X86SelectTrunc()
2447 unsigned InputReg = getRegForValue(Op); in fastLowerIntrinsicCall() local
2448 if (InputReg == 0) in fastLowerIntrinsicCall()
2471 InputReg = fastEmitInst_ri(X86::VCVTPS2PHrr, RC, InputReg, false, 4); in fastLowerIntrinsicCall()
2477 .addReg(InputReg, RegState::Kill); in fastLowerIntrinsicCall()
[all …]
/external/llvm/lib/CodeGen/
DTargetInstrInfo.cpp1150 RegSubRegPairAndIdx &InputReg) const { in getExtractSubregInputs()
1155 return getExtractSubregLikeInputs(MI, DefIdx, InputReg); in getExtractSubregInputs()
1165 InputReg.Reg = MOReg.getReg(); in getExtractSubregInputs()
1166 InputReg.SubReg = MOReg.getSubReg(); in getExtractSubregInputs()
1167 InputReg.SubIdx = (unsigned)MOSubIdx.getImm(); in getExtractSubregInputs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FastISel.cpp2540 unsigned InputReg = getRegForValue(I->getOperand(0)); in X86SelectTrunc() local
2541 if (!InputReg) in X86SelectTrunc()
2547 updateValueMap(I, InputReg); in X86SelectTrunc()
2553 InputReg, false, in X86SelectTrunc()
2611 unsigned InputReg = getRegForValue(Op); in fastLowerIntrinsicCall() local
2612 if (InputReg == 0) in fastLowerIntrinsicCall()
2635 InputReg = fastEmitInst_ri(X86::VCVTPS2PHrr, RC, InputReg, false, 4); in fastLowerIntrinsicCall()
2641 .addReg(InputReg, RegState::Kill); in fastLowerIntrinsicCall()
2649 InputReg = fastEmit_r(MVT::i16, MVT::i32, ISD::SIGN_EXTEND, InputReg, in fastLowerIntrinsicCall()
2653 InputReg = fastEmit_r(MVT::i32, MVT::v4i32, ISD::SCALAR_TO_VECTOR, in fastLowerIntrinsicCall()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIFixSGPRCopies.cpp812 unsigned InputReg = MI.getOperand(i).getReg(); in processPHINode() local
813 MachineInstr *Def = MRI->getVRegDef(InputReg); in processPHINode()
814 if (TRI->isVectorRegister(*MRI, InputReg)) { in processPHINode()
DSIISelLowering.cpp2493 SDValue InputReg; in passSpecialInputs() local
2496 InputReg = loadInputValue(DAG, ArgRC, ArgVT, DL, *IncomingArg); in passSpecialInputs()
2501 InputReg = getImplicitArgPtr(DAG, DL); in passSpecialInputs()
2505 RegsToPass.emplace_back(OutgoingArg->getRegister(), InputReg); in passSpecialInputs()
2508 SDValue ArgStore = storeStackInputValue(DAG, DL, Chain, InputReg, in passSpecialInputs()
2537 SDValue InputReg; in passSpecialInputs() local
2542 InputReg = loadInputValue(DAG, ArgRC, MVT::i32, DL, *IncomingArgX); in passSpecialInputs()
2548 InputReg = InputReg.getNode() ? in passSpecialInputs()
2549 DAG.getNode(ISD::OR, SL, MVT::i32, InputReg, Y) : Y; in passSpecialInputs()
2556 InputReg = InputReg.getNode() ? in passSpecialInputs()
[all …]
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h410 RegSubRegPairAndIdx &InputReg) const;
949 RegSubRegPairAndIdx &InputReg) const { in getExtractSubregLikeInputs() argument
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h514 RegSubRegPairAndIdx &InputReg) const;
1160 RegSubRegPairAndIdx &InputReg) const { in getExtractSubregLikeInputs() argument
/external/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h69 RegSubRegPairAndIdx &InputReg) const override;
DARMBaseInstrInfo.cpp4622 RegSubRegPairAndIdx &InputReg) const { in getExtractSubregLikeInputs()
4633 InputReg.Reg = MOReg.getReg(); in getExtractSubregLikeInputs()
4634 InputReg.SubReg = MOReg.getSubReg(); in getExtractSubregLikeInputs()
4635 InputReg.SubIdx = DefIdx == 0 ? ARM::ssub_0 : ARM::ssub_1; in getExtractSubregLikeInputs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h73 RegSubRegPairAndIdx &InputReg) const override;
DARMBaseInstrInfo.cpp5273 RegSubRegPairAndIdx &InputReg) const { in getExtractSubregLikeInputs()
5286 InputReg.Reg = MOReg.getReg(); in getExtractSubregLikeInputs()
5287 InputReg.SubReg = MOReg.getSubReg(); in getExtractSubregLikeInputs()
5288 InputReg.SubIdx = DefIdx == 0 ? ARM::ssub_0 : ARM::ssub_1; in getExtractSubregLikeInputs()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1262 unsigned InputReg = getRegForValue(I->getOperand(0)); in selectCast() local
1263 if (!InputReg) in selectCast()
1270 Opcode, InputReg, InputRegIsKill); in selectCast()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1508 unsigned InputReg = getRegForValue(I->getOperand(0)); in selectCast() local
1509 if (!InputReg) in selectCast()
1516 Opcode, InputReg, InputRegIsKill); in selectCast()