/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/ |
H A D | COFFObject.h | 161 void copySymbol(Symbol1Ty &Dest, const Symbol2Ty &Src) { in copySymbol() argument 162 static_assert(sizeof(Dest.Name.ShortName) == sizeof(Src.Name.ShortName), in copySymbol() 164 memcpy(Dest.Name.ShortName, Src.Name.ShortName, sizeof(Dest.Name.ShortName)); in copySymbol() 165 Dest.Value = Src.Value; in copySymbol() 166 Dest.SectionNumber = Src.SectionNumber; in copySymbol() 167 Dest.Type = Src.Type; in copySymbol() 168 Dest.StorageClass = Src.StorageClass; in copySymbol() 169 Dest.NumberOfAuxSymbols = Src.NumberOfAuxSymbols; in copySymbol() 175 void copyPeHeader(PeHeader1Ty &Dest, const PeHeader2Ty &Src) { in copyPeHeader() argument 176 Dest.Magic = Src.Magic; in copyPeHeader() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Execution.cpp | 49 static void executeFNegInst(GenericValue &Dest, GenericValue Src, Type *Ty) { in executeFNegInst() argument 52 Dest.FloatVal = -Src.FloatVal; in executeFNegInst() 55 Dest.DoubleVal = -Src.DoubleVal; in executeFNegInst() 105 Dest.TY##Val = Src1.TY##Val OP Src2.TY##Val; \ 108 static void executeFAddInst(GenericValue &Dest, GenericValue Src1, in executeFAddInst() argument 119 static void executeFSubInst(GenericValue &Dest, GenericValue Src1, in executeFSubInst() argument 130 static void executeFMulInst(GenericValue &Dest, GenericValue Src1, in executeFMulInst() argument 141 static void executeFDivInst(GenericValue &Dest, GenericValue Src1, in executeFDivInst() argument 152 static void executeFRemInst(GenericValue &Dest, GenericValue Src1, in executeFRemInst() argument 156 Dest.FloatVal = fmod(Src1.FloatVal, Src2.FloatVal); in executeFRemInst() [all …]
|
/freebsd/sys/contrib/dev/acpica/components/utilities/ |
H A D | utnonansi.c | 297 char *Dest, in AcpiUtSafeStrcpy() argument 307 strcpy (Dest, Source); in AcpiUtSafeStrcpy() 313 char *Dest, in AcpiUtSafeStrcat() argument 318 if ((strlen (Dest) + strlen (Source)) >= DestSize) in AcpiUtSafeStrcat() 323 strcat (Dest, Source); in AcpiUtSafeStrcat() 329 char *Dest, in AcpiUtSafeStrncat() argument 339 if ((strlen (Dest) + ActualTransferLength) >= DestSize) in AcpiUtSafeStrncat() 344 strncat (Dest, Source, MaxTransferLength); in AcpiUtSafeStrncat() 350 char *Dest, in AcpiUtSafeStrncpy() argument 356 strncpy (Dest, Source, DestSize); in AcpiUtSafeStrncpy() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | TypeStreamMerger.cpp | 82 Error mergeIdRecords(MergingTypeTableBuilder &Dest, 85 Error mergeTypeRecords(MergingTypeTableBuilder &Dest, 94 Error mergeIdRecords(GlobalTypeTableBuilder &Dest, 98 Error mergeTypeRecords(GlobalTypeTableBuilder &Dest, const CVTypeArray &Types, 242 Error TypeStreamMerger::mergeTypeRecords(MergingTypeTableBuilder &Dest, in mergeTypeRecords() argument 244 DestTypeStream = &Dest; in mergeTypeRecords() 250 Error TypeStreamMerger::mergeIdRecords(MergingTypeTableBuilder &Dest, in mergeIdRecords() argument 253 DestIdStream = &Dest; in mergeIdRecords() 273 GlobalTypeTableBuilder &Dest, const CVTypeArray &Types, in mergeTypeRecords() argument 276 DestGlobalTypeStream = &Dest; in mergeTypeRecords() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | BinaryStreamReader.h | 60 /// Read an integer of the specified endianness into \p Dest and update the 62 /// buffer into \p Dest. Updates the stream's offset to point after the newly 67 template <typename T> Error readInteger(T &Dest) { 75 Dest = llvm::support::endian::read<T>(Bytes.data(), Stream.getEndian()); in readInteger() 80 template <typename T> Error readEnum(T &Dest) { 86 Dest = static_cast<T>(N); in readEnum() 94 Error readULEB128(uint64_t &Dest); 100 Error readSLEB128(int64_t &Dest); 102 /// Read a null terminated string from \p Dest. Whether a copy occurs depends 108 Error readCString(StringRef &Dest); 68 readInteger(T & Dest) readInteger() argument 82 readEnum(T & Dest) readEnum() argument 162 readObject(const T * & Dest) readObject() argument [all...] |
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprAgg.cpp | 46 AggValueSlot Dest; member in __anon66bd1ef60111::AggExprEmitter 50 if (!Dest.isIgnored()) return Dest; in EnsureSlot() 54 if (!Dest.isIgnored()) return; in EnsureDest() 55 Dest = CGF.CreateAggTemp(T, "agg.tmp.ensured"); in EnsureDest() 68 AggExprEmitter(CodeGenFunction &cgf, AggValueSlot Dest, bool IsResultUnused) in AggExprEmitter() argument 69 : CGF(cgf), Builder(CGF.Builder), Dest(Dest), in AggExprEmitter() 119 CGF.EmitCoawaitExpr(*E, Dest, IsResultUnused); in VisitCoawaitExpr() 122 CGF.EmitCoyieldExpr(*E, Dest, IsResultUnused); in VisitCoyieldExpr() 135 Result, Dest.getAddress(), in VisitConstantExpr() 137 Dest.getPreferredSize(CGF.getContext(), E->getType()) in VisitConstantExpr() [all …]
|
H A D | CGBuilder.h | 363 llvm::CallInst *CreateMemCpy(Address Dest, Address Src, llvm::Value *Size, 365 llvm::Value *DestPtr = emitRawPointerFromAddress(Dest); 367 return CreateMemCpy(DestPtr, Dest.getAlignment().getAsAlign(), SrcPtr, 370 llvm::CallInst *CreateMemCpy(Address Dest, Address Src, uint64_t Size, 372 llvm::Value *DestPtr = emitRawPointerFromAddress(Dest); 374 return CreateMemCpy(DestPtr, Dest.getAlignment().getAsAlign(), SrcPtr, 379 llvm::CallInst *CreateMemCpyInline(Address Dest, Address Src, uint64_t Size) { in CreateMemCpyInline() argument 380 llvm::Value *DestPtr = emitRawPointerFromAddress(Dest); in CreateMemCpyInline() 382 return CreateMemCpyInline(DestPtr, Dest.getAlignment().getAsAlign(), SrcPtr, in CreateMemCpyInline() 387 llvm::CallInst *CreateMemMove(Address Dest, Address Src, llvm::Value *Size, [all …]
|
H A D | CGAtomic.cpp | 378 Address Dest, Address Ptr, in emitAtomicCmpXchg() argument 420 CGF.EmitStoreOfScalar(Cmp, CGF.MakeAddrLValue(Dest, E->getType())); in emitAtomicCmpXchg() 427 bool IsWeak, Address Dest, Address Ptr, in emitAtomicCmpXchgFailureSet() argument 459 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, Size, SuccessOrder, in emitAtomicCmpXchgFailureSet() 484 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, in emitAtomicCmpXchgFailureSet() 489 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, Size, SuccessOrder, in emitAtomicCmpXchgFailureSet() 494 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, Size, SuccessOrder, in emitAtomicCmpXchgFailureSet() 525 static void EmitAtomicOp(CodeGenFunction &CGF, AtomicExpr *E, Address Dest, in EmitAtomicOp() argument 542 emitAtomicCmpXchgFailureSet(CGF, E, false, Dest, Ptr, Val1, Val2, in EmitAtomicOp() 548 emitAtomicCmpXchgFailureSet(CGF, E, true, Dest, Ptr, Val1, Val2, in EmitAtomicOp() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
H A D | MIParser.cpp | 451 bool parseRegisterOperand(MachineOperand &Dest, 454 bool parseImmediateOperand(MachineOperand &Dest); 459 bool parseTypedImmediateOperand(MachineOperand &Dest); 460 bool parseFPImmediateOperand(MachineOperand &Dest); 462 bool parseMBBOperand(MachineOperand &Dest); 464 bool parseStackObjectOperand(MachineOperand &Dest); 466 bool parseFixedStackObjectOperand(MachineOperand &Dest); 468 bool parseGlobalAddressOperand(MachineOperand &Dest); 469 bool parseConstantPoolIndexOperand(MachineOperand &Dest); 470 bool parseSubRegisterIndexOperand(MachineOperand &Dest); [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | BinaryStreamReader.cpp | 43 Error BinaryStreamReader::readULEB128(uint64_t &Dest) { 54 Dest = decodeULEB128(EncodedBytes.begin(), nullptr, EncodedBytes.end()); in readULEB128() 58 Error BinaryStreamReader::readSLEB128(int64_t &Dest) { 69 Dest = decodeSLEB128(EncodedBytes.begin(), nullptr, EncodedBytes.end()); in readSLEB128() 73 Error BinaryStreamReader::readCString(StringRef &Dest) { 93 if (auto EC = readFixedString(Dest, Length)) in readCString() 101 Error BinaryStreamReader::readWideString(ArrayRef<UTF16> &Dest) { 115 if (auto EC = readArray(Dest, Length)) in readWideString() 121 Error BinaryStreamReader::readFixedString(StringRef &Dest, uint32_t Length) { 125 Dest in readFixedString() 44 readULEB128(uint64_t & Dest) readULEB128() argument 59 readSLEB128(int64_t & Dest) readSLEB128() argument 74 readCString(StringRef & Dest) readCString() argument 102 readWideString(ArrayRef<UTF16> & Dest) readWideString() argument 122 readFixedString(StringRef & Dest,uint32_t Length) readFixedString() argument [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCExpandISEL.cpp | 205 MachineOperand &Dest = (*I)->getOperand(0); in expandAndMergeISELs() local 212 if (useSameRegister(Dest, TrueValue) && in expandAndMergeISELs() 213 useSameRegister(Dest, FalseValue)) { in expandAndMergeISELs() 235 .add(Dest) in expandAndMergeISELs() 272 MachineOperand &Dest = (*MI)->getOperand(0); in handleSpecialCases() local 282 bool IsADDIInstRequired = !useSameRegister(Dest, TrueValue); in handleSpecialCases() 283 bool IsORIInstRequired = !useSameRegister(Dest, FalseValue); in handleSpecialCases() 312 .add(Dest) in handleSpecialCases() 428 MachineOperand &Dest = MI->getOperand(0); // location to store to in populateBlocks() local 434 LLVM_DEBUG(dbgs() << "Dest: " << Dest << "\n"); in populateBlocks() [all …]
|
H A D | PPCBranchSelector.cpp | 58 const MachineBasicBlock *Dest, 203 const MachineBasicBlock *Dest, in computeBranchSize() argument 208 if (Dest->getNumber() <= Src->getNumber()) { in computeBranchSize() 215 int DestBlock = Dest->getNumber(); in computeBranchSize() 230 MaxAlign = std::max(MaxAlign, Dest->getAlignment()); in computeBranchSize() 231 for (unsigned i = StartBlock+1, e = Dest->getNumber(); i != e; ++i) { in computeBranchSize() 328 MachineBasicBlock *Dest = nullptr; in runOnMachineFunction() local 330 Dest = I->getOperand(2).getMBB(); in runOnMachineFunction() 333 Dest = I->getOperand(1).getMBB(); in runOnMachineFunction() 337 Dest = I->getOperand(0).getMBB(); in runOnMachineFunction() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | WasmEHFuncInfo.h | 51 void setUnwindDest(const BasicBlock *BB, const BasicBlock *Dest) { in setUnwindDest() 52 SrcToUnwindDest[BB] = Dest; in setUnwindDest() 53 UnwindDestToSrcs[Dest].insert(BB); in setUnwindDest() 75 void setUnwindDest(MachineBasicBlock *MBB, MachineBasicBlock *Dest) { in setUnwindDest() 76 SrcToUnwindDest[MBB] = Dest; in setUnwindDest() 77 UnwindDestToSrcs[Dest].insert(MBB); in setUnwindDest()
|
/freebsd/contrib/llvm-project/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 56 bool shouldLinkFromSource(bool &LinkFromSrc, const GlobalValue &Dest, 241 const GlobalValue &Dest, in shouldLinkFromSource() argument 251 if (Src.hasAppendingLinkage() || Dest.hasAppendingLinkage()) { in shouldLinkFromSource() 257 bool DestIsDeclaration = Dest.isDeclarationForLinker(); in shouldLinkFromSource() 268 if (Dest.hasExternalWeakLinkage()) { in shouldLinkFromSource() 273 LinkFromSrc = !Src.isDeclaration() && Dest.isDeclaration(); in shouldLinkFromSource() 284 if (Dest.hasLinkOnceLinkage() || Dest.hasWeakLinkage()) { in shouldLinkFromSource() 289 if (!Dest.hasCommonLinkage()) { in shouldLinkFromSource() 294 const DataLayout &DL = Dest.getDataLayout(); in shouldLinkFromSource() 295 uint64_t DestSize = DL.getTypeAllocSize(Dest.getValueType()); in shouldLinkFromSource() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | BasicBlock.cpp | 748 void BasicBlock::spliceDebugInfoEmptyBlock(BasicBlock::iterator Dest, in spliceDebugInfoEmptyBlock() argument 772 bool InsertAtHead = Dest.getHeadBit(); in spliceDebugInfoEmptyBlock() 784 Dest->adoptDbgRecords(Src, Src->end(), InsertAtHead); in spliceDebugInfoEmptyBlock() 800 createMarker(Dest)->absorbDebugValues(*First->DebugMarker, InsertAtHead); in spliceDebugInfoEmptyBlock() 805 void BasicBlock::spliceDebugInfo(BasicBlock::iterator Dest, BasicBlock *Src, in spliceDebugInfo() argument 844 if (Dest == end() && !Dest.getHeadBit() && OurTrailingDbgRecords) { in spliceDebugInfo() 873 spliceDebugInfoImpl(Dest, Src, First, Last); in spliceDebugInfo() 887 void BasicBlock::spliceDebugInfoImpl(BasicBlock::iterator Dest, BasicBlock *Src, in spliceDebugInfoImpl() argument 893 bool InsertAtHead = Dest.getHeadBit(); in spliceDebugInfoImpl() 964 if ((DestMarker = getMarker(Dest))) { in spliceDebugInfoImpl() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | TypeStreamMerger.h | 45 Error mergeTypeRecords(MergingTypeTableBuilder &Dest, 70 Error mergeIdRecords(MergingTypeTableBuilder &Dest, ArrayRef<TypeIndex> Types, 102 Error mergeTypeRecords(GlobalTypeTableBuilder &Dest, 108 Error mergeIdRecords(GlobalTypeTableBuilder &Dest, ArrayRef<TypeIndex> Types,
|
/freebsd/sys/contrib/edk2/Include/ |
H A D | Base.h | 610 #define VA_COPY(Dest, Start) __va_copy (Dest, Start) argument 622 #define VA_COPY(Dest, Start) ((void)((Dest) = (Start))) argument 646 #define VA_COPY(Dest, Start) __builtin_ms_va_copy (Dest, Start) argument 665 #define VA_COPY(Dest, Start) __builtin_va_copy (Dest, Start) argument 735 #define VA_COPY(Dest, Start) ((void)((Dest) = (Start))) argument
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | PseudoLoweringEmitter.cpp | 37 CodeGenInstruction Dest; // The destination instruction to lower to. member 42 : Source(s), Dest(d), OperandMap(m) {} in PseudoExpansion() 240 CodeGenInstruction &Dest = Expansion.Dest; in emitLoweringEmitter() local 245 << " TmpInst.setOpcode(" << Dest.Namespace in emitLoweringEmitter() 246 << "::" << Dest.TheDef->getName() << ");\n"; in emitLoweringEmitter() 253 for (const auto &DestOperand : Dest.Operands) { in emitLoweringEmitter() 284 if (Dest.Operands.isVariadic) { in emitLoweringEmitter()
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CallEvent.h | 199 virtual void cloneTo(void *Dest) const = 0; 546 void cloneTo(void *Dest) const override { in cloneTo() argument 547 new (Dest) SimpleFunctionCall(*this); in cloneTo() 583 void cloneTo(void *Dest) const override { new (Dest) BlockCall(*this); } in cloneTo() argument 739 void cloneTo(void *Dest) const override { in cloneTo() argument 740 new (Dest) CXXStaticOperatorCall(*this); in cloneTo() 797 void cloneTo(void *Dest) const override { new (Dest) CXXMemberCall(*this); } in cloneTo() argument 840 void cloneTo(void *Dest) const override { in cloneTo() argument 841 new (Dest) CXXMemberOperatorCall(*this); in cloneTo() 920 void cloneTo(void *Dest) const override { in cloneTo() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | BuildLibCalls.h | 163 Value *emitSNPrintf(Value *Dest, Value *Size, Value *Fmt, 168 Value *emitSPrintf(Value *Dest, Value *Fmt, ArrayRef<Value *> VariadicArgs, 172 Value *emitStrCat(Value *Dest, Value *Src, IRBuilderBase &B, 176 Value *emitStrLCpy(Value *Dest, Value *Src, Value *Size, IRBuilderBase &B, 180 Value *emitStrLCat(Value *Dest, Value *Src, Value *Size, IRBuilderBase &B, 184 Value *emitStrNCat(Value *Dest, Value *Src, Value *Size, IRBuilderBase &B, 188 Value *emitVSNPrintf(Value *Dest, Value *Size, Value *Fmt, Value *VAList, 192 Value *emitVSPrintf(Value *Dest, Value *Fmt, Value *VAList, IRBuilderBase &B,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXImageOptimizer.cpp | 153 BasicBlock *Dest; in replaceWith() local 156 Dest = BI->getSuccessor(1); in replaceWith() 159 Dest = BI->getSuccessor(0); in replaceWith() 160 BranchInst::Create(Dest, BI->getIterator()); in replaceWith()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsExpandPseudo.cpp | 102 Register Dest = I->getOperand(0).getReg(); in expandAtomicCmpSwapSubword() local 175 BuildMI(sinkMBB, DL, TII->get(Mips::SRLV), Dest) in expandAtomicCmpSwapSubword() 179 BuildMI(sinkMBB, DL, TII->get(SEOp), Dest).addReg(Dest); in expandAtomicCmpSwapSubword() 183 BuildMI(sinkMBB, DL, TII->get(Mips::SLL), Dest) in expandAtomicCmpSwapSubword() 184 .addReg(Dest, RegState::Kill) in expandAtomicCmpSwapSubword() 186 BuildMI(sinkMBB, DL, TII->get(Mips::SRA), Dest) in expandAtomicCmpSwapSubword() 187 .addReg(Dest, RegState::Kill) in expandAtomicCmpSwapSubword() 243 Register Dest = I->getOperand(0).getReg(); in expandAtomicCmpSwap() local 278 BuildMI(loop1MBB, DL, TII->get(LL), Dest).addReg(Ptr).addImm(0); in expandAtomicCmpSwap() 280 .addReg(Dest, RegState::Kill).addReg(OldVal).addMBB(exitMBB); in expandAtomicCmpSwap() [all …]
|
/freebsd/sys/contrib/dev/acpica/components/namespace/ |
H A D | nsrepair2.c | 695 char *Dest; in AcpiNsRepair_HID() local 752 for (Dest = NewString->String.Pointer; *Source; Dest++, Source++) in AcpiNsRepair_HID() 754 *Dest = (char) toupper ((int) *Source); in AcpiNsRepair_HID() 1153 ACPI_OPERAND_OBJECT **Dest; in AcpiNsRemoveElement() local 1166 Dest = Source; in AcpiNsRemoveElement() 1179 *Dest = *Source; in AcpiNsRemoveElement() 1180 Dest++; in AcpiNsRemoveElement() 1188 *Dest = NULL; in AcpiNsRemoveElement()
|
H A D | nsrepair.c | 610 ACPI_OPERAND_OBJECT **Dest; in AcpiNsRemoveNullElements() local 647 Dest = Source; in AcpiNsRemoveNullElements() 659 *Dest = *Source; in AcpiNsRemoveNullElements() 660 Dest++; in AcpiNsRemoveNullElements() 676 *Dest = NULL; in AcpiNsRemoveNullElements()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCExpandPseudos.cpp | 88 const MachineOperand &Dest = MI.getOperand(0); in expandCTLZ() local 100 .add(Dest) in expandCTLZ() 116 const MachineOperand &Dest = MI.getOperand(0); in expandCTTZ() local 123 .add(Dest) in expandCTTZ()
|