| /freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFObject.h | 165 Dest.Value = Src.Value; in copySymbol() 167 Dest.Type = Src.Type; in copySymbol() 168 Dest.StorageClass = Src.StorageClass; in copySymbol() 176 Dest.Magic = Src.Magic; in copyPeHeader() 179 Dest.SizeOfCode = Src.SizeOfCode; in copyPeHeader() 183 Dest.BaseOfCode = Src.BaseOfCode; in copyPeHeader() 184 Dest.ImageBase = Src.ImageBase; in copyPeHeader() 194 Dest.SizeOfImage = Src.SizeOfImage; in copyPeHeader() 196 Dest.CheckSum = Src.CheckSum; in copyPeHeader() 197 Dest.Subsystem = Src.Subsystem; in copyPeHeader() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineBranchProbabilityInfo.cpp | 51 const MachineBasicBlock *Src, in getEdgeProbability() argument 53 return Src->getSuccProbability(Dst); in getEdgeProbability() 57 const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const { in getEdgeProbability() argument 60 return getEdgeProbability(Src, find(Src->successors(), Dst)); in getEdgeProbability() 64 const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const { in isEdgeHot() argument 66 return getEdgeProbability(Src, Dst) > HotProb; in isEdgeHot() 70 raw_ostream &OS, const MachineBasicBlock *Src, in printEdgeProbability() argument 73 const BranchProbability Prob = getEdgeProbability(Src, Dst); in printEdgeProbability() 74 OS << "edge " << printMBBReference(*Src) << " -> " << printMBBReference(*Dst) in printEdgeProbability() 76 << (isEdgeHot(Src, Dst) ? " [HOT edge]\n" : "\n"); in printEdgeProbability()
|
| H A D | MachineCopyPropagation.cpp | 148 RegUnitsToInvalidate.insert(Src.begin(), Src.end()); in invalidateRegister() 241 for (MCRegUnit Unit : TRI.regunits(Src)) { in trackCopy() 480 if (Src == PreviousSrc && Def == PreviousDef) in isNopCopy() 482 if (!TRI->isSubRegister(PreviousSrc, Src)) in isNopCopy() 520 assert(CopyDef == Src || CopyDef == Def); in eraseIfRedundant() 774 MCRegister Src = RegSrc.asMCReg(); in ForwardCopyPropagateBlock() local 791 if (eraseIfRedundant(MI, Def, Src) || eraseIfRedundant(MI, Src, Def)) in ForwardCopyPropagateBlock() 802 ReadRegister(Src, MI, RegularUse); in ForwardCopyPropagateBlock() 956 if (!Def || !Src) in isBackwardPropagatableCopy() 997 if (MODef.getReg() != Src) in propagateDefs() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | DependenceGraphBuilder.cpp | 166 createDefUseEdge(Src, Dst); in createPiBlocks() 169 createMemoryEdge(Src, Dst); in createPiBlocks() 172 createRootedEdge(Src, Dst); in createPiBlocks() 181 if (!Src->hasEdgeTo(*Dst)) in createPiBlocks() 192 Src->findEdgesTo(*Dst, EL); in createPiBlocks() 205 Src->removeEdge(*OldEdge); in createPiBlocks() 441 assert(Src.getEdges().size() == 1 && in simplify() 450 if (!areNodesMergeable(Src, Tgt)) in simplify() 455 if (Tgt.hasEdgeTo(Src)) in simplify() 460 mergeNodes(Src, Tgt); in simplify() [all …]
|
| H A D | DependenceAnalysis.cpp | 895 const SCEV *Src = Pair->Src; in unifySubscriptType() local 920 const SCEV *Src = Pair->Src; in unifySubscriptType() local 945 const SCEV *Src = Pair->Src; in removeMatchingExtensions() local 3186 Src = SE->getMinusSCEV(Src, DA_K); in propagateDistance() 3187 Src = zeroCoefficient(Src, CurLoop); in propagateDistance() 3239 Src = zeroCoefficient(Src, CurLoop); in propagateLine() 3253 Src = zeroCoefficient(Src, CurLoop); in propagateLine() 3261 Src = SE->getMulExpr(Src, A); in propagateLine() 3263 Src = SE->getAddExpr(Src, SE->getMulExpr(A_K, C)); in propagateLine() 3264 Src = zeroCoefficient(Src, CurLoop); in propagateLine() [all …]
|
| H A D | BranchProbabilityInfo.cpp | 1106 return {1, static_cast<uint32_t>(succ_size(Src))}; in getEdgeProbability() 1120 if (!Probs.count(std::make_pair(Src, 0))) in getEdgeProbability() 1121 return BranchProbability(llvm::count(successors(Src), Dst), succ_size(Src)); in getEdgeProbability() 1124 for (const_succ_iterator I = succ_begin(Src), E = succ_end(Src); I != E; ++I) in getEdgeProbability() 1135 eraseBlock(Src); // Erase stale data if any. in setEdgeProbability() 1139 Handles.insert(BasicBlockCallbackVH(Src, this)); in setEdgeProbability() 1166 if (!this->Probs.contains(std::make_pair(Src, 0))) in copyEdgeProbabilities() 1180 if (!Probs.contains(std::make_pair(Src, 0))) in swapSuccEdgesProbabilities() 1182 assert(Probs.contains(std::make_pair(Src, 1))); in swapSuccEdgesProbabilities() 1183 std::swap(Probs[std::make_pair(Src, 0)], Probs[std::make_pair(Src, 1)]); in swapSuccEdgesProbabilities() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | ConvertUTFWrapper.cpp | 98 assert((uintptr_t)Src % sizeof(UTF16) == 0); in convertUTF16ToUTF8String() 102 if (Src[0] == UNI_UTF16_BYTE_ORDER_MARK_SWAPPED) { in convertUTF16ToUTF8String() 103 ByteSwapped.insert(ByteSwapped.end(), Src, SrcEnd); in convertUTF16ToUTF8String() 106 Src = &ByteSwapped[0]; in convertUTF16ToUTF8String() 111 if (Src[0] == UNI_UTF16_BYTE_ORDER_MARK_NATIVE) in convertUTF16ToUTF8String() 112 Src++; in convertUTF16ToUTF8String() 156 assert((uintptr_t)Src % sizeof(UTF32) == 0); in convertUTF32ToUTF8String() 160 if (Src[0] == UNI_UTF32_BYTE_ORDER_MARK_SWAPPED) { in convertUTF32ToUTF8String() 164 Src = &ByteSwapped[0]; in convertUTF32ToUTF8String() 169 if (Src[0] == UNI_UTF32_BYTE_ORDER_MARK_NATIVE) in convertUTF32ToUTF8String() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SampleProfileInference.cpp | 113 for (uint64_t Src = 0; Src < Nodes.size(); Src++) { in run() local 117 if (Src == Source) in run() 145 DstEdge.Dst = Src; in addEdge() 394 assert((Src == Target || !AugmentingEdges[Src].empty()) && in findAugmentingDAG() 419 assert((Src == Target || Nodes[Src].FracFlow > 0.0) && in augmentFlowAlongDAG() 439 if (Src == Target) in augmentFlowAlongDAG() 480 assert(Src == Source || Nodes[Src].IntFlow == 0); in augmentFlowAlongDAG() 506 for (size_t Src = 0; Src < Nodes.size(); Src++) { in identifyShortestEdges() local 647 if (Visited[Src]) in findReachable() 650 Queue.push(Src); in findReachable() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | ByteProvider.h | 32 ByteProvider(std::optional<ISelOp> Src, int64_t DestOffset, int64_t SrcOffset) in ByteProvider() argument 33 : Src(Src), DestOffset(DestOffset), SrcOffset(SrcOffset) {} in ByteProvider() 57 std::optional<ISelOp> Src = std::nullopt; 76 bool isConstantZero() const { return !Src; } in isConstantZero() 78 bool hasSrc() const { return Src.has_value(); } in hasSrc() 80 bool hasSameSrc(const ByteProvider &Other) const { return Other.Src == Src; } in hasSameSrc() 83 return Other.Src == Src && Other.DestOffset == DestOffset &&
|
| H A D | CostTable.h | 58 MVT::SimpleValueType Src; member 67 int ISD, MVT Dst, MVT Src) { in ConvertCostTableLookup() argument 70 return ISD == Entry.ISD && Src == Entry.Src && Dst == Entry.Dst; in ConvertCostTableLookup() 82 int ISD, MVT Dst, MVT Src) { in ConvertCostTableLookup() argument 84 return ConvertCostTableLookup<CostType>(Table, ISD, Dst, Src); in ConvertCostTableLookup()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMSelectionDAGInfo.cpp | 68 if (isNullConstant(Src)) in EmitSpecializedLibcall() 104 if (Src.getValueType().bitsGT(MVT::i32)) in EmitSpecializedLibcall() 105 Src = DAG.getNode(ISD::TRUNCATE, dl, MVT::i32, Src); in EmitSpecializedLibcall() 106 else if (Src.getValueType().bitsLT(MVT::i32)) in EmitSpecializedLibcall() 107 Src = DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i32, Src); in EmitSpecializedLibcall() 109 Entry.Node = Src; in EmitSpecializedLibcall() 114 Entry.Node = Src; in EmitSpecializedLibcall() 232 Dst = DAG.getNode(ARMISD::MEMCPY, dl, VTs, Chain, Dst, Src, in EmitTargetCodeForMemcpy() 234 Src = Dst.getValue(1); in EmitTargetCodeForMemcpy() 290 return EmitSpecializedLibcall(DAG, dl, Chain, Dst, Src, Size, in EmitTargetCodeForMemmove() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelDAGToDAG.h | 217 bool SelectVOP3ModsNonCanonicalizing(SDValue In, SDValue &Src, 220 bool SelectVOP3NoMods(SDValue In, SDValue &Src) const; 221 bool SelectVOP3Mods0(SDValue In, SDValue &Src, SDValue &SrcMods, 233 bool SelectVOP3OMods(SDValue In, SDValue &Src, SDValue &Clamp, 240 bool SelectVOP3PModsNeg(SDValue In, SDValue &Src) const; 241 bool SelectWMMAOpSelVOP3PMods(SDValue In, SDValue &Src) const; 243 bool SelectWMMAModsF32NegAbs(SDValue In, SDValue &Src, 246 bool SelectWMMAModsF16NegAbs(SDValue In, SDValue &Src, 248 bool SelectWMMAVISrc(SDValue In, SDValue &Src) const; 256 bool SelectVOP3PMadMixModsImpl(SDValue In, SDValue &Src, [all …]
|
| H A D | R600InstrInfo.cpp | 352 if (Src[0] == Src[1]) in Swizzle() 358 std::swap(Src[1], Src[2]); in Swizzle() 361 std::swap(Src[0], Src[1]); in Swizzle() 364 std::swap(Src[0], Src[1]); in Swizzle() 365 std::swap(Src[0], Src[2]); in Swizzle() 368 std::swap(Src[0], Src[2]); in Swizzle() 369 std::swap(Src[0], Src[1]); in Swizzle() 372 std::swap(Src[0], Src[2]); in Swizzle() 417 if (Src.first < 0 || Src.first == 255) in isLegalUpTo() 430 Vector[Src.second][j] = Src.first; in isLegalUpTo() [all …]
|
| H A D | SIShrinkInstructions.cpp | 163 !TII->isInlineConstant(*Src.getParent(), Src.getOperandNo()); in isKImmOperand() 167 return isUInt<16>(Src.getImm()) && in isKUImmOperand() 168 !TII->isInlineConstant(*Src.getParent(), Src.getOperandNo()); in isKUImmOperand() 175 return !TII->isInlineConstant(Src); in isKImmOrKUImmOperand() 178 if (isUInt<16>(Src.getImm())) { in isKImmOrKUImmOperand() 180 return !TII->isInlineConstant(Src); in isKImmOrKUImmOperand() 190 if (!isInt<32>(Src.getImm()) || TII->isInlineConstant(Src)) in isReverseInlineImm() 807 Src.setImm(ReverseImm); in runOnMachineFunction() 867 if (isKImmOperand(Src)) { in runOnMachineFunction() 869 Src.setImm(SignExtend64(Src.getImm(), 32)); in runOnMachineFunction() [all …]
|
| H A D | AMDGPUISelDAGToDAG.cpp | 2464 if (isExtractHiElt(Src, Src)) { in SelectFP_EXTEND() 2792 Src = In; in SelectVOP3ModsImpl() 2796 Src = Src.getOperand(0); in SelectVOP3ModsImpl() 2803 Src = Src.getOperand(1); in SelectVOP3ModsImpl() 2809 Src = Src.getOperand(0); in SelectVOP3ModsImpl() 2856 Src = In; in SelectVOP3NoMods() 2925 Src = Src.getOperand(0); in SelectVOP3PMods() 3403 Src = Src.getOperand(0); in SelectVOP3PMadMixModsImpl() 3405 Src = stripBitcast(Src); in SelectVOP3PMadMixModsImpl() 3411 SelectVOP3ModsImpl(Src, Src, ModsTmp); in SelectVOP3PMadMixModsImpl() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZSelectionDAGInfo.cpp | 33 Ops = { Chain, Dst, Src, LenAdj }; in createMemMemNode() 42 SDValue Chain, SDValue Dst, SDValue Src, in emitMemMemImm() argument 68 return emitMemMemImm(DAG, DL, SystemZISD::MVC, Chain, Dst, Src, in EmitTargetCodeForMemcpy() 192 EVT PtrVT = Src.getValueType(); in EmitTargetCodeForMemchr() 198 SDValue Limit = DAG.getNode(ISD::ADD, DL, PtrVT, Src, Length); in EmitTargetCodeForMemchr() 200 Limit, Src, Char); in EmitTargetCodeForMemchr() 246 EVT PtrVT = Src.getValueType(); in getBoundedStrlen() 251 SDValue Len = DAG.getNode(ISD::SUB, DL, PtrVT, End, Src); in getBoundedStrlen() 258 EVT PtrVT = Src.getValueType(); in EmitTargetCodeForStrlen() 265 EVT PtrVT = Src.getValueType(); in EmitTargetCodeForStrnlen() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Linker/ |
| H A D | LinkModules.cpp | 26 enum class LinkFrom { Dst, Src, Both }; enumerator 165 Src == Comdat::SelectionKind::Largest) in computeResultingSelectionKind() 169 } else if (Src == Dst) { in computeResultingSelectionKind() 230 From = LinkFrom::Src; in getComdatResult() 262 if (Src.hasDLLImportStorageClass()) { in shouldLinkFromSource() 283 if (Src.hasCommonLinkage()) { in shouldLinkFromSource() 301 if (Src.isWeakForLinker()) { in shouldLinkFromSource() 315 assert(Src.hasExternalLinkage()); in shouldLinkFromSource() 320 assert(!Src.hasExternalWeakLinkage()); in shouldLinkFromSource() 480 if (From != LinkFrom::Src) in run() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | MachineIRBuilder.h | 693 return buildInstr(TargetOpcode::G_PTRTOINT, {Dst}, {Src}); in buildPtrToInt() 698 return buildInstr(TargetOpcode::G_INTTOPTR, {Dst}, {Src}); in buildIntToPtr() 703 return buildInstr(TargetOpcode::G_BITCAST, {Dst}, {Src}); in buildBitcast() 1067 const SrcOp &Src); 1201 {Src, SrcOp(static_cast<int64_t>(Mask))}); in buildIsFPClass() 1539 return buildInstr(TargetOpcode::G_FREEZE, {Dst}, {Src}); in buildFreeze() 1927 return buildInstr(TargetOpcode::G_ABS, {Dst}, {Src}); in buildAbs() 1992 const SrcOp &Src) { in buildVecReduceFMaximum() argument 1998 const SrcOp &Src) { in buildVecReduceFMinimum() argument 2082 return buildInstr(TargetOpcode::G_ROTR, {Dst}, {Src, Amt}); in buildRotateRight() [all …]
|
| H A D | MIPatternMatch.h | 571 m_GAnyExt(const SrcTy &Src) { 577 return UnaryOp_match<SrcTy, TargetOpcode::G_SEXT>(Src); 582 return UnaryOp_match<SrcTy, TargetOpcode::G_ZEXT>(Src); 597 m_GBitcast(const SrcTy &Src) { 603 m_GPtrToInt(const SrcTy &Src) { 609 m_GIntToPtr(const SrcTy &Src) { 615 m_GFPTrunc(const SrcTy &Src) { 766 m_Neg(const SrcTy &&Src) { 767 return m_GSub(m_ZeroInt(), Src); 774 m_Not(const SrcTy &&Src) { [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | DependenceAnalysis.h | 78 : Src(Source), Dst(Destination) {} in Dependence() 211 Instruction *Src, *Dst; 367 const SCEV *Src; member 622 bool testZIV(const SCEV *Src, 636 bool testSIV(const SCEV *Src, 652 bool testRDIV(const SCEV *Src, 659 bool testMIV(const SCEV *Src, 791 bool gcdMIVtest(const SCEV *Src, 799 bool banerjeeMIVtest(const SCEV *Src, 886 bool propagate(const SCEV *&Src, [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/MIRParser/ |
| H A D | MIParser.h | 207 StringRef Src, SMDiagnostic &Error); 219 bool parseMachineInstructions(PerFunctionMIParsingState &PFS, StringRef Src, 223 MachineBasicBlock *&MBB, StringRef Src, 227 Register &Reg, StringRef Src, 231 StringRef Src, SMDiagnostic &Error); 234 VRegInfo *&Info, StringRef Src, 238 StringRef Src, SMDiagnostic &Error); 240 bool parseMDNode(PerFunctionMIParsingState &PFS, MDNode *&Node, StringRef Src, 243 bool parseMachineMetadata(PerFunctionMIParsingState &PFS, StringRef Src,
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/ |
| H A D | CheckerManager.h | 249 const ExplodedNodeSet &Src, in runCheckersForPreStmt() argument 252 runCheckersForStmt(/*isPreVisit=*/true, Dst, Src, S, Eng); in runCheckersForPreStmt() 262 const ExplodedNodeSet &Src, 277 const ExplodedNodeSet &Src, in runCheckersForPreObjCMessage() argument 285 const ExplodedNodeSet &Src, 295 const ExplodedNodeSet &Src, in runCheckersForObjCMessageNil() argument 305 const ExplodedNodeSet &Src, 325 const ExplodedNodeSet &Src, 331 const ExplodedNodeSet &Src, 340 const ExplodedNodeSet &Src, [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Globals.cpp | 62 setVisibility(Src->getVisibility()); in copyAttributesFrom() 63 setUnnamedAddr(Src->getUnnamedAddr()); in copyAttributesFrom() 66 setDSOLocal(Src->isDSOLocal()); in copyAttributesFrom() 67 setPartition(Src->getPartition()); in copyAttributesFrom() 68 if (Src->hasSanitizerMetadata()) in copyAttributesFrom() 139 GlobalValue::copyAttributesFrom(Src); in copyAttributesFrom() 140 setAlignment(Src->getAlign()); in copyAttributesFrom() 141 setSection(Src->getSection()); in copyAttributesFrom() 483 GlobalObject::copyAttributesFrom(Src); in copyAttributesFrom() 485 setAttributes(Src->getAttributes()); in copyAttributesFrom() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 155 Value *Src = CI.getOperand(0); in commonCastTransforms() local 792 if (Src->hasOneUse()) { in visitTrunc() 810 if (Src->hasOneUse() && in visitTrunc() 873 if (match(Src, m_VScale())) { in visitTrunc() 1222 if (match(Src, m_VScale())) { in visitZExt() 1452 if (Src->hasOneUse() && in visitSExt() 1641 if (match(Src, m_FPToSI(m_Value(F))) || match(Src, m_FPToUI(m_Value(F)))) { in isKnownExactCastIntToFP() 1813 if (!Src->hasOneUse()) in visitFPTrunc() 1844 if (isa<SIToFPInst>(Src) || isa<UIToFPInst>(Src)) { in visitFPTrunc() 1858 if (isa<SIToFPInst>(Src) || isa<UIToFPInst>(Src)) { in visitFPExt() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86SelectionDAGInfo.cpp | 156 SDValue Src, SDValue Size, MVT AVT) { in emitRepmovs() argument 167 Chain = DAG.getCopyToReg(Chain, dl, SI, Src, InGlue); in emitRepmovs() 178 SDValue Src, uint64_t Size) { in emitRepmovsB() argument 179 return emitRepmovs(Subtarget, DAG, dl, Chain, Dst, Src, in emitRepmovsB() 207 SDValue Chain, SDValue Dst, SDValue Src, uint64_t Size, EVT SizeVT, in emitConstantSizeRepmov() argument 218 return emitRepmovsB(Subtarget, DAG, dl, Chain, Dst, Src, Size); in emitConstantSizeRepmov() 231 emitRepmovs(Subtarget, DAG, dl, Chain, Dst, Src, in emitConstantSizeRepmov() 243 return emitRepmovsB(Subtarget, DAG, dl, Chain, Dst, Src, Size); in emitConstantSizeRepmov() 250 EVT SrcVT = Src.getValueType(); in emitConstantSizeRepmov() 281 return emitRepmovs(Subtarget, DAG, dl, Chain, Dst, Src, Size, MVT::i8); in EmitTargetCodeForMemcpy() [all …]
|