Searched refs:AI (Results 51 - 75 of 165) sorted by relevance

1234567

/external/llvm/lib/Transforms/Scalar/
H A DSROA.cpp216 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 DTailRecursionElimination.cpp146 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 DCGOpenMPRuntime.cpp85 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 DCompilation.cpp183 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 DDbgValueHistoryCalculator.cpp121 for (MCRegAliasIterator AI(MO.getReg(), TRI, true); AI.isValid(); ++AI)
122 Regs.insert(*AI);
/external/llvm/lib/Target/Sparc/
H A DSparcRegisterInfo.cpp81 for (MCRegAliasIterator AI(SP::D16 + n, this, true); AI.isValid(); ++AI)
82 Reserved.set(*AI);
/external/llvm/lib/IR/
H A DAttributes.cpp332 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 DDataLayout.cpp559 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 DMetadata.cpp469 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 DCodeGenSchedule.cpp64 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 DLint.cpp225 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 DAliasAnalysis.cpp103 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 DAliasAnalysisEvaluator.cpp167 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 DBranchFolding.cpp1506 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 DMachineCSE.cpp226 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 DMachineRegisterInfo.cpp412 for (MCRegAliasIterator AI(PhysReg, getTargetRegisterInfo(), true);
413 AI.isValid(); ++AI)
414 if (!def_empty(*AI) || isAllocatable(*AI))
/external/llvm/lib/MC/MCAnalysis/
H A DMCObjectDisassembler.cpp201 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 DJSONCompilationDatabase.cpp246 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 Dtoy.cpp434 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 DCallSite.h308 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 DLocal.cpp887 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 DAArch64CollectLOH.cpp353 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 DX86RegisterInfo.cpp383 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 DBugDriver.h154 void switchToInterpreter(AbstractInterpreter *AI) { argument
155 Interpreter = AI;
176 AbstractInterpreter *AI,
H A DExecutionDriver.cpp299 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

Completed in 1440 milliseconds

1234567