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

123456789

/external/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...]
/external/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...]
/external/clang/test/CodeGenCXX/
H A D2009-06-16-DebugInfoCrash.cpp8 template <class SI> short ReplaceExistingElement(K2Vector<SI*>& v);
/external/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...]
/external/llvm/lib/Transforms/Scalar/
H A DBasicBlockPlacement.cpp127 succ_iterator SI = succ_begin(BB), E = succ_end(BB); local
130 for (; SI != E && PlacedBlocks.count(*SI); ++SI)
132 if (SI == E) return; // No more successors to place.
134 double MaxExecutionCount = PI->getExecutionCount(*SI);
135 BasicBlock *MaxSuccessor = *SI;
138 for (; SI != E; ++SI)
139 if (!PlacedBlocks.count(*SI)) {
[all...]
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...]
H A DSimplifyCFGPass.cpp75 for (succ_iterator SI = succ_begin(BB), SE = succ_end(BB); SI != SE; ++SI)
76 (*SI)->removePredecessor(BB);
147 if (StoreInst *SI = dyn_cast<StoreInst>(BBI)) {
149 if (SI->isVolatile()) continue;
151 Value *Ptr = SI->getOperand(1);
155 SI->getPointerAddressSpace() == 0)) {
156 changeToUnreachable(SI, true);
182 for (succ_iterator SI
[all...]
/external/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...]
H A DMachineBlockPlacement.cpp298 for (MachineBasicBlock::succ_iterator SI = (*CBI)->succ_begin(),
300 SI != SE; ++SI) {
301 if (BlockFilter && !BlockFilter->count(*SI))
303 BlockChain &SuccChain = *BlockToChain[*SI];
305 if (&Chain == &SuccChain || *SI == LoopHeaderBB)
341 for (MachineBasicBlock::succ_iterator SI = BB->succ_begin(),
343 SI != SE; ++SI) {
344 if (BlockFilter && !BlockFilter->count(*SI))
[all...]
/external/llvm/lib/MC/
H A DMCObjectDisassembler.cpp46 for (section_iterator SI = Obj.begin_sections(),
48 SI != SE;
49 SI.increment(ec)) {
52 bool isText; SI->isText(isText);
53 bool isData; SI->isData(isData);
57 uint64_t StartAddr; SI->getAddress(StartAddr);
58 uint64_t SecSize; SI->getSize(SecSize);
62 StringRef Contents; SI->getContents(Contents);
70 StringRef SecName; SI->getName(SecName);
144 for (AddressSetTy::const_iterator SI
[all...]
H A DMCObjectSymbolizer.cpp44 SortedSectionList::const_iterator SI = findSectionContaining(Addr); local
45 if (SI != SortedSections.end()) {
46 const SectionRef &S = *SI;
68 for (section_iterator SI = Obj->begin_sections(),
70 SI != SE;
71 SI.increment(ec)) {
74 section_iterator RelSecI = SI->getRelocatedSection();
83 insertSection(*SI);
84 for (relocation_iterator RI = SI->begin_relocations(),
85 RE = SI
[all...]
/external/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.cpp414 if (SelectInst *SI = dyn_cast<SelectInst>(Op)) {
417 if (isSafeToLoadUnconditionally(SI->getOperand(1), SI, Align, TD) &&
418 isSafeToLoadUnconditionally(SI->getOperand(2), SI, Align, TD)) {
419 LoadInst *V1 = Builder->CreateLoad(SI->getOperand(1),
420 SI->getOperand(1)->getName()+".val");
421 LoadInst *V2 = Builder->CreateLoad(SI->getOperand(2),
422 SI->getOperand(2)->getName()+".val");
425 return SelectInst::Create(SI
449 InstCombineStoreToCast(InstCombiner &IC, StoreInst &SI) argument
562 visitStoreInst(StoreInst &SI) argument
692 SimplifyStoreAtEndOfBlock(StoreInst &SI) argument
[all...]
/external/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);
/external/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);
88 if (SwitchInst *SI = dyn_cast<SwitchInst>(Cur->getTerminator())) {
90 processSwitchInst(SI);
224 unsigned LowerSwitch::Clusterify(CaseVector& Cases, SwitchInst *SI) { argument
229 for (SwitchInst::CaseIt i = SI->case_begin(), e = SI->case_end();
258 void LowerSwitch::processSwitchInst(SwitchInst *SI) { argument
259 BasicBlock *CurBlock = SI->getParent();
262 Value *Val = SI
[all...]
H A DSimplifyCFG.cpp105 bool SimplifySwitch(SwitchInst *SI, IRBuilder<> &Builder);
448 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) {
449 Cond = dyn_cast<Instruction>(SI->getCondition());
465 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) {
468 if (SI->getNumSuccessors()*std::distance(pred_begin(SI->getParent()),
469 pred_end(SI->getParent())) <= 128)
470 CV = SI->getCondition();
490 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) {
491 Cases.reserve(SI
608 SwitchInst *SI = cast<SwitchInst>(TI); local
1102 SelectInst *&SI = InsertedSelects[std::make_pair(BB1V, BB2V)]; local
2531 SimplifySwitchOnSelect(SwitchInst *SI, SelectInst *Select) argument
2567 SimplifyIndirectBrOnSelect(IndirectBrInst *IBI, SelectInst *SI) argument
3092 TurnSwitchRangeIntoICmp(SwitchInst *SI, IRBuilder<> &Builder) argument
3161 EliminateDeadSwitchCases(SwitchInst *SI) argument
3247 ForwardSwitchConditionToPHI(SwitchInst *SI) argument
3354 GetCaseResults(SwitchInst *SI, ConstantInt *CaseVal, BasicBlock *CaseDest, BasicBlock **CommonDest, SmallVectorImpl<std::pair<PHINode*,Constant*> > &Res) argument
3607 ShouldBuildLookupTable(SwitchInst *SI, uint64_t TableSize, const TargetTransformInfo &TTI, const DataLayout *TD, const SmallDenseMap<PHINode*, Type*>& ResultTypes) argument
3652 SwitchToLookupTable(SwitchInst *SI, IRBuilder<> &Builder, const TargetTransformInfo &TTI, const DataLayout* TD) argument
3783 SimplifySwitch(SwitchInst *SI, IRBuilder<> &Builder) argument
[all...]
H A DLocal.cpp108 if (SwitchInst *SI = dyn_cast<SwitchInst>(T)) {
111 ConstantInt *CI = dyn_cast<ConstantInt>(SI->getCondition());
112 BasicBlock *TheOnlyDest = SI->getDefaultDest();
116 for (SwitchInst::CaseIt i = SI->case_begin(), e = SI->case_end();
127 MDNode* MD = SI->getMetadata(LLVMContext::MD_prof);
129 if (MD && MD->getNumOperands() == 2 + SI->getNumCases()) {
144 SI->setMetadata(LLVMContext::MD_prof,
149 DefaultDest->removePredecessor(SI->getParent());
150 SI
979 ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI, StoreInst *SI, DIBuilder &Builder) argument
[all...]
/external/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)
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/radeon/drm/
H A Dradeon_drm_winsys.h39 SI enumerator in enum:radeon_generation
/external/mesa3d/src/gallium/winsys/radeon/drm/
H A Dradeon_drm_winsys.h39 SI enumerator in enum:radeon_generation
/external/llvm/utils/TableGen/
H A DDFAPacketizerEmitter.cpp197 for (std::set<unsigned>::iterator SI = stateInfo.begin();
198 SI != stateInfo.end(); ++SI) {
199 unsigned thisState = *SI;
242 for (std::set<unsigned>::const_iterator SI = stateInfo.begin();
243 SI != stateInfo.end(); ++SI) {
244 if (~*SI & InsnClass)
283 DFA::StateSet::iterator SI = states.begin(); local
294 for (unsigned i = 0; i < states.size(); ++i, ++SI) {
[all...]
/external/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp60 for (succ_iterator SI = succ_begin(entryBlock), SE = succ_end(entryBlock);
61 SI != SE; ++SI)
62 if (isa<ReturnInst>((*SI)->getTerminator())) {
63 returnBlock = *SI;
66 nonReturnBlock = *SI;
/external/llvm/include/llvm/MC/
H A DMCRegisterInfo.h518 // for (MCSuperRegIterator SI(*RI, MCRI, true); SI.isValid(); ++SI)
519 // visit(*SI);
563 MCSuperRegIterator SI; member in class:llvm::MCRegAliasIterator
572 for (SI = MCSuperRegIterator(*RRI, MCRI, true); SI.isValid(); ++SI) {
573 if (!(!IncludeSelf && Reg == *SI))
585 assert (SI
[all...]

Completed in 493 milliseconds

123456789