/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/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/clang/test/CodeGenCXX/ |
2009-06-16-DebugInfoCrash.cpp | 8 template <class SI> short ReplaceExistingElement(K2Vector<SI*>& v);
|
/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/lib/Transforms/Scalar/ |
BasicBlockPlacement.cpp | 127 succ_iterator SI = succ_begin(BB), E = succ_end(BB); 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...] |
CorrelatedValuePropagation.cpp | 39 bool processSelect(SelectInst *SI); 43 bool processSwitch(SwitchInst *SI); 109 SelectInst *SI = dyn_cast<SelectInst>(Incoming); 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) { 206 Value *Cond = SI->getCondition() [all...] |
SimplifyCFGPass.cpp | 75 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 = succ_begin(BB), SE = succ_end(BB); SI != SE; ++SI [all...] |
/external/llvm/lib/CodeGen/ |
EdgeBundles.cpp | 49 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()
|
LiveIntervalUnion.cpp | 86 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.value()->reg) [all...] |
MachineBlockPlacement.cpp | 298 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/ |
MCObjectDisassembler.cpp | 46 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 = Splits.begin(), SE = Splits.end() [all...] |
MCObjectSymbolizer.cpp | 44 SortedSectionList::const_iterator SI = findSectionContaining(Addr); 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->end_relocations() [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSelect.cpp | 26 SelectInst *SI = dyn_cast<SelectInst>(V); 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, 135 Type *CondTy = SI.getCondition()->getType(); 144 Value *NewSI = Builder->CreateSelect(SI.getCondition(), TI->getOperand(0) [all...] |
InstCombineLoadStoreAlloca.cpp | 414 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->getCondition(), V1, V2) [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonRemoveSZExtArgs.cpp | 66 SExtInst* SI = new SExtInst(Arg, Use->getType()); 67 assert (EVT::getEVT(SI->getType()) == 70 Use->replaceAllUsesWith(SI); 72 SI->insertBefore(First);
|
/external/llvm/lib/Transforms/Utils/ |
LowerExpectIntrinsic.cpp | 45 bool HandleSwitchExpect(SwitchInst *SI); 60 bool LowerExpectIntrinsic::HandleSwitchExpect(SwitchInst *SI) { 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...] |
LowerSwitch.cpp | 61 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) { 229 for (SwitchInst::CaseIt i = SI->case_begin(), e = SI->case_end(); 258 void LowerSwitch::processSwitchInst(SwitchInst *SI) { 259 BasicBlock *CurBlock = SI->getParent(); 262 Value *Val = SI->getCondition(); // The value we are switching on.. [all...] |
SimplifyCFG.cpp | 105 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->getNumCases()) [all...] |
Local.cpp | 108 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->removeCase(i) [all...] |
/frameworks/compile/slang/BitWriter_2_9/ |
BitcodeWriterPass.cpp | 53 SwitchInst *SI = dyn_cast<SwitchInst>(BB->getTerminator()); 54 if (SI == NULL) { 58 for (SwitchInst::CaseIt i = SI->case_begin(), e = SI->case_end(); 68 Type *IntTy = SI->getCondition()->getType();
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
BitcodeWriterPass.cpp | 53 SwitchInst *SI = dyn_cast<SwitchInst>(BB->getTerminator()); 54 if (SI == NULL) { 58 for (SwitchInst::CaseIt i = SI->case_begin(), e = SI->case_end(); 68 Type *IntTy = SI->getCondition()->getType();
|
/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/chromium_org/third_party/mesa/src/src/gallium/winsys/radeon/drm/ |
radeon_drm_winsys.h | 39 SI
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
radeon_drm_winsys.h | 39 SI
|
/external/llvm/utils/TableGen/ |
DFAPacketizerEmitter.cpp | 197 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(); 294 for (unsigned i = 0; i < states.size(); ++i, ++SI) { [all...] |