Home
last modified time | relevance | path

Searched refs:isInlineConstant (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIInstrInfo.h603 bool isInlineConstant(const APInt &Imm) const;
605 bool isInlineConstant(const MachineOperand &MO, uint8_t OperandType) const;
607 bool isInlineConstant(const MachineOperand &MO, in isInlineConstant() function
609 return isInlineConstant(MO, OpInfo.OperandType); in isInlineConstant()
614 bool isInlineConstant(const MachineInstr &MI, in isInlineConstant() function
623 return isInlineConstant(DefMO, MI.getDesc().OpInfo[OpIdx]); in isInlineConstant()
628 bool isInlineConstant(const MachineInstr &MI, unsigned OpIdx) const { in isInlineConstant() function
630 return isInlineConstant(MO, MI.getDesc().OpInfo[OpIdx].OperandType); in isInlineConstant()
633 bool isInlineConstant(const MachineInstr &MI, unsigned OpIdx, in isInlineConstant() function
644 return isInlineConstant(MO, OpType); in isInlineConstant()
[all …]
DSIShrinkInstructions.cpp191 !TII->isInlineConstant(*Src.getParent(), in isKImmOperand()
197 !TII->isInlineConstant(*Src.getParent(), in isKUImmOperand()
206 return !TII->isInlineConstant(Src); in isKImmOrKUImmOperand()
211 return !TII->isInlineConstant(Src); in isKImmOrKUImmOperand()
222 if (!isInt<32>(Src.getImm()) || TII->isInlineConstant(Src)) in isReverseInlineImm()
DSIFoldOperands.cpp125 if (TII->isInlineConstant(UseMI, OpNo, OpToFold)) in isInlineConstantIfFolded()
143 return TII->isInlineConstant(OpToFold, MadDesc.OpInfo[OpNo].OperandType); in isInlineConstantIfFolded()
DSIInstrInfo.cpp2013 if (isInlineConstant(UseMI, *Src0, *ImmOp)) in FoldImmediate()
2242 if (Src0->isImm() && !isInlineConstant(MI, Src0Idx, *Src0)) in convertToThreeAddress()
2365 bool SIInstrInfo::isInlineConstant(const APInt &Imm) const { in isInlineConstant() function in SIInstrInfo
2382 bool SIInstrInfo::isInlineConstant(const MachineOperand &MO, in isInlineConstant() function in SIInstrInfo
2451 return !isInlineConstant(MO, OpInfo); in isLiteralConstantLike()
2490 if (MO.isImm() && isInlineConstant(MO, OpInfo)) in isImmOperandLegal()
2533 return !isInlineConstant(MO, OpInfo); in usesConstantBus()
2682 if (!MO.isReg() && (!MO.isImm() || !isInlineConstant(MI, i))) { in verifyInstruction()
DAMDGPUISelDAGToDAG.cpp296 return TII->isInlineConstant(C->getAPIntValue()); in isInlineImmediate()
299 return TII->isInlineConstant(C->getValueAPF().bitcastToAPInt()); in isInlineImmediate()
DSIISelLowering.cpp6283 (CRHS->hasOneUse() && !TII->isInlineConstant(CRHS->getAPIntValue()))) { in splitBinaryBitConstantOp()
/external/llvm/lib/Target/AMDGPU/
DSIShrinkInstructions.cpp194 return isInt<16>(Src.getImm()) && !TII->isInlineConstant(Src, 4); in isKImmOperand()
230 if (isInt<32>(Imm) && !TII->isInlineConstant(Src, 4)) { in runOnMachineFunction()
DSIInstrInfo.h375 bool isInlineConstant(const APInt &Imm) const;
376 bool isInlineConstant(const MachineOperand &MO, unsigned OpSize) const;
DSIFoldOperands.cpp329 if (FoldingImm && !TII->isInlineConstant(OpToFold, OpSize) && in runOnMachineFunction()
DSIInstrInfo.cpp1236 if (isInlineConstant(ImmOp, 4)) in FoldImmediate()
1426 if (Src0->isImm() && !isInlineConstant(*Src0, 4)) in convertToThreeAddress()
1461 bool SIInstrInfo::isInlineConstant(const APInt &Imm) const { in isInlineConstant() function in SIInstrInfo
1500 bool SIInstrInfo::isInlineConstant(const MachineOperand &MO, in isInlineConstant() function in SIInstrInfo
1510 return isInlineConstant(APInt(BitSize, MO.getImm(), true)); in isInlineConstant()
1518 return MO.isImm() && !isInlineConstant(MO, OpSize); in isLiteralConstant()
DSIISelLowering.cpp535 return TII->isInlineConstant(Imm); in shouldConvertConstantLoadToIntImm()
3072 if (TII->isInlineConstant(Node->getAPIntValue())) in analyzeImmediate()
3080 if (TII->isInlineConstant(Node->getValueAPF().bitcastToAPInt())) in analyzeImmediate()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp1098 bool isInlineConstant(const MCInst &Inst, unsigned OpIdx) const;
2233 bool AMDGPUAsmParser::isInlineConstant(const MCInst &Inst, in isInlineConstant() function in AMDGPUAsmParser
2268 return !isInlineConstant(Inst, OpIdx); in usesConstantBus()