Home
last modified time | relevance | path

Searched refs:setImm (Results 1 – 25 of 45) sorted by relevance

12

/external/llvm/lib/Target/AMDGPU/
DR600ClauseMergePass.cpp99 CFAlu->getOperand(CntIdx).setImm(getCFAluSize(CFAlu) + getCFAluSize(MI)); in cleanPotentialDisabledCFAlu()
150 RootCFAlu->getOperand(Mode0Idx).setImm( in mergeIfPossible()
152 RootCFAlu->getOperand(KBank0Idx).setImm( in mergeIfPossible()
154 RootCFAlu->getOperand(KBank0LineIdx).setImm( in mergeIfPossible()
158 RootCFAlu->getOperand(Mode1Idx).setImm( in mergeIfPossible()
160 RootCFAlu->getOperand(KBank1Idx).setImm( in mergeIfPossible()
162 RootCFAlu->getOperand(KBank1LineIdx).setImm( in mergeIfPossible()
165 RootCFAlu->getOperand(CntIdx).setImm(CumuledInsts); in mergeIfPossible()
DR600InstrInfo.cpp791 PredSet->getOperand(2).setImm(Cond[1].getImm()); in InsertBranch()
807 PredSet->getOperand(2).setImm(Cond[1].getImm()); in InsertBranch()
960 MO.setImm(OPCODE_IS_NOT_ZERO_INT); in ReverseBranchCondition()
963 MO.setImm(OPCODE_IS_ZERO_INT); in ReverseBranchCondition()
966 MO.setImm(OPCODE_IS_NOT_ZERO); in ReverseBranchCondition()
969 MO.setImm(OPCODE_IS_ZERO); in ReverseBranchCondition()
1009 MI->getOperand(8).setImm(0); in PredicateInstruction()
1298 MIB->getOperand(20).setImm(0); in buildSlotOfVectorInstruction()
1331 MI->getOperand(Idx).setImm(Imm); in setImmOperand()
1410 FlagOp.setImm(1); in addFlag()
[all …]
DR600Packetizer.cpp231 MI->getOperand(LastOp).setImm(Bit); in setIsLastBit()
309 MI->getOperand(Op).setImm(BS[i]); in addToPacket()
313 MI->getOperand(Op).setImm(BS.back()); in addToPacket()
DR600ControlFlowFinalizer.cpp429 ClauseHead->getOperand(7).setImm(ClauseContent.size() - 1); in MakeALUClause()
449 Clause.first->getOperand(0).setImm(0); in EmitALUClause()
461 MI->getOperand(0).setImm(Addr + MI->getOperand(0).getImm()); in CounterPropagateAddr()
602 IfOrElseInst->getOperand(1).setImm(1); in runOnMachineFunction()
DAMDILCFGStructurizer.cpp450 .setImm(OPCODE_IS_NOT_ZERO_INT); in reversePredicateSetter()
454 .setImm(OPCODE_IS_ZERO_INT); in reversePredicateSetter()
458 .setImm(OPCODE_IS_NOT_ZERO); in reversePredicateSetter()
462 .setImm(OPCODE_IS_ZERO); in reversePredicateSetter()
/external/mesa3d/src/gallium/drivers/radeon/
DR600InstrInfo.cpp277 PredSet->getOperand(2).setImm(Cond[1].getImm()); in InsertBranch()
288 PredSet->getOperand(2).setImm(Cond[1].getImm()); in InsertBranch()
409 MO.setImm(OPCODE_IS_NOT_ZERO_INT); in ReverseBranchCondition()
412 MO.setImm(OPCODE_IS_ZERO_INT); in ReverseBranchCondition()
415 MO.setImm(OPCODE_IS_NOT_ZERO); in ReverseBranchCondition()
418 MO.setImm(OPCODE_IS_ZERO); in ReverseBranchCondition()
502 FlagOp.setImm(FlagOp.getImm() | (Flag << (NUM_MO_FLAGS * Operand))); in addFlag()
511 FlagOp.setImm(InstFlags); in clearFlag()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyRegisterInfo.cpp71 MI.getOperand(1).setImm(FrameOffset); in eliminateFrameIndex()
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCInstrInfo.cpp626 Operand.setImm(Operand.getImm() | innerLoopMask); in setInnerLoop()
632 Operand.setImm(Operand.getImm() | memReorderDisabledMask); in setMemReorderDisabled()
639 Operand.setImm(Operand.getImm() | memStoreReorderEnabledMask); in setMemStoreReorderEnabled()
646 Operand.setImm(Operand.getImm() | outerLoopMask); in setOuterLoop()
/external/llvm/lib/Target/PowerPC/
DPPCMIPeephole.cpp156 MI.getOperand(3).setImm(3 - Immed); in simplifyCode()
DPPCVSXSwapRemoval.cpp813 MI->getOperand(1).setImm(EltNo); in handleSpecialSwappables()
835 MI->getOperand(3).setImm(Selector); in handleSpecialSwappables()
DPPCInstrInfo.cpp400 MI->getOperand(4).setImm((ME+1) & 31); in commuteInstructionImpl()
401 MI->getOperand(5).setImm((MB-1) & 31); in commuteInstructionImpl()
1181 Cond[0].setImm(Cond[0].getImm() == 0 ? 1 : 0); in ReverseBranchCondition()
1184 Cond[0].setImm(PPC::InvertPredicate((PPC::Predicate)Cond[0].getImm())); in ReverseBranchCondition()
1768 PredsToUpdate[i].first->setImm(PredsToUpdate[i].second); in optimizeCompareInstr()
/external/llvm/lib/Target/ARM/
DARMMCInstLower.cpp158 MCOp.setImm(Enc); in LowerARMMachineInstrToMCInst()
/external/llvm/lib/Target/SystemZ/
DSystemZElimCompare.cpp291 AlterMasks[I]->setImm(CCValues); in adjustCCMasksForInstr()
294 AlterMasks[I + 1]->setImm((CCMask & ReusableCCMask) | in adjustCCMasksForInstr()
DSystemZInstrInfo.cpp70 LowOffsetOp.setImm(LowOffsetOp.getImm() + 8); in splitMove()
99 OffsetMO.setImm(Offset); in splitAdjDynAlloc()
115 MI->getOperand(1).setImm(uint32_t(MI->getOperand(1).getImm())); in expandRIPseudo()
364 Cond[1].setImm(Cond[1].getImm() ^ Cond[0].getImm()); in ReverseBranchCondition()
1042 MI->getOperand(5).setImm(MI->getOperand(5).getImm() ^ 32); in expandPostRAPseudo()
DSystemZShortenInst.cpp96 MI.getOperand(1).setImm(Imm >> 16); in shortenIIF()
/external/llvm/include/llvm/MC/
DMCInst.h78 void setImm(int64_t Val) { in setImm() function
/external/llvm/include/llvm/CodeGen/
DMachineOperand.h508 void setImm(int64_t immVal) { in setImm() function
581 Op.setImm(Val); in CreateImm()
/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp184 Cond[0].setImm(AArch64CC::getInvertedCondCode(CC)); in ReverseBranchCondition()
191 Cond[1].setImm(AArch64::CBNZW); in ReverseBranchCondition()
194 Cond[1].setImm(AArch64::CBZW); in ReverseBranchCondition()
197 Cond[1].setImm(AArch64::CBNZX); in ReverseBranchCondition()
200 Cond[1].setImm(AArch64::CBZX); in ReverseBranchCondition()
203 Cond[1].setImm(AArch64::TBNZW); in ReverseBranchCondition()
206 Cond[1].setImm(AArch64::TBZW); in ReverseBranchCondition()
209 Cond[1].setImm(AArch64::TBNZX); in ReverseBranchCondition()
212 Cond[1].setImm(AArch64::TBZX); in ReverseBranchCondition()
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCCodeEmitter.cpp63 Inst.getOperand(2).setImm(Shift); in LowerLargeShift()
104 InstIn.getOperand(2).setImm(pos - 32); in LowerDextDins()
110 InstIn.getOperand(3).setImm(size - 32); in LowerDextDins()
/external/llvm/lib/Target/Hexagon/
DHexagonPeephole.cpp320 Dst.setImm(Src.getImm()); in ChangeOpInto()
/external/llvm/lib/Target/Mips/
DMipsInstrInfo.cpp173 Cond[0].setImm(getOppositeBranchOpc(Cond[0].getImm())); in ReverseBranchCondition()
/external/llvm/lib/Target/MSP430/
DMSP430InstrInfo.cpp155 Cond[0].setImm(CC); in ReverseBranchCondition()
/external/llvm/lib/CodeGen/
DLiveDebugValues.cpp331 MI->getOperand(1).setImm(DMI->getOperand(1).getImm()); in join()
/external/llvm/lib/Target/X86/
DX86CallFrameOptimization.cpp453 FrameSetup->getOperand(1).setImm(Context.ExpectedDist); in adjustCallSequence()
/external/llvm/lib/Target/XCore/
DXCoreInstrInfo.cpp409 Cond[0].setImm(GetOppositeBranchCondition((XCore::CondCode)Cond[0].getImm())); in ReverseBranchCondition()

12