/external/llvm/include/llvm-c/ |
Object.h | 48 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/include/llvm/ADT/ |
SetOperations.h | 26 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 = S2.begin(), SE = S2.end() [all...] |
/external/llvm/lib/Object/ |
Object.cpp | 30 inline section_iterator *unwrap(LLVMSectionIteratorRef SI) { 31 return reinterpret_cast<section_iterator*>(SI); 35 wrap(const section_iterator *SI) { 37 (const_cast<section_iterator*>(SI)); 40 inline symbol_iterator *unwrap(LLVMSymbolIteratorRef SI) { 41 return reinterpret_cast<symbol_iterator*>(SI); 45 wrap(const symbol_iterator *SI) { 47 (const_cast<symbol_iterator*>(SI)); 50 inline relocation_iterator *unwrap(LLVMRelocationIteratorRef SI) { 51 return reinterpret_cast<relocation_iterator*>(SI); [all...] |
/external/clang/test/CodeGenCXX/ |
2009-06-16-DebugInfoCrash.cpp | 8 template <class SI> short ReplaceExistingElement(K2Vector<SI*>& v);
|
/external/llvm/lib/CodeGen/ |
EdgeBundles.cpp | 47 for (MachineBasicBlock::const_succ_iterator SI = MBB.succ_begin(), 48 SE = MBB.succ_end(); SI != SE; ++SI) 49 EC.join(OutE, 2 * (*SI)->getNumber()); 84 for (MachineBasicBlock::const_succ_iterator SI = MBB.succ_begin(), 85 SE = MBB.succ_end(); SI != SE; ++SI) 86 O << "\t\"BB#" << BB << "\" -> \"BB#" << (*SI)->getNumber()
|
LiveIntervalUnion.cpp | 87 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.value()->reg) [all...] |
MachineBlockPlacement.cpp | 306 for (MachineBasicBlock::succ_iterator SI = (*CBI)->succ_begin(), 308 SI != SE; ++SI) { 309 if (BlockFilter && !BlockFilter->count(*SI)) 311 BlockChain &SuccChain = *BlockToChain[*SI]; 313 if (&Chain == &SuccChain || *SI == LoopHeaderBB) 349 for (MachineBasicBlock::succ_iterator SI = BB->succ_begin(), 351 SI != SE; ++SI) { 352 if (BlockFilter && !BlockFilter->count(*SI)) [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSelect.cpp | 28 SelectInst *SI = dyn_cast<SelectInst>(V); 29 if (!SI) return SPF_UNKNOWN; 31 ICmpInst *ICI = dyn_cast<ICmpInst>(SI->getCondition()); 37 Value *TrueVal = SI->getTrueValue(); 38 Value *FalseVal = SI->getFalseValue(); 148 Instruction *InstCombiner::FoldSelectOpOp(SelectInst &SI, Instruction *TI, 159 Type *CondTy = SI.getCondition()->getType(); 168 Value *NewSI = Builder->CreateSelect(SI.getCondition(), TI->getOperand(0), 169 FI->getOperand(0), SI.getName()+".v"); 208 Value *NewSI = Builder->CreateSelect(SI.getCondition(), OtherOpT [all...] |
InstCombineLoadStoreAlloca.cpp | 437 if (SelectInst *SI = dyn_cast<SelectInst>(Op)) { 440 if (isSafeToLoadUnconditionally(SI->getOperand(1), SI, Align, DL) && 441 isSafeToLoadUnconditionally(SI->getOperand(2), SI, Align, DL)) { 442 LoadInst *V1 = Builder->CreateLoad(SI->getOperand(1), 443 SI->getOperand(1)->getName()+".val"); 444 LoadInst *V2 = Builder->CreateLoad(SI->getOperand(2), 445 SI->getOperand(2)->getName()+".val"); 448 return SelectInst::Create(SI->getCondition(), V1, V2) [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonRemoveSZExtArgs.cpp | 66 SExtInst* SI = new SExtInst(Arg, I->getType()); 67 assert (EVT::getEVT(SI->getType()) == 70 I->replaceAllUsesWith(SI); 72 SI->insertBefore(First);
|
/external/llvm/lib/Target/R600/ |
AMDGPUMCInstLower.h | 25 SI = 0
|
/external/llvm/lib/Transforms/Utils/ |
LowerExpectIntrinsic.cpp | 46 bool HandleSwitchExpect(SwitchInst *SI); 61 bool LowerExpectIntrinsic::HandleSwitchExpect(SwitchInst *SI) { 62 CallInst *CI = dyn_cast<CallInst>(SI->getCondition()); 75 SwitchInst::CaseIt Case = SI->findCaseValue(ExpectedValue); 76 unsigned n = SI->getNumCases(); // +1 for default case. 79 Weights[0] = Case == SI->case_default() ? LikelyBranchWeight 85 SI->setMetadata(LLVMContext::MD_prof, 88 SI->setCondition(ArgValue); 157 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(BB->getTerminator())) { 158 if (HandleSwitchExpect(SI)) [all...] |
SimplifyCFG.cpp | 108 bool SimplifySwitch(SwitchInst *SI, IRBuilder<> &Builder); 456 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { 457 Cond = dyn_cast<Instruction>(SI->getCondition()); 473 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { 476 if (SI->getNumSuccessors()*std::distance(pred_begin(SI->getParent()), 477 pred_end(SI->getParent())) <= 128) 478 CV = SI->getCondition(); 502 if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) { 503 Cases.reserve(SI->getNumCases()) [all...] |
Local.cpp | 112 if (SwitchInst *SI = dyn_cast<SwitchInst>(T)) { 115 ConstantInt *CI = dyn_cast<ConstantInt>(SI->getCondition()); 116 BasicBlock *TheOnlyDest = SI->getDefaultDest(); 120 for (SwitchInst::CaseIt i = SI->case_begin(), e = SI->case_end(); 131 MDNode* MD = SI->getMetadata(LLVMContext::MD_prof); 132 unsigned NCases = SI->getNumCases(); 150 SI->setMetadata(LLVMContext::MD_prof, 155 DefaultDest->removePredecessor(SI->getParent()); 156 SI->removeCase(i) [all...] |
LowerSwitch.cpp | 66 void processSwitchInst(SwitchInst *SI); 74 unsigned Clusterify(CaseVector &Cases, SwitchInst *SI); 107 if (SwitchInst *SI = dyn_cast<SwitchInst>(Cur->getTerminator())) { 109 processSwitchInst(SI); 289 unsigned LowerSwitch::Clusterify(CaseVector& Cases, SwitchInst *SI) { 293 for (SwitchInst::CaseIt i = SI->case_begin(), e = SI->case_end(); i != e; ++i) 330 void LowerSwitch::processSwitchInst(SwitchInst *SI) { 331 BasicBlock *CurBlock = SI->getParent(); 334 Value *Val = SI->getCondition(); // The value we are switching on.. [all...] |
GlobalStatus.cpp | 75 } else if (const StoreInst *SI = dyn_cast<StoreInst>(I)) { 77 if (SI->getOperand(0) == V) 81 if (SI->isVolatile()) 84 GS.Ordering = strongerOrdering(GS.Ordering, SI->getOrdering()); 91 dyn_cast<GlobalVariable>(SI->getOperand(1))) { 92 Value *StoredVal = SI->getOperand(0);
|
/external/llvm/lib/Analysis/ |
Loads.cpp | 115 } 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/llvm/lib/Target/X86/ |
X86AtomicExpandPass.cpp | 51 bool shouldExpandStore(StoreInst *SI); 62 bool expandAtomicStore(StoreInst *SI); 91 if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) 92 MadeChange |= expandAtomicStore(SI); 156 bool X86AtomicExpandPass::shouldExpandStore(StoreInst *SI) { 157 if (needsCmpXchgNb(SI->getValueOperand()->getType())) 166 if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) 167 return shouldExpandStore(SI); 269 bool X86AtomicExpandPass::expandAtomicStore(StoreInst *SI) { 272 IRBuilder<> Builder(SI); [all...] |
/external/llvm/lib/Transforms/Scalar/ |
CorrelatedValuePropagation.cpp | 40 bool processSelect(SelectInst *SI); 44 bool processSwitch(SwitchInst *SI); 110 SelectInst *SI = dyn_cast<SelectInst>(Incoming); 111 if (!SI) continue; 113 Constant *C = dyn_cast<Constant>(SI->getFalseValue()); 116 if (LVI->getPredicateOnEdge(ICmpInst::ICMP_EQ, SI, C, 121 DEBUG(dbgs() << "CVP: Threading PHI over " << *SI << '\n'); 122 V = SI->getTrueValue(); 206 bool CorrelatedValuePropagation::processSwitch(SwitchInst *SI) { 207 Value *Cond = SI->getCondition() [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/radeon/drm/ |
radeon_drm_winsys.h | 39 SI
|
/external/llvm/include/llvm/CodeGen/ |
LivePhysRegs.h | 123 for (MachineBasicBlock::const_succ_iterator SI = MBB->succ_begin(), 124 SE = MBB->succ_end(); SI != SE; ++SI) 125 addLiveIns(*SI);
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
radeon_drm_winsys.h | 39 SI
|
/external/llvm/utils/TableGen/ |
DFAPacketizerEmitter.cpp | 187 for (std::set<unsigned>::iterator SI = stateInfo.begin(); 188 SI != stateInfo.end(); ++SI) { 189 unsigned thisState = *SI; 232 for (std::set<unsigned>::const_iterator SI = stateInfo.begin(); 233 SI != stateInfo.end(); ++SI) { 234 if (~*SI & InsnClass) 268 DFA::StateSet::iterator SI = states.begin(); 279 for (unsigned i = 0; i < states.size(); ++i, ++SI) { [all...] |
/external/llvm/lib/Transforms/IPO/ |
PartialInlining.cpp | 61 for (succ_iterator SI = succ_begin(entryBlock), SE = succ_end(entryBlock); 62 SI != SE; ++SI) 63 if (isa<ReturnInst>((*SI)->getTerminator())) { 64 returnBlock = *SI; 67 nonReturnBlock = *SI;
|
/external/llvm/include/llvm/MC/ |
MCRegisterInfo.h | 518 // for (MCSuperRegIterator SI(*RI, MCRI, true); SI.isValid(); ++SI) 519 // visit(*SI); 563 MCSuperRegIterator SI; 572 for (SI = MCSuperRegIterator(*RRI, MCRI, true); SI.isValid(); ++SI) { 573 if (!(!IncludeSelf && Reg == *SI)) 585 assert (SI.isValid() && "Cannot dereference an invalid iterator.") [all...] |