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

1234567891011

/freebsd-9.3-release/contrib/llvm/lib/Object/
H A DObject.cpp30 inline section_iterator *unwrap(LLVMSectionIteratorRef SI) { argument
31 return reinterpret_cast<section_iterator*>(SI);
35 wrap(const section_iterator *SI) { argument
37 (const_cast<section_iterator*>(SI));
40 inline symbol_iterator *unwrap(LLVMSymbolIteratorRef SI) { argument
41 return reinterpret_cast<symbol_iterator*>(SI);
45 wrap(const symbol_iterator *SI) { argument
47 (const_cast<symbol_iterator*>(SI));
50 inline relocation_iterator *unwrap(LLVMRelocationIteratorRef SI) { argument
51 return reinterpret_cast<relocation_iterator*>(SI);
55 wrap(const relocation_iterator *SI) argument
71 section_iterator SI = unwrap(ObjectFile)->begin_sections(); local
75 LLVMDisposeSectionIterator(LLVMSectionIteratorRef SI) argument
79 LLVMIsSectionIteratorAtEnd(LLVMObjectFileRef ObjectFile, LLVMSectionIteratorRef SI) argument
84 LLVMMoveToNextSection(LLVMSectionIteratorRef SI) argument
98 symbol_iterator SI = unwrap(ObjectFile)->begin_symbols(); local
102 LLVMDisposeSymbolIterator(LLVMSymbolIteratorRef SI) argument
106 LLVMIsSymbolIteratorAtEnd(LLVMObjectFileRef ObjectFile, LLVMSymbolIteratorRef SI) argument
111 LLVMMoveToNextSymbol(LLVMSymbolIteratorRef SI) argument
118 LLVMGetSectionName(LLVMSectionIteratorRef SI) argument
125 LLVMGetSectionSize(LLVMSectionIteratorRef SI) argument
132 LLVMGetSectionContents(LLVMSectionIteratorRef SI) argument
139 LLVMGetSectionAddress(LLVMSectionIteratorRef SI) argument
146 LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI, LLVMSymbolIteratorRef Sym) argument
156 relocation_iterator SI = (*unwrap(Section))->begin_relocations(); local
160 LLVMDisposeRelocationIterator(LLVMRelocationIteratorRef SI) argument
164 LLVMIsRelocationIteratorAtEnd(LLVMSectionIteratorRef Section, LLVMRelocationIteratorRef SI) argument
169 LLVMMoveToNextRelocation(LLVMRelocationIteratorRef SI) argument
178 LLVMGetSymbolName(LLVMSymbolIteratorRef SI) argument
185 LLVMGetSymbolAddress(LLVMSymbolIteratorRef SI) argument
192 LLVMGetSymbolFileOffset(LLVMSymbolIteratorRef SI) argument
199 LLVMGetSymbolSize(LLVMSymbolIteratorRef SI) argument
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/ADT/
H A DSetOperations.h26 for (typename S2Ty::const_iterator SI = S2.begin(), SE = S2.end();
27 SI != SE; ++SI)
28 if (S1.insert(*SI).second)
53 for (typename S1Ty::const_iterator SI = S1.begin(), SE = S1.end();
54 SI != SE; ++SI)
55 if (!S2.count(*SI)) // if the element is not in set2
56 Result.insert(*SI);
64 for (typename S2Ty::const_iterator SI
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm-c/
H A DObject.h48 void LLVMDisposeSectionIterator(LLVMSectionIteratorRef SI);
50 LLVMSectionIteratorRef SI);
51 void LLVMMoveToNextSection(LLVMSectionIteratorRef SI);
57 void LLVMDisposeSymbolIterator(LLVMSymbolIteratorRef SI);
59 LLVMSymbolIteratorRef SI);
60 void LLVMMoveToNextSymbol(LLVMSymbolIteratorRef SI);
63 const char *LLVMGetSectionName(LLVMSectionIteratorRef SI);
64 uint64_t LLVMGetSectionSize(LLVMSectionIteratorRef SI);
65 const char *LLVMGetSectionContents(LLVMSectionIteratorRef SI);
66 uint64_t LLVMGetSectionAddress(LLVMSectionIteratorRef SI);
[all...]
/freebsd-9.3-release/contrib/gcc/config/rs6000/
H A Ddarwin.md32 (mem:DF (lo_sum:SI (match_operand:SI 1 "gpc_reg_operand" "b,b")
82 [(set (mem:DF (lo_sum:SI (match_operand:SI 1 "gpc_reg_operand" "b")
101 (mem:SF (lo_sum:SI (match_operand:SI 1 "gpc_reg_operand" "b,b")
122 [(set (mem:SF (lo_sum:SI (match_operand:SI 1 "gpc_reg_operand" "b,b")
154 [(set (mem:SI (lo_sum:SI (match_operan
[all...]
H A Drs6000-modes.def29 PARTIAL_INT_MODE (SI);
/freebsd-9.3-release/contrib/gcc/config/
H A Dfixunssfsi.c2 typedef unsigned int USItype __attribute__ ((mode (SI)));
3 typedef int SItype __attribute__ ((mode (SI)));
H A Dfloatunsidf.c2 typedef int SItype __attribute__ ((mode (SI)));
3 typedef unsigned int USItype __attribute__ ((mode (SI)));
H A Dfloatunsisf.c2 typedef int SItype __attribute__ ((mode (SI)));
3 typedef unsigned int USItype __attribute__ ((mode (SI)));
H A Dfloatunsitf.c2 typedef int SItype __attribute__ ((mode (SI)));
3 typedef unsigned int USItype __attribute__ ((mode (SI)));
H A Dfloatunsixf.c2 typedef int SItype __attribute__ ((mode (SI)));
3 typedef unsigned int USItype __attribute__ ((mode (SI)));
H A Dfixunsdfsi.c2 typedef unsigned int USItype __attribute__ ((mode (SI)));
3 typedef int SItype __attribute__ ((mode (SI)));
H A Dfloatdidf.c2 typedef int SItype __attribute__ ((mode (SI)));
3 typedef unsigned int USItype __attribute__ ((mode (SI)));
H A Dfloatundidf.c2 typedef unsigned int USItype __attribute__ ((mode (SI)));
/freebsd-9.3-release/contrib/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());
90 for (MachineBasicBlock::const_succ_iterator SI = I->succ_begin(),
91 SE = I->succ_end(); SI != SE; ++SI)
92 O << "\t\"BB#" << BB << "\" -> \"BB#" << (*SI)->getNumber()
H A DLiveIntervalUnion.cpp86 for (LiveSegments::const_iterator SI = Segments.begin(); SI.valid(); ++SI) {
87 OS << " [" << SI.start() << ' ' << SI.stop() << "):"
88 << PrintReg(SI.value()->reg, TRI);
96 for (SegmentIter SI = Segments.begin(); SI.valid(); ++SI)
97 VisitedVRegs.set(SI
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp26 SelectInst *SI = dyn_cast<SelectInst>(V); local
27 if (SI == 0) return SPF_UNKNOWN;
29 ICmpInst *ICI = dyn_cast<ICmpInst>(SI->getCondition());
36 if (SI->getTrueValue() == ICI->getOperand(0) &&
37 SI->getFalseValue() == ICI->getOperand(1)) {
52 if (SI->getTrueValue() == ICI->getOperand(1) &&
53 SI->getFalseValue() == ICI->getOperand(0)) {
124 Instruction *InstCombiner::FoldSelectOpOp(SelectInst &SI, Instruction *TI, argument
135 Type *CondTy = SI.getCondition()->getType();
144 Value *NewSI = Builder->CreateSelect(SI
211 FoldSelectIntoOp(SelectInst &SI, Value *TrueVal, Value *FalseVal) argument
366 foldSelectICmpAndOr(const SelectInst &SI, Value *TrueVal, Value *FalseVal, InstCombiner::BuilderTy *Builder) argument
418 visitSelectInstWithICmp(SelectInst &SI, ICmpInst *ICI) argument
604 CanSelectOperandBeMappingIntoPredBlock(const Value *V, const SelectInst &SI) argument
661 foldSelectICmpAnd(const SelectInst &SI, ConstantInt *TrueVal, ConstantInt *FalseVal, InstCombiner::BuilderTy *Builder) argument
732 visitSelectInst(SelectInst &SI) argument
[all...]
H A DInstCombineLoadStoreAlloca.cpp418 if (SelectInst *SI = dyn_cast<SelectInst>(Op)) {
421 if (isSafeToLoadUnconditionally(SI->getOperand(1), SI, Align, TD) &&
422 isSafeToLoadUnconditionally(SI->getOperand(2), SI, Align, TD)) {
423 LoadInst *V1 = Builder->CreateLoad(SI->getOperand(1),
424 SI->getOperand(1)->getName()+".val");
425 LoadInst *V2 = Builder->CreateLoad(SI->getOperand(2),
426 SI->getOperand(2)->getName()+".val");
429 return SelectInst::Create(SI
453 InstCombineStoreToCast(InstCombiner &IC, StoreInst &SI) argument
566 visitStoreInst(StoreInst &SI) argument
696 SimplifyStoreAtEndOfBlock(StoreInst &SI) argument
[all...]
/freebsd-9.3-release/contrib/llvm/lib/MC/
H A DMCObjectSymbolizer.cpp56 for (section_iterator SI = MOOF->begin_sections(), SE = MOOF->end_sections();
57 SI != SE; SI.increment(ec)) {
59 StringRef Name; SI->getName(Name);
61 SectionRef StubsSec = *SI;
93 symbol_iterator SI = MOOF->begin_symbols(); local
96 SI.increment(ec);
98 SI->getName(SymName);
99 assert(SI != MOOF->end_symbols() && "Stub wasn't found in the symbol table!");
163 for (symbol_iterator SI
[all...]
H A DMCObjectDisassembler.cpp41 for (symbol_iterator SI = Obj.begin_symbols(), SE = Obj.end_symbols();
42 SI != SE; SI.increment(ec)) {
46 SI->getName(Name);
49 SI->getAddress(Entrypoint);
94 for (section_iterator SI = Obj.begin_sections(),
96 SI != SE;
97 SI.increment(ec)) {
100 bool isText; SI->isText(isText);
101 bool isData; SI
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp39 bool processSelect(SelectInst *SI);
43 bool processSwitch(SwitchInst *SI);
109 SelectInst *SI = dyn_cast<SelectInst>(Incoming); local
110 if (!SI) continue;
112 Constant *C = dyn_cast<Constant>(SI->getFalseValue());
115 if (LVI->getPredicateOnEdge(ICmpInst::ICMP_EQ, SI, C,
120 DEBUG(dbgs() << "CVP: Threading PHI over " << *SI << '\n');
121 V = SI->getTrueValue();
205 bool CorrelatedValuePropagation::processSwitch(SwitchInst *SI) { argument
206 Value *Cond = SI
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Target/Hexagon/
H A DHexagonRemoveSZExtArgs.cpp66 SExtInst* SI = new SExtInst(Arg, Use->getType()); local
67 assert (EVT::getEVT(SI->getType()) ==
70 Use->replaceAllUsesWith(SI);
72 SI->insertBefore(First);
/freebsd-9.3-release/sys/boot/uboot/lib/
H A Ddisk.c71 #define SI(dev) (stor_info[(dev)->d_unit]) macro
161 if (size % SI(dev).bsize) {
163 size, SI(dev).bsize);
166 bcount = size / SI(dev).bsize;
198 if (SI(dev).opened == 0) {
199 err = ub_dev_open(SI(dev).handle);
202 "handle=%d\n", err, SI(dev).handle);
205 SI(dev).opened++;
207 return (disk_open(dev, SI(dev).blocks * SI(de
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Utils/
H A DLowerExpectIntrinsic.cpp45 bool HandleSwitchExpect(SwitchInst *SI);
60 bool LowerExpectIntrinsic::HandleSwitchExpect(SwitchInst *SI) { argument
61 CallInst *CI = dyn_cast<CallInst>(SI->getCondition());
74 SwitchInst::CaseIt Case = SI->findCaseValue(ExpectedValue);
75 unsigned n = SI->getNumCases(); // +1 for default case.
78 Weights[0] = Case == SI->case_default() ? LikelyBranchWeight
84 SI->setMetadata(LLVMContext::MD_prof,
87 SI->setCondition(ArgValue);
143 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(BB->getTerminator())) {
144 if (HandleSwitchExpect(SI))
[all...]
H A DLowerSwitch.cpp61 void processSwitchInst(SwitchInst *SI);
67 unsigned Clusterify(CaseVector& Cases, SwitchInst *SI);
100 if (SwitchInst *SI = dyn_cast<SwitchInst>(Cur->getTerminator())) {
102 processSwitchInst(SI);
236 unsigned LowerSwitch::Clusterify(CaseVector& Cases, SwitchInst *SI) { argument
240 for (SwitchInst::CaseIt i = SI->case_begin(), e = SI->case_end(); i != e; ++i)
276 void LowerSwitch::processSwitchInst(SwitchInst *SI) { argument
277 BasicBlock *CurBlock = SI->getParent();
280 Value *Val = SI
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Analysis/
H A DLoads.cpp115 } else if (StoreInst *SI = dyn_cast<StoreInst>(BBI)) {
116 if (AreEquivalentAddressValues(SI->getOperand(1), V)) return true;
176 if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) {
180 if (AreEquivalentAddressValues(SI->getOperand(1), Ptr)) {
181 if (TBAATag) *TBAATag = SI->getMetadata(LLVMContext::MD_tbaa);
182 return SI->getOperand(0);
189 (isa<AllocaInst>(SI->getOperand(1)) ||
190 isa<GlobalVariable>(SI->getOperand(1))))
196 (AA->getModRefInfo(SI, Ptr, AccessSize) & AliasAnalysis::Mod) == 0)

Completed in 110 milliseconds

1234567891011