/external/llvm/lib/Transforms/Scalar/ |
SROA.cpp | 216 AllocaSlices(const DataLayout &DL, AllocaInst &AI); 276 AllocaInst &AI; 346 SliceBuilder(const DataLayout &DL, AllocaInst &AI, AllocaSlices &S) 348 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType())), S(S) {} 364 << " alloca: " << S.AI << "\n" 382 << " alloca: " << S.AI << "\n" 488 << " alloca: " << S.AI << "\n" 723 AllocaSlices::AllocaSlices(const DataLayout &DL, AllocaInst &AI) 726 AI(AI), [all...] |
TailRecursionElimination.cpp | 146 if (AllocaInst *AI = dyn_cast<AllocaInst>(&I)) { 147 if (!AI->isStaticAlloca()) 262 if (AllocaInst *AI = dyn_cast<AllocaInst>(&I)) 263 Tracker.walk(AI); 487 for (Function::arg_iterator AI = F->arg_begin(); &*AI != Arg; ++AI) 701 if (AllocaInst *AI = dyn_cast<AllocaInst>(OEBI++)) 702 if (isa<ConstantInt>(AI->getArraySize())) 703 AI->moveBefore(NEBI) [all...] |
/external/clang/lib/CodeGen/ |
CGOpenMPRuntime.cpp | 85 llvm::AllocaInst *AI = CGF.CreateTempAlloca(IdentTy, ".kmpc_loc.addr"); 86 AI->setAlignment(CGM.getDataLayout().getPrefTypeAlignment(IdentTy)); 87 OpenMPLocMap[CGF.CurFn] = AI; 88 LocValue = AI;
|
/external/clang/lib/Driver/ |
Compilation.cpp | 183 for (Action::const_iterator AI = A->begin(), AE = A->end(); AI != AE; ++AI) 184 if (ActionFailed(*AI, FailingCommands))
|
/external/llvm/include/llvm/IR/ |
CallSite.h | 308 for (arg_iterator AI = this->arg_begin(), E = this->arg_end(); AI != E; 309 ++AI) 310 if (AI->get() == Arg)
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
DbgValueHistoryCalculator.cpp | 121 for (MCRegAliasIterator AI(MO.getReg(), TRI, true); AI.isValid(); ++AI) 122 Regs.insert(*AI);
|
/external/llvm/lib/Target/Sparc/ |
SparcRegisterInfo.cpp | 81 for (MCRegAliasIterator AI(SP::D16 + n, this, true); AI.isValid(); ++AI) 82 Reserved.set(*AI);
|
/frameworks/compile/slang/ |
slang_rs_check_ast.cpp | 140 for (clang::CallExpr::arg_iterator AI = E->arg_begin(), AE = E->arg_end(); 141 AI != AE; ++AI) { 142 Visit(*AI);
|
slang_rs.cpp | 136 // Type(ai) = Type(bi) must hold; 138 // Name(ai) = Name(bi) must hold; 148 RSExportRecordType::const_field_iterator AI = Reflected->fields_begin(), 152 if ((*AI)->getName() != (*BI)->getName()) 154 AI++; 157 PassODR = (AI == (Reflected->fields_end()));
|
/external/llvm/lib/IR/ |
Attributes.cpp | 332 bool AttributeImpl::operator<(const AttributeImpl &AI) const { 336 if (AI.isEnumAttribute()) return getKindAsEnum() < AI.getKindAsEnum(); 337 if (AI.isAlignAttribute()) return true; 338 if (AI.isStringAttribute()) return true; 342 if (AI.isEnumAttribute()) return false; 343 if (AI.isAlignAttribute()) return getValueAsInt() < AI.getValueAsInt(); 344 if (AI.isStringAttribute()) return true; 347 if (AI.isEnumAttribute()) return false [all...] |
DataLayout.cpp | 559 for (const LayoutAlignElem &AI : Alignments) { 561 AI) != std::end(DefaultAlignments)) 563 OS << '-' << (char)AI.AlignType; 564 if (AI.TypeBitWidth) 565 OS << AI.TypeBitWidth; 566 OS << ':' << AI.ABIAlign*8; 567 if (AI.ABIAlign != AI.PrefAlign) 568 OS << ':' << AI.PrefAlign*8;
|
Metadata.cpp | 469 int AI = 0; 473 while (AI < AN && BI < BN) { 474 ConstantInt *ALow = cast<ConstantInt>(A->getOperand(2 * AI)); 478 addRange(EndPoints, ALow, cast<ConstantInt>(A->getOperand(2 * AI + 1))); 479 ++AI; 485 while (AI < AN) { 486 addRange(EndPoints, cast<ConstantInt>(A->getOperand(2 * AI)), 487 cast<ConstantInt>(A->getOperand(2 * AI + 1))); 488 ++AI;
|
/external/llvm/utils/TableGen/ |
CodeGenSchedule.cpp | 64 AI = Expr->arg_begin(), AE = Expr->arg_end(); AI != AE; ++AI) { 65 StringInit *SI = dyn_cast<StringInit>(*AI); 266 for (RecIter AI = AliasDefs.begin(), AE = AliasDefs.end(); AI != AE; ++AI) { 267 Record *MatchDef = (*AI)->getValueAsDef("MatchRW"); 268 Record *AliasDef = (*AI)->getValueAsDef("AliasRW"); 271 PrintFatalError((*AI)->getLoc(), "SchedWrite Alias must be SchedWrite") [all...] |
/external/llvm/lib/Analysis/ |
Lint.cpp | 225 CallSite::arg_iterator AI = CS.arg_begin(), AE = CS.arg_end(); 226 for (; AI != AE; ++AI) { 227 Value *Actual = *AI; 239 if (AI != BI && (*BI)->getType()->isPointerTy()) { 240 AliasAnalysis::AliasResult Result = AA->alias(*AI, *BI); 259 for (CallSite::arg_iterator AI = CS.arg_begin(), AE = CS.arg_end(); 260 AI != AE; ++AI) { 261 Value *Obj = findValue(*AI, /*OffsetOk=*/true) [all...] |
AliasAnalysis.cpp | 103 for (ImmutableCallSite::arg_iterator AI = CS.arg_begin(), AE = CS.arg_end(); 104 AI != AE; ++AI) { 105 const Value *Arg = *AI; 110 getArgLocation(CS, (unsigned) std::distance(CS.arg_begin(), AI),
|
AliasAnalysisEvaluator.cpp | 167 for (CallSite::arg_iterator AI = CS.arg_begin(), AE = CS.arg_end(); 168 AI != AE; ++AI) 169 if (isInterestingPointer(*AI)) 170 Pointers.insert(*AI);
|
/external/llvm/lib/CodeGen/ |
BranchFolding.cpp | [all...] |
MachineCSE.cpp | 226 for (MCRegAliasIterator AI(Reg, TRI, true); AI.isValid(); ++AI) 227 PhysRefs.insert(*AI); 255 for (MCRegAliasIterator AI(PhysDefs[i], TRI, true); AI.isValid(); ++AI) 256 PhysRefs.insert(*AI);
|
/external/llvm/lib/MC/MCAnalysis/ |
MCObjectDisassembler.cpp | 201 for (MCModule::atom_iterator AI = Module->atom_begin(), 203 AI != AE; ++AI) { 204 MCTextAtom *TA = dyn_cast<MCTextAtom>(*AI); 240 for (MCModule::atom_iterator AI = Module->atom_begin(), 242 AI != AE; ++AI) { 243 MCTextAtom *TA = dyn_cast<MCTextAtom>(*AI);
|
/external/clang/lib/Tooling/ |
JSONCompilationDatabase.cpp | 246 for (llvm::yaml::SequenceNode::iterator AI = Array->begin(), 248 AI != AE; ++AI) { 249 llvm::yaml::MappingNode *Object = dyn_cast<llvm::yaml::MappingNode>(&*AI);
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
toy.cpp | 434 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size(); 435 ++AI, ++Idx) { 436 AI->setName(Args[Idx]); 439 NamedValues[Args[Idx]] = AI;
|
/external/llvm/lib/Transforms/Utils/ |
Local.cpp | [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64CollectLOH.cpp | 353 for (MCRegAliasIterator AI(CurReg, TRI, true); AI.isValid(); ++AI) { 354 MapRegToId::const_iterator ItRegId = RegToId.find(*AI); [all...] |
/external/llvm/lib/Target/X86/ |
X86RegisterInfo.cpp | 383 for (MCRegAliasIterator AI(X86::R8 + n, this, true); AI.isValid(); ++AI) 384 Reserved.set(*AI); 387 for (MCRegAliasIterator AI(X86::XMM8 + n, this, true); AI.isValid(); ++AI) 388 Reserved.set(*AI); 393 for (MCRegAliasIterator AI(X86::XMM0 + n, this, true); AI.isValid(); ++AI [all...] |
/external/llvm/tools/bugpoint/ |
BugDriver.h | 154 void switchToInterpreter(AbstractInterpreter *AI) { 155 Interpreter = AI; 176 AbstractInterpreter *AI,
|