| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
| H A D | LookupResult.cpp | 36 raw_ostream &llvm::gsym::operator<<(raw_ostream &OS, const SourceLocation &SL) { in operator <<() argument 37 OS << SL.Name; in operator <<() 38 if (SL.Offset > 0) in operator <<() 39 OS << " + " << SL.Offset; in operator <<() 40 if (SL.Dir.size() || SL.Base.size()) { in operator <<() 42 if (!SL.Dir.empty()) { in operator <<() 43 OS << SL.Dir; in operator <<() 44 if (SL.Dir.contains('\\') && !SL.Dir.contains('/')) in operator <<() 49 if (SL.Base.empty()) in operator <<() 52 OS << SL.Base; in operator <<() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 942 SDLoc SL(Op); in getNegatedExpression() local 947 return DAG.getNode(AMDGPUISD::RCP, SL, VT, NegSrc, Op->getFlags()); in getNegatedExpression() 1567 SDLoc SL(Op); in LowerCONCAT_VECTORS() local 1579 SDValue NewIn = DAG.getNode(ISD::BITCAST, SL, NewEltVT, In); in LowerCONCAT_VECTORS() 1588 SDValue BV = DAG.getBuildVector(NewVT, SL, Args); in LowerCONCAT_VECTORS() 1589 return DAG.getNode(ISD::BITCAST, SL, VT, BV); in LowerCONCAT_VECTORS() 1596 return DAG.getBuildVector(Op.getValueType(), SL, Args); in LowerCONCAT_VECTORS() 1601 SDLoc SL(Op); in LowerEXTRACT_SUBVECTOR() local 1617 SDValue Tmp = DAG.getNode(ISD::BITCAST, SL, NewSrcVT, Op.getOperand(0)); in LowerEXTRACT_SUBVECTOR() 1623 Tmp = DAG.getBuildVector(NewVT, SL, Args); in LowerEXTRACT_SUBVECTOR() [all …]
|
| H A D | SIISelLowering.cpp | 2076 const SDLoc &SL, in lowerKernArgParameterPtr() argument 2090 return DAG.getConstant(Offset, SL, PtrVT); in lowerKernArgParameterPtr() 2094 Chain, SL, MRI.getLiveInVirtReg(InputPtrReg->getRegister()), PtrVT); in lowerKernArgParameterPtr() 2096 return DAG.getObjectPtrOffset(SL, BasePtr, TypeSize::getFixed(Offset)); in lowerKernArgParameterPtr() 2100 const SDLoc &SL) const { in getImplicitArgPtr() 2103 return lowerKernArgParameterPtr(DAG, SL, DAG.getEntryNode(), Offset); in getImplicitArgPtr() 2107 const SDLoc &SL) const { in getLDSKernelId() 2113 return DAG.getConstant(*KnownSize, SL, MVT::i32); in getLDSKernelId() 2118 const SDLoc &SL, SDValue Val, in convertArgType() argument 2127 Val = DAG.getNode(ISD::EXTRACT_SUBVECTOR, SL, NarrowedVT, Val, in convertArgType() [all …]
|
| H A D | AMDGPUISelLowering.h | 71 const SDLoc SL, SDValue Op, 77 SDValue LowerFLOGUnsafe(SDValue Op, const SDLoc &SL, SelectionDAG &DAG, 81 SDValue lowerFEXPUnsafe(SDValue Op, const SDLoc &SL, SelectionDAG &DAG, 83 SDValue lowerFEXP10Unsafe(SDValue Op, const SDLoc &SL, SelectionDAG &DAG, 112 SDValue splitBinaryBitConstantOpImpl(DAGCombinerInfo &DCI, const SDLoc &SL, 123 SDValue performCtlz_CttzCombine(const SDLoc &SL, SDValue Cond, SDValue LHS, 341 const SDLoc &SL, 360 const SDLoc &SL, 364 const SDLoc &SL, 371 EVT VT, const SDLoc &SL,
|
| H A D | AMDGPUISelDAGToDAG.cpp | 1134 SDLoc SL(N); in SelectMAD_64_32() local 1143 SDValue Clamp = CurDAG->getTargetConstant(0, SL, MVT::i1); in SelectMAD_64_32() 1152 SDLoc SL(N); in SelectMUL_LOHI() local 1161 SDValue Zero = CurDAG->getTargetConstant(0, SL, MVT::i64); in SelectMUL_LOHI() 1162 SDValue Clamp = CurDAG->getTargetConstant(0, SL, MVT::i1); in SelectMUL_LOHI() 1165 Opc, SL, CurDAG->getVTList(MVT::i64, MVT::i1), Ops); in SelectMUL_LOHI() 1167 SDValue Sub0 = CurDAG->getTargetConstant(AMDGPU::sub0, SL, MVT::i32); in SelectMUL_LOHI() 1168 SDNode *Lo = CurDAG->getMachineNode(TargetOpcode::EXTRACT_SUBREG, SL, in SelectMUL_LOHI() 1173 SDValue Sub1 = CurDAG->getTargetConstant(AMDGPU::sub1, SL, MVT::i32); in SelectMUL_LOHI() 1174 SDNode *Hi = CurDAG->getMachineNode(TargetOpcode::EXTRACT_SUBREG, SL, in SelectMUL_LOHI() [all …]
|
| H A D | SIISelLowering.h | 48 SDValue lowerKernArgParameterPtr(SelectionDAG &DAG, const SDLoc &SL, 50 SDValue getImplicitArgPtr(SelectionDAG &DAG, const SDLoc &SL) const; 51 SDValue getLDSKernelId(SelectionDAG &DAG, const SDLoc &SL) const; 53 const SDLoc &SL, SDValue Chain, 62 const SDLoc &SL, SDValue Chain, 143 SelectionDAG &DAG, EVT VT, EVT MemVT, const SDLoc &SL, SDValue Val, 189 SDValue splitBinaryBitConstantOp(DAGCombinerInfo &DCI, const SDLoc &SL, 199 SDValue getCanonicalConstantFP(SelectionDAG &DAG, const SDLoc &SL, EVT VT, 203 SDValue performFPMed3ImmCombine(SelectionDAG &DAG, const SDLoc &SL, 205 SDValue performIntMed3ImmCombine(SelectionDAG &DAG, const SDLoc &SL,
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
| H A D | LVSourceLanguage.h | 43 LVSourceLanguage(llvm::dwarf::SourceLanguage SL) in LVSourceLanguage() 44 : LVSourceLanguage(TagDwarf, SL) {} in LVSourceLanguage() 45 LVSourceLanguage(llvm::codeview::SourceLanguage SL) in LVSourceLanguage() 46 : LVSourceLanguage(TagCodeView, SL) {} in LVSourceLanguage() 47 bool operator==(const LVSourceLanguage &SL) const { 48 return get() == SL.get();
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/MSF/ |
| H A D | MappedBlockStream.cpp | 61 MSFStreamLayout SL; in createIndexedStream() 62 SL.Blocks = Layout.StreamMap[StreamIndex]; in createIndexedStream() local 63 SL.Length = Layout.StreamSizes[StreamIndex]; in createIndexedStream() 65 Layout.SB->BlockSize, SL, MsfData, Allocator); in createIndexedStream() 72 MSFStreamLayout SL; in createDirectoryStream() 73 SL.Blocks = Layout.DirectoryBlocks; in createDirectoryStream() local 74 SL.Length = Layout.SB->NumDirectoryBytes; in createDirectoryStream() 75 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator); in createDirectoryStream() 82 MSFStreamLayout SL(getFpmStreamLayout(Layout)); in createFpmStream() 83 return createStream(Layout.SB->BlockSize, SL, MsfDat in createFpmStream() local 330 MSFStreamLayout SL; createIndexedStream() local 340 MSFStreamLayout SL; createDirectoryStream() local [all...] |
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | StackLifetime.cpp | 358 const StackLifetime &SL; member in StackLifetime::LifetimeAnnotationWriter 362 for (const auto &KV : SL.AllocaNumbering) { in printInstrAlive() 363 if (SL.LiveRanges[KV.getSecond()].test(InstrNo)) in printInstrAlive() 372 auto ItBB = SL.BlockInstRange.find(BB); in emitBasicBlockStartAnnot() 373 if (ItBB == SL.BlockInstRange.end()) in emitBasicBlockStartAnnot() 380 if (!Instr || !SL.isReachable(Instr)) in printInfoComment() 384 for (const auto &KV : SL.AllocaNumbering) { in printInfoComment() 385 if (SL.isAliveAfter(KV.getFirst(), Instr)) in printInfoComment() 393 LifetimeAnnotationWriter(const StackLifetime &SL) : SL(SL) {} in LifetimeAnnotationWriter() argument 407 StackLifetime SL(F, Allocas, Type); in run() local [all …]
|
| H A D | TypeMetadataUtils.cpp | 162 const StructLayout *SL = DL.getStructLayout(C->getType()); in getPointerAtOffset() local 163 if (Offset >= SL->getSizeInBytes()) in getPointerAtOffset() 166 unsigned Op = SL->getElementContainingOffset(Offset); in getPointerAtOffset() 168 Offset - SL->getElementOffset(Op), M, in getPointerAtOffset()
|
| H A D | StackSafetyAnalysis.cpp | 262 const StackLifetime &SL); 417 const StackLifetime &SL) { in analyzeAllUses() argument 428 if (!SL.isReachable(I)) in analyzeAllUses() 439 if (AI && !SL.isAliveAfter(AI, I)) { in analyzeAllUses() 452 if (AI && !SL.isAliveAfter(AI, I)) { in analyzeAllUses() 488 if (AI && !SL.isAliveAfter(AI, I)) { in analyzeAllUses() 564 StackLifetime SL(F, Allocas, StackLifetime::LivenessType::Must); in run() local 565 SL.run(); in run() 569 analyzeAllUses(AI, UI, SL); in run() 577 analyzeAllUses(&A, UI, SL); in run()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | GlobalSplit.cpp | 50 const StructLayout *SL = DL.getStructLayout(Init->getType()); in splitGlobal() local 51 ArrayRef<TypeSize> MemberOffsets = SL->getMemberOffsets(); in splitGlobal() 88 if (SrcInRange.getLower().uge(SL->getSizeInBytes())) in splitGlobal() 92 SL->getElementContainingOffset(SrcInRange.getLower().getZExtValue()); in splitGlobal() 95 ? SL->getSizeInBytes() in splitGlobal() 120 unsigned SplitBegin = SL->getElementOffset(I); in splitGlobal() 122 ? SL->getSizeInBytes() in splitGlobal() 123 : SL->getElementOffset(I + 1); in splitGlobal()
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | AnalysisManager.h | 126 static bool isInCodeFile(SourceLocation SL, const SourceManager &SM) { in isInCodeFile() argument 127 if (SM.isInMainFile(SL)) in isInCodeFile() 134 SourceLocation IL = SM.getIncludeLoc(SM.getFileID(SL)); in isInCodeFile() 142 return llvm::StringSwitch<bool>(SM.getFilename(SL).rsplit('.').second) in isInCodeFile() 151 bool isInCodeFile(SourceLocation SL) { in isInCodeFile() argument 153 return isInCodeFile(SL, SM); in isInCodeFile()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_monitor.cpp | 66 SourceLocation SL = CurrentUBR->Loc.getSourceLocation(); in __ubsan_get_current_report_data() 67 *OutFilename = SL.getFilename(); in __ubsan_get_current_report_data() 68 *OutLine = SL.getLine(); in __ubsan_get_current_report_data() 69 *OutCol = SL.getColumn(); in __ubsan_get_current_report_data() 65 SourceLocation SL = CurrentUBR->Loc.getSourceLocation(); __ubsan_get_current_report_data() local
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonGenExtract.cpp | 155 uint32_t SL = CSL->getZExtValue(); in INITIALIZE_PASS_DEPENDENCY() local 161 if (!LogicalSR && (SR > SL)) in INITIALIZE_PASS_DEPENDENCY() 163 APInt A = APInt(BW, ~0ULL, true).lshr(SR).shl(SL); in INITIALIZE_PASS_DEPENDENCY() 169 APInt M = CM->getValue().lshr(SL); in INITIALIZE_PASS_DEPENDENCY() 174 uint32_t U = BW - std::max(SL, SR); in INITIALIZE_PASS_DEPENDENCY() 205 if (SL != 0) in INITIALIZE_PASS_DEPENDENCY() 206 NewIn = IRB.CreateShl(NewIn, SL, CSL->getName()); in INITIALIZE_PASS_DEPENDENCY()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | SampleProfWriter.h | 302 void resetSecLayout(SectionLayout SL) { in resetSecLayout() argument 303 verifySecLayout(SL); in resetSecLayout() 311 SecLayout = SL; in resetSecLayout() 312 SectionHdrLayout = ExtBinaryHdrLayoutTable[SL]; in resetSecLayout() 336 virtual void verifySecLayout(SectionLayout SL) = 0; 428 void verifySecLayout(SectionLayout SL) override { in verifySecLayout() argument 429 assert((SL == DefaultLayout || SL == CtxSplitLayout) && in verifySecLayout()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UnreachableCodeChecker.cpp | 147 SourceLocation SL; in checkEndAnalysis() local 159 SL = DL.asLocation(); in checkEndAnalysis() 160 if (SR.isInvalid() || !SL.isValid()) in checkEndAnalysis() 170 if (SM.isInSystemHeader(SL) || SM.isInExternCSystemHeader(SL)) in checkEndAnalysis()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Operator.cpp | 99 const StructLayout *SL = DL.getStructLayout(STy); in getMaxPreservedAlignment() local 100 Offset = SL->getElementOffset(OpC->getZExtValue()); in getMaxPreservedAlignment() 180 const StructLayout *SL = DL.getStructLayout(STy); in accumulateConstantOffset() local 183 APInt(Offset.getBitWidth(), SL->getElementOffset(ElementIdx)), in accumulateConstantOffset() 245 const StructLayout *SL = DL.getStructLayout(STy); in collectOffset() local 247 CollectConstantOffset(APInt(BitWidth, SL->getElementOffset(ElementIdx)), in collectOffset()
|
| H A D | DataLayout.cpp | 713 StructLayout *&SL = (*STM)[Ty]; in getStructLayout() local 714 if (SL) return SL; in getStructLayout() 723 SL = L; in getStructLayout() 955 const StructLayout *SL = getStructLayout(STy); in getGEPIndexForOffset() local 957 if (IntOffset >= SL->getSizeInBytes()) in getGEPIndexForOffset() 960 unsigned Index = SL->getElementContainingOffset(IntOffset); in getGEPIndexForOffset() 961 Offset -= SL->getElementOffset(Index); in getGEPIndexForOffset()
|
| /freebsd/usr.sbin/makefs/cd9660/ |
| H A D | iso9660_rrip.c | 539 current->attr.rr_entry.SL.h.version[0] = 1; in cd9660_createSL() 540 current->attr.rr_entry.SL.flags[0] = SL_FLAGS_NONE; in cd9660_createSL() 545 memcpy(current->attr.rr_entry.SL.component + path_count, in cd9660_createSL() 581 current->attr.rr_entry.SL.flags[0] |= SL_FLAGS_CONTINUE; in cd9660_createSL() 593 current->attr.rr_entry.SL.component + in cd9660_createSL() 599 current->attr.rr_entry.SL.h.length[0] = path_count + 5; in cd9660_createSL() 603 current->attr.rr_entry.SL.h.version[0] = 1; in cd9660_createSL() 604 current->attr.rr_entry.SL.flags[0] = SL_FLAGS_NONE; in cd9660_createSL() 610 current->attr.rr_entry.SL.component[ in cd9660_createSL() 615 current->attr.rr_entry.SL.component[1] in cd9660_createSL() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SwitchLoweringUtils.h | 183 std::optional<SDLoc> SL; // For SelectionDAG member 186 std::optional<SDLoc> SL) in JumpTable() 187 : Reg(R), JTI(J), MBB(M), Default(D), SL(SL) {} in JumpTable() 282 std::optional<SDLoc> SL, MachineBasicBlock *DefaultMBB, 287 const std::optional<SDLoc> &SL,
|
| /freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | IndexedMemProfData.cpp | 100 const auto &SL = FrameHistogram[L.first]; in writeMemProfFrameArray() local 103 if (SL.Count != SR.Count) in writeMemProfFrameArray() 104 return SL.Count > SR.Count; in writeMemProfFrameArray() 107 if (SL.PositionSum != SR.PositionSum) in writeMemProfFrameArray() 108 return SL.PositionSum < SR.PositionSum; in writeMemProfFrameArray()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopIdiomRecognize.cpp | 219 bool processLoopStores(SmallVectorImpl<StoreInst *> &SL, const SCEV *BECount, 594 for (auto &SL : StoreRefsForMemset) in runOnLoopBlock() local 595 MadeChange |= processLoopStores(SL.second, BECount, ForMemset::Yes); in runOnLoopBlock() 597 for (auto &SL : StoreRefsForMemsetPattern) in runOnLoopBlock() local 598 MadeChange |= processLoopStores(SL.second, BECount, ForMemset::No); in runOnLoopBlock() 613 bool LoopIdiomRecognize::processLoopStores(SmallVectorImpl<StoreInst *> &SL, in processLoopStores() argument 622 for (unsigned i = 0, e = SL.size(); i < e; ++i) { in processLoopStores() 623 assert(SL[i]->isSimple() && "Expected only non-volatile stores."); in processLoopStores() 625 Value *FirstStoredVal = SL[i]->getValueOperand(); in processLoopStores() 626 Value *FirstStorePtr = SL[i]->getPointerOperand(); in processLoopStores() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | Analysis.cpp | 92 const StructLayout *SL = Offsets ? DL.getStructLayout(STy) : nullptr; in ComputeValueVTs() local 99 SL ? SL->getElementOffset(EI - EB) : TypeSize::getZero(); in ComputeValueVTs() 150 const StructLayout *SL = Offsets ? DL.getStructLayout(STy) : nullptr; in computeValueLLTs() local 152 uint64_t EltOffset = SL ? SL->getElementOffset(I) : 0; in computeValueLLTs()
|
| H A D | SwitchLoweringUtils.cpp | 48 std::optional<SDLoc> SL, in findJumpTables() argument 91 if (buildJumpTable(Clusters, 0, N - 1, SI, SL, DefaultMBB, JTCluster)) { in findJumpTables() 182 buildJumpTable(Clusters, First, Last, SI, SL, DefaultMBB, JTCluster)) { in findJumpTables() 195 const std::optional<SDLoc> &SL, in buildJumpTable() argument 257 JumpTable JT(Register(), JTI, JumpTableMBB, nullptr, SL); in buildJumpTable()
|