/external/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 216 AllocaSlices(const DataLayout &DL, AllocaInst &AI); 276 AllocaInst &AI; member in class:__anon25488::AllocaSlices 346 SliceBuilder(const DataLayout &DL, AllocaInst &AI, AllocaSlices &S) argument 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) argument 726 AI(AI), 784 OS << "Slices of alloca: " << AI << "\\n"; local 805 AllocaInst &AI; member in class:__anon25489::AllocaPromoter 812 AllocaPromoter(const SmallVectorImpl<Instruction *> &Insts, SSAUpdater &S, AllocaInst &AI, DIBuilder &DIB) argument 3107 rewritePartition(AllocaInst &AI, AllocaSlices &S, AllocaSlices::iterator B, AllocaSlices::iterator E, int64_t BeginOffset, int64_t EndOffset, ArrayRef<AllocaSlices::iterator> SplitUses) argument 3287 splitAlloca(AllocaInst &AI, AllocaSlices &S) argument 3417 runOnAlloca(AllocaInst &AI) argument 3556 AllocaInst *AI = PromotableAllocas[Idx]; local [all...] |
H A D | 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 [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntime.cpp | 85 llvm::AllocaInst *AI = CGF.CreateTempAlloca(IdentTy, ".kmpc_loc.addr"); local 86 AI->setAlignment(CGM.getDataLayout().getPrefTypeAlignment(IdentTy)); 87 OpenMPLocMap[CGF.CurFn] = AI; 88 LocValue = AI;
|
/external/clang/lib/Driver/ |
H A D | Compilation.cpp | 183 for (Action::const_iterator AI = A->begin(), AE = A->end(); AI != AE; ++AI) 184 if (ActionFailed(*AI, FailingCommands))
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DbgValueHistoryCalculator.cpp | 121 for (MCRegAliasIterator AI(MO.getReg(), TRI, true); AI.isValid(); ++AI) 122 Regs.insert(*AI);
|
/external/llvm/lib/Target/Sparc/ |
H A D | SparcRegisterInfo.cpp | 81 for (MCRegAliasIterator AI(SP::D16 + n, this, true); AI.isValid(); ++AI) 82 Reserved.set(*AI);
|
/external/llvm/lib/IR/ |
H A D | 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 [all...] |
H A D | 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;
|
H A D | Metadata.cpp | 469 int AI = 0; local 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/ |
H A D | 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) [all...] |
/external/llvm/lib/Analysis/ |
H A D | Lint.cpp | 225 CallSite::arg_iterator AI = CS.arg_begin(), AE = CS.arg_end(); local 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, /*OffsetO [all...] |
H A D | 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),
|
H A D | 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/ |
H A D | BranchFolding.cpp | 1506 for (MCRegAliasIterator AI(Reg, TRI, true); AI.isValid(); ++AI) 1507 Uses.insert(*AI); 1516 for (MCRegAliasIterator AI(Reg, TRI, true); AI.isValid(); ++AI) 1517 Defs.insert(*AI); 1574 for (MCRegAliasIterator AI(Reg, TRI, true); AI [all...] |
H A D | 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);
|
H A D | MachineRegisterInfo.cpp | 412 for (MCRegAliasIterator AI(PhysReg, getTargetRegisterInfo(), true); 413 AI.isValid(); ++AI) 414 if (!def_empty(*AI) || isAllocatable(*AI))
|
/external/llvm/lib/MC/MCAnalysis/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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/include/llvm/IR/ |
H A D | 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/Transforms/Utils/ |
H A D | Local.cpp | 887 if (AllocaInst *AI = dyn_cast<AllocaInst>(V)) { 893 if (AI->getAlignment() >= PrefAlign) 894 return AI->getAlignment(); 895 AI->setAlignment(PrefAlign); 1025 static bool isArray(AllocaInst *AI) { argument 1026 return AI->isArrayAllocation() || 1027 AI->getType()->getElementType()->isArrayTy(); 1045 AllocaInst *AI = dyn_cast_or_null<AllocaInst>(DDI->getAddress()); local 1052 if (AI && !isArray(AI)) { 1084 replaceDbgDeclareForAlloca(AllocaInst *AI, Value *NewAllocaAddress, DIBuilder &Builder) argument [all...] |
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64CollectLOH.cpp | 353 for (MCRegAliasIterator AI(CurReg, TRI, true); AI.isValid(); ++AI) { 354 MapRegToId::const_iterator ItRegId = RegToId.find(*AI); 1031 for (MCRegAliasIterator AI(CurReg, TRI, true); AI.isValid(); ++AI) 1032 if (RegToId.find(*AI) == RegToId.end()) { 1033 DEBUG(IdToReg.push_back(*AI); 1034 assert(IdToReg[CurRegId] == *AI [all...] |
/external/llvm/lib/Target/X86/ |
H A D | 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 [all...] |
/external/llvm/tools/bugpoint/ |
H A D | BugDriver.h | 154 void switchToInterpreter(AbstractInterpreter *AI) { argument 155 Interpreter = AI; 176 AbstractInterpreter *AI,
|
H A D | ExecutionDriver.cpp | 299 AbstractInterpreter *AI, 301 if (!AI) AI = Interpreter; 302 assert(AI && "Interpreter should have been created already!"); 347 int RetVal = AI->ExecuteProgram(BitcodeFile, InputArgv, InputFile, OutputFile, 295 executeProgram(const Module *Program, std::string OutputFile, std::string BitcodeFile, const std::string &SharedObj, AbstractInterpreter *AI, std::string *Error) const argument
|