Home
last modified time | relevance | path

Searched refs:isCopy (Results 1 – 25 of 65) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineCopyPropagation.cpp153 assert(MI->isCopy() && "Tracking non-copy?"); in trackCopy()
372 assert(Copy.isCopy()); in eraseIfRedundant()
413 if (!UseI.isCopy()) in isForwardableRegClassCopy()
521 if (MI.isCopy() && MI.modifiesRegister(CopySrcReg, TRI) && in forwardUses()
562 if (MI->isCopy() && !TRI->regsOverlap(MI->getOperand(0).getReg(), in ForwardCopyPropagateBlock()
718 assert(MaybeDead->isCopy()); in ForwardCopyPropagateBlock()
735 assert(MI.isCopy() && "MI is expected to be a COPY"); in isBackwardPropagatableCopy()
812 if (MI->isCopy() && MI->getNumOperands() == 2 && in BackwardCopyPropagateBlock()
DPeepholeOptimizer.cpp240 return MI.isCopy() || (!DisableAdvCopyOpt && in isCoalescableCopy()
832 assert(MI.isCopy() && "Expected copy instruction"); in CopyRewriter()
1394 assert(MI.isCopy() && "expected a COPY machine instruction"); in foldRedundantCopy()
1441 assert(MI.isCopy() && "expected a COPY machine instruction"); in foldRedundantNAPhysCopy()
1660 if (!MI->isCopy()) { in runOnMachineFunction()
1723 if (MI->isCopy() && in runOnMachineFunction()
1809 assert(Def->isCopy() && "Invalid definition"); in getNextSourceFromCopy()
2057 if (Def->isCopy()) in getNextSourceImpl()
DMachineSink.cpp222 if (!MI.isCopy()) in INITIALIZE_PASS_DEPENDENCY()
453 if (!MI.isCopy() && !TII->isAsCheapAsAMove(MI)) in isWorthBreakingCriticalEdge()
1011 if (MI.getMF()->getFunction().getSubprogram() && MI.isCopy()) in SinkInstruction()
1031 assert(MI.isCopy()); in SalvageUnsunkDebugUsersOfCopy()
1329 if (!MI->isCopy() || !MI->getOperand(0).isRenamable()) { in tryToSinkCopy()
DOptimizePHIs.cpp119 if (SrcMI && SrcMI->isCopy() && !SrcMI->getOperand(0).getSubReg() && in IsSingleValuePHICycle()
DTwoAddressInstructionPass.cpp369 if (!Def || !Def->isCopy()) in isRevCopyChain()
412 if (MI.isCopy()) { in isCopyToReg()
886 if (!KillMI || MI == KillMI || KillMI->isCopy() || KillMI->isCopyLike()) in rescheduleMIBelowKill()
932 if (End->isCopy() && regOverlapsSet(Defs, End->getOperand(1).getReg(), TRI)) in rescheduleMIBelowKill()
1027 if (DefMI.getParent() != MBB || DefMI.isCopy() || DefMI.isCopyLike()) in isDefTooClose()
1076 if (!KillMI || MI == KillMI || KillMI->isCopy() || KillMI->isCopyLike()) in rescheduleKillAboveMI()
DLiveRangeShrink.cpp200 if (!DefInstr.isCopy()) in runOnMachineFunction()
DVirtRegMap.cpp403 if (!MI.isCopy()) in expandCopyBundle()
414 if (!I->isCopy()) in expandCopyBundle()
DCalcSpillWeights.cpp245 if (!mi->isCopy()) in weightCalcHelper()
DMachineLICM.cpp816 if (!MI.isCopy()) { in SinkIntoLoop()
988 if (!MI.isCopy()) in isCopyFeedingInvariantStore()
1117 if (UseMI.isCopy() && CurLoop->contains(&UseMI)) in HasLoopPHIUse()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIFixSGPRCopies.cpp254 if (!CopyUse.isCopy()) in foldVGPRCopyIntoRegSequence()
771 AllAGPRUses &= (UseMI->isCopy() && in processPHINode()
774 if (UseMI->isCopy() || UseMI->isRegSequence()) { in processPHINode()
775 if (UseMI->isCopy() && in processPHINode()
815 if (Def->isCopy()) { in processPHINode()
825 else if (Def->isCopy() && in processPHINode()
DSIFixupVectorISel.cpp121 if (!MI || !MI->isCopy()) in findSRegBaseAndIndex()
133 if (!MI || !MI->isCopy()) in findSRegBaseAndIndex()
DGCNNSAReassign.cpp200 if (Def && Def->isCopy() && Def->getOperand(1).getReg() == PhysReg) in CheckNSA()
207 if (UseInst->isCopy() && UseInst->getOperand(0).getReg() == PhysReg) in CheckNSA()
DGCNRegBankReassign.cpp431 if (Def && Def->isCopy() && Def->getOperand(1).getReg() == PhysReg) in isReassignable()
438 if (UseInst->isCopy() && UseInst->getOperand(0).getReg() == PhysReg) in isReassignable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonSubtarget.cpp232 if (MI->isCopy() && in apply()
242 if (MO.isUse() && !MI->isCopy() && in apply()
341 if (DstInst->isCopy()) in adjustSchedDependency()
346 if ((DstInst->isRegSequence() || DstInst->isCopy()) && Dst->NumSuccs == 1) { in adjustSchedDependency()
DHexagonPeephole.cpp202 if (!DisableOptSZExt && MI.isCopy()) { in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DThumb2ITBlockPass.cpp123 static bool isCopy(MachineInstr *MI) { in isCopy() function
139 if (!isCopy(MI)) in MoveCopyOutOfITBlock()
DA15SDOptimizer.cpp163 if (MI->isCopy() && usesRegClass(MI->getOperand(1), in getPrefSPRLane()
242 if (MI->isCopy()) { in optimizeSDPattern()
263 if (EC && EC->isCopy() && in optimizeSDPattern()
326 if (MI->isCopy() && usesRegClass(MI->getOperand(1), &ARM::SPRRegClass)) in hasPartialWrite()
DMLxExpansionPass.cpp126 while (UseMI->isCopy() || UseMI->isInsertSubreg()) { in getDefReg()
336 if (MI->isPosition() || MI->isImplicitDef() || MI->isCopy()) in ExpandFPMLxInstructions()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64RedundantCopyElimination.cpp323 if (PredI->isCopy()) { in optimizeBlock()
379 bool IsCopy = MI->isCopy(); in optimizeBlock()
DAArch64StackTaggingPreRA.cpp185 } else if (UseI->isCopy() && in uncheckUsesOf()
/third_party/flutter/skia/third_party/externals/sdl/src/core/android/
DSDL_android.c581 jboolean isCopy; in Android_JNI_OpenAudioDevice() local
639 isCopy = JNI_FALSE; in Android_JNI_OpenAudioDevice()
643 … audioBufferPinned = (*env)->GetShortArrayElements(env, (jshortArray)audioBuffer, &isCopy); in Android_JNI_OpenAudioDevice()
648 audioBufferPinned = (*env)->GetByteArrayElements(env, (jbyteArray)audioBuffer, &isCopy); in Android_JNI_OpenAudioDevice()
683 jboolean isCopy = JNI_FALSE; in Android_JNI_CaptureAudioBuffer() local
690 jshort *ptr = (*env)->GetShortArrayElements(env, (jshortArray)captureBuffer, &isCopy); in Android_JNI_CaptureAudioBuffer()
699 jbyte *ptr = (*env)->GetByteArrayElements(env, (jbyteArray)captureBuffer, &isCopy); in Android_JNI_CaptureAudioBuffer()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineInstr.h1115 bool isCopy() const {
1120 return isCopy() && !getOperand(0).getSubReg() && !getOperand(1).getSubReg();
1130 return isCopy() || isSubregToReg();
1135 return isCopy() && getOperand(0).getReg() == getOperand(1).getReg() &&
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcPackedPixelsTests.cpp751 bool isCopy) const;
839 bool readPixels(bool isCopy);
840 bool readPixelsInner(const PixelFormat& outputFormat, const PixelType& outputType, bool isCopy);
2041 bool RectangleTest::readPixels(bool isCopy) in readPixels() argument
2075 if (isCopy) in readPixels()
2093 result &= readPixelsInner(outputFormat, outputType, isCopy); in readPixels()
2100 …gleTest::readPixelsInner(const PixelFormat& outputFormat, const PixelType& outputType, bool isCopy) in readPixelsInner() argument
2114 …bool outputFormatValid = isFormatValid(outputFormat, outputType, isCopy ? m_copyInternalFormat : m… in readPixelsInner()
2125 m_testCtx.getLog() << tcu::TestLog::Message << (isCopy ? copyStage : "") in readPixelsInner()
2138 if (!compare(&m_gradient[0], &m_outputBuffer[0], outputFormat, outputType, isCopy)) in readPixelsInner()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCReduceCRLogicals.cpp543 if (!Copy->isCopy()) in lookThroughCRCopy()
619 if (CRI.TrueDefs.first->isCopy() || CRI.TrueDefs.second->isCopy() || in splitBlockOnBinaryCROp()
DPPCVSXSwapRemoval.cpp562 if (MI->isCopy()) in lookThruCopyLike()
609 if (!(MI->isCopy() && isScalarVecReg(Reg))) in formWebs()

123