Searched refs:SI (Results 1 - 25 of 365) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DELFConfig.cpp42 NewSymbolInfo SI; local
44 std::tie(SI.SymbolName, Value) = FlagValue.split('=');
49 SI.SymbolName.str().c_str());
52 std::tie(SI.SectionName, Value) = Value.split(':');
53 if (SI.SectionName.empty() || Value.empty())
61 if (Flags[0].getAsInteger(0, SI.Value))
65 SI.Visibility = DefaultVisibility;
72 .CaseLower("global", [&SI] { SI.Bind = ELF::STB_GLOBAL; })
73 .CaseLower("local", [&SI] { S
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/
H A DObject.cpp32 inline section_iterator *unwrap(LLVMSectionIteratorRef SI) { argument
33 return reinterpret_cast<section_iterator*>(SI);
37 wrap(const section_iterator *SI) { argument
39 (const_cast<section_iterator*>(SI));
42 inline symbol_iterator *unwrap(LLVMSymbolIteratorRef SI) { argument
43 return reinterpret_cast<symbol_iterator*>(SI);
47 wrap(const symbol_iterator *SI) { argument
49 (const_cast<symbol_iterator*>(SI));
52 inline relocation_iterator *unwrap(LLVMRelocationIteratorRef SI) { argument
53 return reinterpret_cast<relocation_iterator*>(SI);
57 wrap(const relocation_iterator *SI) argument
157 LLVMObjectFileIsSectionIteratorAtEnd(LLVMBinaryRef BR, LLVMSectionIteratorRef SI) argument
171 LLVMObjectFileIsSymbolIteratorAtEnd(LLVMBinaryRef BR, LLVMSymbolIteratorRef SI) argument
200 section_iterator SI = OB->getBinary()->section_begin(); local
204 LLVMDisposeSectionIterator(LLVMSectionIteratorRef SI) argument
208 LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef OF, LLVMSectionIteratorRef SI) argument
214 LLVMMoveToNextSection(LLVMSectionIteratorRef SI) argument
234 symbol_iterator SI = OB->getBinary()->symbol_begin(); local
238 LLVMDisposeSymbolIterator(LLVMSymbolIteratorRef SI) argument
242 LLVMIsSymbolIteratorAtEnd(LLVMObjectFileRef OF, LLVMSymbolIteratorRef SI) argument
248 LLVMMoveToNextSymbol(LLVMSymbolIteratorRef SI) argument
253 LLVMGetSectionName(LLVMSectionIteratorRef SI) argument
260 LLVMGetSectionSize(LLVMSectionIteratorRef SI) argument
264 LLVMGetSectionContents(LLVMSectionIteratorRef SI) argument
271 LLVMGetSectionAddress(LLVMSectionIteratorRef SI) argument
275 LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI, LLVMSymbolIteratorRef Sym) argument
282 relocation_iterator SI = (*unwrap(Section))->relocation_begin(); local
286 LLVMDisposeRelocationIterator(LLVMRelocationIteratorRef SI) argument
290 LLVMIsRelocationIteratorAtEnd(LLVMSectionIteratorRef Section, LLVMRelocationIteratorRef SI) argument
295 LLVMMoveToNextRelocation(LLVMRelocationIteratorRef SI) argument
301 LLVMGetSymbolName(LLVMSymbolIteratorRef SI) argument
313 LLVMGetSymbolAddress(LLVMSymbolIteratorRef SI) argument
325 LLVMGetSymbolSize(LLVMSymbolIteratorRef SI) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSetOperations.h25 for (typename S2Ty::const_iterator SI = S2.begin(), SE = S2.end();
26 SI != SE; ++SI)
27 if (S1.insert(*SI).second)
52 for (typename S1Ty::const_iterator SI = S1.begin(), SE = S1.end();
53 SI != SE; ++SI)
54 if (!S2.count(*SI)) // if the element is not in set2
55 Result.insert(*SI);
63 for (typename S2Ty::const_iterator SI
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCExpandPseudos.cpp61 MachineInstr &SI = *SII; local
64 isUInt<6>(SI.getOperand(2).getImm()) ? ARC::ADD_rru6 : ARC::ADD_rrlimm;
65 BuildMI(*SI.getParent(), SI, SI.getDebugLoc(), TII->get(AddOpc), AddrReg)
66 .addReg(SI.getOperand(1).getReg())
67 .addImm(SI.getOperand(2).getImm());
68 BuildMI(*SI.getParent(), SI, SI
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm-c/
H A DObject.h139 LLVMSectionIteratorRef SI);
160 LLVMSymbolIteratorRef SI);
162 void LLVMDisposeSectionIterator(LLVMSectionIteratorRef SI);
164 void LLVMMoveToNextSection(LLVMSectionIteratorRef SI);
169 void LLVMDisposeSymbolIterator(LLVMSymbolIteratorRef SI);
170 void LLVMMoveToNextSymbol(LLVMSymbolIteratorRef SI);
173 const char *LLVMGetSectionName(LLVMSectionIteratorRef SI);
174 uint64_t LLVMGetSectionSize(LLVMSectionIteratorRef SI);
175 const char *LLVMGetSectionContents(LLVMSectionIteratorRef SI);
176 uint64_t LLVMGetSectionAddress(LLVMSectionIteratorRef SI);
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DEdgeBundles.cpp49 for (MachineBasicBlock::const_succ_iterator SI = MBB.succ_begin(),
50 SE = MBB.succ_end(); SI != SE; ++SI)
51 EC.join(OutE, 2 * (*SI)->getNumber());
89 for (MachineBasicBlock::const_succ_iterator SI = MBB.succ_begin(),
90 SE = MBB.succ_end(); SI != SE; ++SI)
92 << printMBBReference(**SI) << "\" [ color=lightgray ]\n";
H A DMacroFusion.cpp40 for (const SDep &SI : SU.Preds)
41 if (SI.isCluster())
42 return SI.getSUnit();
58 for (SDep &SI : FirstSU.Succs)
59 if (SI.isCluster())
62 for (SDep &SI : SecondSU.Preds)
63 if (SI.isCluster())
83 for (SDep &SI : FirstSU.Succs)
84 if (SI.getSUnit() == &SecondSU)
85 SI
[all...]
H A DLiveIntervalUnion.cpp87 for (LiveSegments::const_iterator SI = Segments.begin(); SI.valid(); ++SI) {
88 OS << " [" << SI.start() << ' ' << SI.stop() << "):"
89 << printReg(SI.value()->reg, TRI);
97 for (SegmentIter SI = Segments.begin(); SI.valid(); ++SI)
98 VisitedVRegs.set(SI
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCQPXLoadSplat.cpp80 for (auto SI = Splats.begin(); SI != Splats.end();) {
81 MachineInstr *SMI = *SI;
88 SI = Splats.erase(SI);
113 SI = Splats.erase(SI);
137 SI = Splats.erase(SI);
141 ++SI;
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineFeaturesAnalysis.cpp30 } else if (const auto *SI = dyn_cast<SwitchInst>(BB.getTerminator()))
32 (SI->getNumCases() + (nullptr != SI->getDefaultDest()));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAlloca.cpp96 auto SI = dyn_cast<StoreInst>(AllocaUse.getUser()); local
97 if (SI && SI->getPointerOperand() == allocaInst &&
98 !SI->isVolatile()) {
99 SI->setOperand(SI->getPointerOperandIndex(), NewASCToGeneric);
H A DNVPTXLowerAggrCopies.cpp79 if (StoreInst *SI = dyn_cast<StoreInst>(LI->user_back())) {
80 if (SI->getOperand(0) != LI)
106 auto *SI = cast<StoreInst>(*LI->user_begin()); local
108 Value *DstAddr = SI->getOperand(1);
113 createMemCpyLoopKnownSize(/* ConvertedInst */ SI,
117 /* DestAlign */ SI->getAlign(),
119 /* DstIsVolatile */ SI->isVolatile(), TTI);
121 SI->eraseFromParent();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.cpp302 SelectionDAGBuilder::StatepointLoweringInfo &SI,
306 Builder.lowerInvokable(SI.CLI, SI.EHPadBB);
325 bool HasDef = !SI.CLI.RetTy->isVoidTy();
488 SmallVectorImpl<MachineMemOperand*> &MemRefs, SelectionDAGBuilder::StatepointLoweringInfo &SI,
500 for (const Value *V : SI.Bases) {
507 for (const Value *V : SI.Ptrs) {
514 assert(SI.Bases.size() == SI.Ptrs.size() && "Pointer without base!");
516 assert(SI
301 lowerCallFromStatepointLoweringInfo( SelectionDAGBuilder::StatepointLoweringInfo &SI, SelectionDAGBuilder &Builder, SmallVectorImpl<SDValue> &PendingExports) argument
487 lowerStatepointMetaArgs(SmallVectorImpl<SDValue> &Ops, SmallVectorImpl<MachineMemOperand*> &MemRefs, SelectionDAGBuilder::StatepointLoweringInfo &SI, SelectionDAGBuilder &Builder) argument
656 LowerAsSTATEPOINT( SelectionDAGBuilder::StatepointLoweringInfo &SI) argument
993 const GCStatepointInst *SI = CI.getStatepoint(); local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp448 static StoreInst *combineStoreToNewValue(InstCombiner &IC, StoreInst &SI, Value *V) { argument
449 assert((!SI.isAtomic() || isSupportedAtomicType(V->getType())) &&
452 Value *Ptr = SI.getPointerOperand();
453 unsigned AS = SI.getPointerAddressSpace();
455 SI.getAllMetadata(MD);
459 SI.getAlign(), SI.isVolatile());
460 NewStore->setAtomic(SI.getOrdering(), SI.getSyncScopeID());
570 auto *SI
578 auto *SI = cast<StoreInst>(*UI++); local
894 canSimplifyNullStoreOrGEP(StoreInst &SI) argument
968 StoreInst *SI = new StoreInst(UndefValue::get(LI.getType()), local
1097 combineStoreToValueType(InstCombiner &IC, StoreInst &SI) argument
1129 unpackStoreToAggregate(InstCombiner &IC, StoreInst &SI) argument
1269 removeBitcastsFromLoadStoreOnMinMax(InstCombiner &IC, StoreInst &SI) argument
1317 visitStoreInst(StoreInst &SI) argument
1436 mergeStoreIntoSuccessor(StoreInst &SI) argument
[all...]
H A DInstCombineSelect.cpp282 Instruction *InstCombiner::foldSelectOpOp(SelectInst &SI, Instruction *TI, argument
288 if ((match(&SI, m_SMin(m_Value(), m_Value())) ||
289 match(&SI, m_SMax(m_Value(), m_Value())) ||
290 match(&SI, m_UMin(m_Value(), m_Value())) ||
291 match(&SI, m_UMax(m_Value(), m_Value()))))
295 Value *Cond = SI.getCondition();
332 SI.getName() + ".v", &SI);
341 Value *NewSel = Builder.CreateSelect(Cond, X, Y, SI.getName() + ".v", &SI);
421 foldSelectIntoOp(SelectInst &SI, Value *TrueVal, Value *FalseVal) argument
1440 foldSelectInstWithICmp(SelectInst &SI, ICmpInst *ICI) argument
1565 canSelectOperandBeMappingIntoPredBlock(const Value *V, const SelectInst &SI) argument
1663 SelectInst *SI = cast<SelectInst>(Inner); local
1722 foldAddSubSelect(SelectInst &SI, InstCombiner::BuilderTy &Builder) argument
1798 foldOverflowingAddSubSelect(SelectInst &SI, InstCombiner::BuilderTy &Builder) argument
1977 canonicalizeSelectToShuffle(SelectInst &SI) argument
2103 foldSelectCmpXchg(SelectInst &SI) argument
2533 visitSelectInst(SelectInst &SI) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DSequenceToOffsetTable.h207 for (typename SeqT::const_iterator SI = I->first.begin(),
208 SE = I->first.end(); SI != SE; ++SI) {
209 Print(OS, *SI);
/freebsd-13-stable/stand/uboot/lib/
H A Ddisk.c68 #define SI(dev) (stor_info[(dev)->dd.d_unit]) macro
158 if (size % SI(dev).bsize) {
161 size, SI(dev).bsize);
164 bcount = size / SI(dev).bsize;
196 if (SI(dev).opened == 0) {
197 err = ub_dev_open(SI(dev).handle);
200 "handle=%d\n", err, SI(dev).handle);
203 SI(dev).opened++;
205 return (disk_open(dev, SI(dev).blocks * SI(de
[all...]
/freebsd-13-stable/contrib/gdtoa/
H A Dstrtopd.c41 static FPI fpi0 = { 53, 1-1023-53+1, 2046-1023-53+1, 1, SI };
/freebsd-13-stable/contrib/ntp/include/
H A Dascii.h56 #define SI 15 macro
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DWasmDump.cpp35 symbol_iterator SI = RelRef.getSymbol(); local
38 if (SI == Obj->symbol_end()) {
43 Expected<StringRef> SymNameOrErr = SI->getName();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp113 for (Instruction *SI : TheStores)
114 if (!isa<StoreInst>(SI))
166 if (StoreInst *SI = dyn_cast<StoreInst>(Inst))
167 addStore(OffsetFromFirst, SI);
172 void addStore(int64_t OffsetFromFirst, StoreInst *SI) { argument
173 int64_t StoreSize = DL.getTypeStoreSize(SI->getOperand(0)->getType());
175 addRange(OffsetFromFirst, StoreSize, SI->getPointerOperand(),
176 SI->getAlign().value(), SI);
391 LLVM_DEBUG(dbgs() << "Replace stores:\n"; for (Instruction *SI
414 moveUp(AliasAnalysis &AA, StoreInst *SI, Instruction *P, const LoadInst *LI) argument
504 processStore(StoreInst *SI, BasicBlock::iterator &BBI) argument
[all...]
H A DLowerExpectIntrinsic.cpp79 static bool handleSwitchExpect(SwitchInst &SI) { argument
80 CallInst *CI = dyn_cast<CallInst>(SI.getCondition());
94 SwitchInst::CaseHandle Case = *SI.findCaseValue(ExpectedValue);
95 unsigned n = SI.getNumCases(); // +1 for default case.
102 uint64_t Index = (Case == *SI.case_default()) ? 0 : Case.getCaseIndex() + 1;
105 SI.setMetadata(LLVMContext::MD_misexpect,
110 SI.setCondition(ArgValue);
111 misexpect::checkFrontendInstrumentation(SI);
113 SI.setMetadata(LLVMContext::MD_prof,
368 } else if (SwitchInst *SI
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNRegPressure.h196 SlotIndex SI,
200 GCNRPTracker::LiveRegSet getLiveRegs(SlotIndex SI,
216 auto SI = SII.getInstructionIndex(*I); local
217 Indexes.push_back(After ? SI.getDeadSlot() : SI.getBaseIndex());
233 for (auto SI : LiveIdxs)
234 LiveRegMap[SII.getInstructionFromIndex(SI)][Reg] =
241 for (auto SI : SRLiveIdxs)
242 LiveRegMap[SII.getInstructionFromIndex(SI)][Reg] |= S.LaneMask;
272 void printLivesAt(SlotIndex SI,
[all...]
H A DAMDGPULowerKernelAttributes.cpp181 auto *SI = dyn_cast<SelectInst>(ZextUser); local
182 if (!SI)
195 if (match(SI,
203 SI->replaceAllUsesWith(ConstantExpr::getIntegerCast(KnownSize,
204 SI->getType(),
207 SI->replaceAllUsesWith(ZextGroupSize);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DGlobalStatus.cpp93 } else if (const StoreInst *SI = dyn_cast<StoreInst>(I)) {
95 if (SI->getOperand(0) == V)
99 if (SI->isVolatile())
102 GS.Ordering = strongerOrdering(GS.Ordering, SI->getOrdering());
109 dyn_cast<GlobalVariable>(SI->getOperand(1))) {
110 Value *StoredVal = SI->getOperand(0);

Completed in 161 milliseconds

1234567891011>>