Home
last modified time | relevance | path

Searched refs:Copy (Results 1 – 25 of 315) sorted by relevance

12345678910>>...13

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DSimplifyQuery.h109 SimplifyQuery Copy(*this); in getWithInstruction()
110 Copy.CxtI = I; in getWithInstruction()
111 return Copy; in getWithInstruction()
114 SimplifyQuery Copy(*this); in getWithoutUndef()
115 Copy.CanUseUndef = false; in getWithoutUndef()
116 return Copy; in getWithoutUndef()
124 SimplifyQuery Copy(*this); in getWithoutDomCondCache()
125 Copy.DC = nullptr; in getWithoutDomCondCache()
126 return Copy; in getWithoutDomCondCache()
130 SimplifyQuery Copy(*this); in getWithCondContext()
[all …]
H A DMemoryLocation.h301 MemoryLocation Copy(*this); in getWithNewPtr()
302 Copy.Ptr = NewPtr; in getWithNewPtr()
303 return Copy; in getWithNewPtr()
307 MemoryLocation Copy(*this); in getWithNewSize()
308 Copy.Size = NewSize; in getWithNewSize()
309 return Copy; in getWithNewSize()
319 MemoryLocation Copy(*this); in getWithoutAATags()
320 Copy.AATags = AAMDNodes(); in getWithoutAATags()
321 return Copy; in getWithoutAATags()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanUnroll.cpp130 auto *Copy = VPR->clone(); in unrollReplicateRegionByUF() local
131 VPBlockUtils::insertBlockBefore(Copy, InsertPt); in unrollReplicateRegionByUF()
133 auto PartI = vp_depth_first_shallow(Copy->getEntry()); in unrollReplicateRegionByUF()
221 VPRecipeBase *Copy = R->clone(); in unrollHeaderPHIByUF() local
222 Copy->insertBefore(*R->getParent(), InsertPt); in unrollHeaderPHIByUF()
223 addRecipeForPart(R, Copy, Part); in unrollHeaderPHIByUF()
225 Copy->addOperand(R); in unrollHeaderPHIByUF()
226 Copy->addOperand(getConstantVPV(Part)); in unrollHeaderPHIByUF()
249 Copy->addOperand(getConstantVPV(Part)); in unrollHeaderPHIByUF()
288 VPRecipeBase *Copy = R.clone(); in unrollRecipeByUF() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCopyPropagation.cpp314 auto &Copy = Copies[Unit]; in trackCopy() local
315 if (!is_contained(Copy.DefRegs, Def)) in trackCopy()
316 Copy.DefRegs.push_back(Def); in trackCopy()
317 Copy.LastSeenUseInCopy = MI; in trackCopy()
475 bool eraseIfRedundant(MachineInstr &Copy, MCRegister Src, MCRegister Def);
478 bool isForwardableRegClassCopy(const MachineInstr &Copy,
480 bool isBackwardPropagatableRegClassCopy(const MachineInstr &Copy,
486 bool canUpdateSrcUsers(const MachineInstr &Copy,
536 if (MachineInstr *Copy = Tracker.findCopyForUnit(Unit, *TRI)) { in ReadRegister() local
538 LLVM_DEBUG(dbgs() << "MCP: Copy is used - not dead: "; Copy->dump()); in ReadRegister()
[all …]
H A DCodeGenCommonISel.cpp219 MachineInstr &Copy) { in getSalvageOpsForCopy() argument
220 assert(Copy.getOpcode() == TargetOpcode::COPY && "Must be a COPY"); in getSalvageOpsForCopy()
222 return &Copy.getOperand(1); in getSalvageOpsForCopy()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DValueMap.h266 ValueMapCallbackVH Copy(*this);
267 typename Config::mutex_type *M = Config::getMutex(Copy.Map->Data);
271 Config::onDelete(Copy.Map->Data, Copy.Unwrap()); // May destroy *this.
272 Copy.Map->Map.erase(Copy); // Definitely destroys *this.
279 ValueMapCallbackVH Copy(*this);
280 typename Config::mutex_type *M = Config::getMutex(Copy.Map->Data);
287 Config::onRAUW(Copy.Map->Data, Copy.Unwrap(), typed_new_key);
289 typename ValueMapT::MapT::iterator I = Copy.Map->Map.find(Copy);
292 if (I != Copy.Map->Map.end()) {
294 Copy.Map->Map.erase(I); // Definitely destroys *this.
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitVector.h209 BitWord Copy = Bits[i]; variable
211 Copy = ~Copy;
215 Copy &= maskTrailingZeros<BitWord>(FirstBit);
220 Copy &= maskTrailingOnes<BitWord>(LastBit + 1);
222 if (Copy != 0)
223 return i * BITWORD_SIZE + llvm::countr_zero(Copy);
241 BitWord Copy = Bits[CurrentWord]; in find_last_in() local
244 Copy &= maskTrailingOnes<BitWord>(LastBit + 1); in find_last_in()
249 Copy &= maskTrailingZeros<BitWord>(FirstBit); in find_last_in()
252 if (Copy != 0) in find_last_in()
[all …]
H A DSequence.h220 const auto Copy = *this; member
222 return Copy;
225 const auto Copy = *this; member
227 return Copy;
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZLDCleanup.cpp117 MachineInstr *Copy = BuildMI(*I->getParent(), I, I->getDebugLoc(), in ReplaceTLSCall() local
124 return Copy; in ReplaceTLSCall()
137 MachineInstr *Copy = BuildMI(*I->getParent(), Next, I->getDebugLoc(), in SetRegister() local
141 return Copy; in SetRegister()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CleanupLocalDynamicTLSPass.cpp102 MachineInstr *Copy = BuildMI(*I.getParent(), I, I.getDebugLoc(), in replaceTLSBaseAddrCall() local
113 return Copy; in replaceTLSBaseAddrCall()
127 MachineInstr *Copy = in setRegister() local
132 return Copy; in setRegister()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DBasicBlock.h45 auto Copy = *this; variable
47 return Copy;
51 auto Copy = *this; variable
53 return Copy;
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTypeSize.h127 LeafTy Copy = LHS; variable
128 return Copy += RHS;
132 LeafTy Copy = LHS; variable
133 return Copy -= RHS;
137 LeafTy Copy = LHS; variable
138 return Copy *= RHS;
144 LeafTy Copy = LHS; variable
145 return Copy *= -1;
H A DInstructionCost.h174 InstructionCost Copy = *this; variable
176 return Copy;
185 InstructionCost Copy = *this; variable
187 return Copy;
/freebsd/contrib/bearssl/T0/
H A DCPU.cs110 Array.Copy(stackBuf, 0, nbuf, 0, len); in Push()
132 Array.Copy(stackBuf, stackPtr - (depth - 1), in Rot()
144 Array.Copy(stackBuf, stackPtr - depth, in NRot()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugChecksumsSubsection.cpp72 uint8_t *Copy = Storage.Allocate<uint8_t>(Bytes.size()); in addChecksum() local
73 ::memcpy(Copy, Bytes.data(), Bytes.size()); in addChecksum()
74 Entry.Checksum = ArrayRef(Copy, Bytes.size()); in addChecksum()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFixSGPRCopies.cpp89 MachineInstr *Copy; member in __anon8637e2150111::V2SCopyInfo
109 V2SCopyInfo() : Copy(nullptr), ID(0){}; in V2SCopyInfo()
111 : Copy(C), NumReadfirstlanes(Width / 32), ID(Id){}; in V2SCopyInfo()
114 dbgs() << ID << " : " << *Copy << "\n\tS:" << SChain.size() in dump()
203 getCopyRegClasses(const MachineInstr &Copy, in getCopyRegClasses() argument
206 Register DstReg = Copy.getOperand(0).getReg(); in getCopyRegClasses()
207 Register SrcReg = Copy.getOperand(1).getReg(); in getCopyRegClasses()
357 static bool isSafeToFoldImmIntoCopy(const MachineInstr *Copy, in isSafeToFoldImmIntoCopy() argument
362 if (Copy->getOpcode() != AMDGPU::COPY) in isSafeToFoldImmIntoCopy()
374 if (Copy->getOperand(1).getSubReg()) in isSafeToFoldImmIntoCopy()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DOpenACCClauses.def29 VISIT_CLAUSE(Copy)
30 CLAUSE_ALIAS(PCopy, Copy, true)
31 CLAUSE_ALIAS(PresentOrCopy, Copy, true)
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h364 DocNode getNode(StringRef V, bool Copy = false) {
365 if (Copy)
374 DocNode getNode(const char *V, bool Copy = false) {
375 return getNode(StringRef(V), Copy);
380 DocNode getNode(MemoryBufferRef V, bool Copy = false) {
382 if (Copy)
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstructionSelector.cpp
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTypeErasedDataflowAnalysis.cpp307 TypeErasedDataflowAnalysisState Copy = MaybePredState->fork(); in computeBlockInputState() local
309 auto *CondVal = Copy.Env.get<BoolValue>(*Cond); in computeBlockInputState()
316 BranchVal ? CondVal : &Copy.Env.makeNot(*CondVal); in computeBlockInputState()
317 Copy.Env.assume(AssertedVal->formula()); in computeBlockInputState()
319 AC.Analysis.transferBranchTypeErased(BranchVal, Cond, Copy.Lattice, in computeBlockInputState()
320 Copy.Env); in computeBlockInputState()
321 Builder.addOwned(std::move(Copy)); in computeBlockInputState()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86InstructionSelector.cpp1673 const static unsigned Copy = TargetOpcode::COPY; in selectMulDivRem() local
1715 {X86::IDIV16r, X86::CWD, Copy, X86::AX, S}, // SDiv in selectMulDivRem()
1716 {X86::IDIV16r, X86::CWD, Copy, X86::DX, S}, // SRem in selectMulDivRem()
1717 {X86::DIV16r, X86::MOV32r0, Copy, X86::AX, U}, // UDiv in selectMulDivRem()
1718 {X86::DIV16r, X86::MOV32r0, Copy, X86::DX, U}, // URem in selectMulDivRem()
1719 {X86::IMUL16r, X86::MOV32r0, Copy, X86::AX, S}, // Mul in selectMulDivRem()
1720 {X86::IMUL16r, X86::MOV32r0, Copy, X86::DX, S}, // SMulH in selectMulDivRem()
1721 {X86::MUL16r, X86::MOV32r0, Copy, X86::DX, U}, // UMulH in selectMulDivRem()
1727 {X86::IDIV32r, X86::CDQ, Copy, X86::EAX, S}, // SDiv in selectMulDivRem()
1728 {X86::IDIV32r, X86::CDQ, Copy, X86::EDX, S}, // SRem in selectMulDivRem()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeIndex.h210 TypeIndex Copy = *this; variable
212 return Copy;
227 TypeIndex Copy = *this; variable
229 return Copy;
/freebsd/stand/i386/gptboot/
H A Dgptldr.S48 .set COPY_BLK_SZ,0x8000 # Copy in 32k blocks; must be
88 mov $COPY_BLKS,%bx # Copy COPY_BLKS 32k blocks
98 mov $COPY_BLK_SZ,%cx # Copy 32k
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCallSiteSplitting.cpp223 Instruction *Copy = I->clone(); in cloneInstForMustTail() local
224 Copy->setName(I->getName()); in cloneInstForMustTail()
225 Copy->insertBefore(Before); in cloneInstForMustTail()
227 Copy->setOperand(0, V); in cloneInstForMustTail()
228 return Copy; in cloneInstForMustTail()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCReduceCRLogicals.cpp549 MachineInstr *Copy = MRI->getVRegDef(Reg); in lookThroughCRCopy() local
550 CpDef = Copy; in lookThroughCRCopy()
551 if (!Copy->isCopy()) in lookThroughCRCopy()
552 return Copy; in lookThroughCRCopy()
553 Register CopySrc = Copy->getOperand(1).getReg(); in lookThroughCRCopy()
557 MachineBasicBlock::iterator Me = Copy, B = Copy->getParent()->begin(); in lookThroughCRCopy()

12345678910>>...13