Searched refs:Copy (Results 1 - 25 of 96) sorted by relevance

1234

/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCopyPropagation.cpp1 //===- MachineCopyPropagation.cpp - Machine Copy Propagation Pass ---------===//
166 auto &Copy = I.first->second; local
167 if (!is_contained(Copy.DefRegs, Def))
168 Copy.DefRegs.push_back(Def);
280 bool eraseIfRedundant(MachineInstr &Copy, unsigned Src, unsigned Def);
283 bool isForwardableRegClassCopy(const MachineInstr &Copy,
285 bool isBackwardPropagatableRegClassCopy(const MachineInstr &Copy,
308 "Machine Copy Propagation Pass", false, false)
316 if (MachineInstr *Copy = Tracker.findCopyForUnit(*RUI, *TRI)) {
318 LLVM_DEBUG(dbgs() << "MCP: Copy i
350 eraseIfRedundant(MachineInstr &Copy, unsigned Src, unsigned Def) argument
385 isBackwardPropagatableRegClassCopy( const MachineInstr &Copy, const MachineInstr &UseI, unsigned UseIdx) argument
401 isForwardableRegClassCopy(const MachineInstr &Copy, const MachineInstr &UseI, unsigned UseIdx) argument
492 MachineInstr *Copy = Tracker.findAvailCopy(MI, MOUse.getReg(), *TRI); local
535 << "\\n in " << MI << " from " << *Copy); local
770 MachineInstr *Copy = local
789 << MI << " from " << *Copy); local
[all...]
H A DTailDuplicator.cpp242 MachineInstr *Copy = Copies[i]; local
243 if (!Copy->isCopy())
245 Register Dst = Copy->getOperand(0).getReg();
246 Register Src = Copy->getOperand(1).getReg();
249 // Copy is the only use. Do trivial copy propagation here.
251 Copy->eraseFromParent();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CleanupLocalDynamicTLSPass.cpp102 // Insert a Copy from TLSBaseAddrReg to x0, which is where the rest of the
104 MachineInstr *Copy = BuildMI(*I.getParent(), I, I.getDebugLoc(), local
111 return Copy;
125 MachineInstr *Copy = local
130 return Copy;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZLDCleanup.cpp118 // Insert a Copy from TLSBaseAddrReg to R2.
119 MachineInstr *Copy = BuildMI(*I->getParent(), I, I->getDebugLoc(), local
126 return Copy;
139 MachineInstr *Copy = BuildMI(*I->getParent(), Next, I->getDebugLoc(), local
143 return Copy;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryLocation.h249 MemoryLocation Copy(*this);
250 Copy.Ptr = NewPtr;
251 return Copy;
255 MemoryLocation Copy(*this);
256 Copy.Size = NewSize;
257 return Copy;
261 MemoryLocation Copy(*this);
262 Copy.AATags = AAMDNodes();
263 return Copy;
H A DInstructionSimplify.h111 SimplifyQuery Copy(*this);
112 Copy.CxtI = I;
113 return Copy;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DValueMap.h262 ValueMapCallbackVH Copy(*this); variable
263 typename Config::mutex_type *M = Config::getMutex(Copy.Map->Data);
267 Config::onDelete(Copy.Map->Data, Copy.Unwrap()); // May destroy *this.
268 Copy.Map->Map.erase(Copy); // Definitely destroys *this.
275 ValueMapCallbackVH Copy(*this); variable
276 typename Config::mutex_type *M = Config::getMutex(Copy.Map->Data);
283 Config::onRAUW(Copy.Map->Data, Copy
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugChecksumsSubsection.cpp72 uint8_t *Copy = Storage.Allocate<uint8_t>(Bytes.size()); local
73 ::memcpy(Copy, Bytes.data(), Bytes.size());
74 Entry.Checksum = makeArrayRef(Copy, Bytes.size());
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitVector.h217 BitWord Copy = Bits[i]; local
221 Copy &= maskTrailingZeros<BitWord>(FirstBit);
226 Copy &= maskTrailingOnes<BitWord>(LastBit + 1);
228 if (Copy != 0)
229 return i * BITWORD_SIZE + countTrailingZeros(Copy);
247 BitWord Copy = Bits[CurrentWord]; local
250 Copy &= maskTrailingOnes<BitWord>(LastBit + 1);
255 Copy &= maskTrailingZeros<BitWord>(FirstBit);
258 if (Copy != 0)
259 return (CurrentWord + 1) * BITWORD_SIZE - countLeadingZeros(Copy)
277 BitWord Copy = Bits[i]; local
309 BitWord Copy = Bits[CurrentWord]; local
[all...]
H A DSparseBitVector.h153 BitWord Copy = Bits[WordPos];
158 Copy &= ~0UL << BitPos;
160 if (Copy != 0)
161 return WordPos * BITWORD_SIZE + countTrailingZeros(Copy);
/freebsd-11-stable/libexec/rtld-elf/i386/
H A Drtld_start.S78 pushl 20(%esp) # Copy reloff argument
79 pushl 20(%esp) # Copy obj argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCPropertyChecker.cpp43 if (D->isReadOnly() || D->getSetterKind() != ObjCPropertyDecl::Copy)
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h316 /// Create a String node associated with this Document. If !Copy, the passed
318 DocNode getNode(StringRef V, bool Copy = false) {
319 if (Copy)
326 /// Create a String node associated with this Document. If !Copy, the passed
328 DocNode getNode(const char *V, bool Copy = false) {
329 return getNode(StringRef(V), Copy);
361 /// Copy a string into the Document's strings list, and return the copy that
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeIndex.h199 TypeIndex Copy = *this; local
201 return Copy;
216 TypeIndex Copy = *this; local
218 return Copy;
/freebsd-11-stable/stand/i386/gptboot/
H A Dgptldr.S50 .set COPY_BLK_SZ,0x8000 # Copy in 32k blocks; must be
57 * Copy BTX and boot2 to the right locations and start it all up.
90 mov $COPY_BLKS,%bx # Copy COPY_BLKS 32k blocks
100 mov $COPY_BLK_SZ,%cx # Copy 32k
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/
H A DMultilib.cpp296 multilib_list Copy(Ms);
297 filterInPlace(F, Copy);
298 return Copy;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_segmented_array.h127 Iterator Copy(*this); variable
129 return Copy;
133 Iterator Copy(*this); variable
135 return Copy;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCReduceCRLogicals.cpp541 MachineInstr *Copy = MRI->getVRegDef(Reg);
542 CpDef = Copy;
543 if (!Copy->isCopy())
544 return Copy;
545 Register CopySrc = Copy->getOperand(1).getReg();
546 Subreg = Copy->getOperand(1).getSubReg();
559 MachineBasicBlock::iterator Me = Copy, B = Copy->getParent()->begin();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCallSiteSplitting.cpp227 Instruction *Copy = I->clone(); local
228 Copy->setName(I->getName());
229 Copy->insertBefore(Before);
231 Copy->setOperand(0, V);
232 return Copy;
235 /// Copy mandatory `musttail` return sequence that follows original `CI`, and
/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp210 DynTypedMatcher Copy = InnerMatcher; local
211 Copy.RestrictKind = RestrictKind;
212 return Copy;
227 auto Copy = *this; local
228 Copy.SupportedKind = Kind;
229 Copy.RestrictKind =
231 return Copy;
/freebsd-11-stable/stand/i386/zfsboot/
H A Dzfsldr.S37 .set COPY_BLK_SZ,0x8000 # Copy in 32k blocks; must be
135 mov $COPY_BLKS,%bx # Copy COPY_BLKS 32k blocks
145 mov $COPY_BLK_SZ,%cx # Copy 32k
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonGenPredicate.cpp515 VectOfInst Processed, Copy; local
519 Copy = PUsers;
520 for (iterator I = Copy.begin(), E = Copy.end(); I != E; ++I) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstructionSelector.cpp275 "Copy with different width?!");
1543 const static unsigned Copy = TargetOpcode::COPY; local
1581 {X86::IDIV16r, X86::CWD, Copy, X86::AX, S}, // SDiv
1582 {X86::IDIV16r, X86::CWD, Copy, X86::DX, S}, // SRem
1583 {X86::DIV16r, X86::MOV32r0, Copy, X86::AX, U}, // UDiv
1584 {X86::DIV16r, X86::MOV32r0, Copy, X86::DX, U}, // URem
1590 {X86::IDIV32r, X86::CDQ, Copy, X86::EAX, S}, // SDiv
1591 {X86::IDIV32r, X86::CDQ, Copy, X86::EDX, S}, // SRem
1592 {X86::DIV32r, X86::MOV32r0, Copy, X86::EAX, U}, // UDiv
1593 {X86::DIV32r, X86::MOV32r0, Copy, X8
[all...]
H A DX86CallLowering.cpp274 auto Copy = MIRBuilder.buildCopy(LLT::scalar(PhysRegSize), PhysReg); variable
275 MIRBuilder.buildTrunc(ValVReg, Copy);
285 auto Copy = MIRBuilder.buildCopy(LLT{VA.getLocVT()}, PhysReg); variable
286 MIRBuilder.buildTrunc(ValVReg, Copy);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFixSGPRCopies.cpp168 getCopyRegClasses(const MachineInstr &Copy, argument
171 Register DstReg = Copy.getOperand(0).getReg();
172 Register SrcReg = Copy.getOperand(1).getReg();
179 // SrcRC = TRI.getSubRegClass(SrcRC, Copy.getOperand(1).getSubReg());
323 static bool isSafeToFoldImmIntoCopy(const MachineInstr *Copy, argument
328 if (Copy->getOpcode() != AMDGPU::COPY)
340 if (Copy->getOperand(0).getSubReg())

Completed in 234 milliseconds

1234