/external/llvm/lib/Transforms/Scalar/ |
SROA.cpp | 198 AllocaSlices(const DataLayout &DL, AllocaInst &AI); 258 AllocaInst &AI; 328 SliceBuilder(const DataLayout &DL, AllocaInst &AI, AllocaSlices &S) 330 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType())), S(S) {} 346 << " alloca: " << S.AI << "\n" 364 << " alloca: " << S.AI << "\n" 434 << " alloca: " << S.AI << "\n" 656 AllocaSlices::AllocaSlices(const DataLayout &DL, AllocaInst &AI) 659 AI(AI), [all...] |
/frameworks/compile/slang/ |
slang_rs_check_ast.cpp | 144 for (clang::CallExpr::arg_iterator AI = E->arg_begin(), AE = E->arg_end(); 145 AI != AE; ++AI) { 146 Visit(*AI);
|
slang_rs.cpp | 137 // Type(ai) = Type(bi) must hold; 139 // Name(ai) = Name(bi) must hold; 149 RSExportRecordType::const_field_iterator AI = Reflected->fields_begin(), 153 if ((*AI)->getName() != (*BI)->getName()) 155 AI++; 158 PassODR = (AI == (Reflected->fields_end()));
|
/external/llvm/lib/IR/ |
Attributes.cpp | 319 bool AttributeImpl::operator<(const AttributeImpl &AI) const { 323 if (AI.isEnumAttribute()) return getKindAsEnum() < AI.getKindAsEnum(); 324 if (AI.isAlignAttribute()) return true; 325 if (AI.isStringAttribute()) return true; 329 if (AI.isEnumAttribute()) return false; 330 if (AI.isAlignAttribute()) return getValueAsInt() < AI.getValueAsInt(); 331 if (AI.isStringAttribute()) return true; 334 if (AI.isEnumAttribute()) return false [all...] |
Metadata.cpp | 466 int AI = 0; 470 while (AI < AN && BI < BN) { 471 ConstantInt *ALow = cast<ConstantInt>(A->getOperand(2 * AI)); 475 addRange(EndPoints, ALow, cast<ConstantInt>(A->getOperand(2 * AI + 1))); 476 ++AI; 482 while (AI < AN) { 483 addRange(EndPoints, cast<ConstantInt>(A->getOperand(2 * AI)), 484 cast<ConstantInt>(A->getOperand(2 * AI + 1))); 485 ++AI;
|
/external/clang/lib/CodeGen/ |
CGCall.cpp | 554 llvm::Function::arg_iterator AI) { 564 AI = ExpandTypeFromArgs(EltTy, LV, AI); 588 AI = ExpandTypeFromArgs(LargestFD->getType(), SubLV, AI); 598 AI = ExpandTypeFromArgs(FT, SubLV, AI); 604 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(RealAddr, EltTy)); 606 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(ImagAddr, EltTy)); 608 EmitStoreThroughLValue(RValue::get(AI), LV) [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
FunctionLoweringInfo.cpp | 77 if (const AllocaInst *AI = dyn_cast<AllocaInst>(I)) 78 if (const ConstantInt *CUI = dyn_cast<ConstantInt>(AI->getArraySize())) { 79 Type *Ty = AI->getAllocatedType(); 83 AI->getAlignment()); 92 (AI->isArrayAllocation() || 95 StaticAllocaMap[AI] = 97 MayNeedSP, AI); 128 if (const AllocaInst *AI = dyn_cast<AllocaInst>(Address)) { 130 StaticAllocaMap.find(AI);
|
/external/llvm/utils/TableGen/ |
CodeGenSchedule.cpp | 63 AI = Expr->arg_begin(), AE = Expr->arg_end(); AI != AE; ++AI) { 64 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...] |
AliasAnalysisEvaluator.cpp | 168 for (CallSite::arg_iterator AI = CS.arg_begin(), AE = CS.arg_end(); 169 AI != AE; ++AI) 170 if (isInterestingPointer(*AI)) 171 Pointers.insert(*AI);
|
AliasAnalysis.cpp | 96 for (ImmutableCallSite::arg_iterator AI = CS.arg_begin(), AE = CS.arg_end(); 97 AI != AE; ++AI) { 98 const Value *Arg = *AI;
|
/external/llvm/lib/CodeGen/ |
MachineCSE.cpp | 210 for (MCRegAliasIterator AI(Reg, TRI, true); AI.isValid(); ++AI) 211 PhysRefs.insert(*AI); 239 for (MCRegAliasIterator AI(PhysDefs[i], TRI, true); AI.isValid(); ++AI) 240 PhysRefs.insert(*AI);
|
BranchFolding.cpp | [all...] |
MachineRegisterInfo.cpp | 414 for (MCRegAliasIterator AI(PhysReg, getTargetRegisterInfo(), true); 415 AI.isValid(); ++AI) 416 if (!def_empty(*AI) || isAllocatable(*AI))
|
MachineLICM.cpp | 448 for (MCRegAliasIterator AI(Reg, TRI, true); AI.isValid(); ++AI) 449 PhysRegClobbers.set(*AI); 520 for (MCRegAliasIterator AI(Reg, TRI, true); AI.isValid(); ++AI) 521 PhysRegDefs.set(*AI); 543 for (MCRegAliasIterator AI(Reg, TRI, true); AI.isValid(); ++AI [all...] |
/external/clang/lib/Driver/ |
Compilation.cpp | 327 for (Action::const_iterator AI = A->begin(), AE = A->end(); AI != AE; ++AI) 328 if (ActionFailed(*AI, FailingCommands))
|
/external/clang/lib/Tooling/ |
JSONCompilationDatabase.cpp | 247 for (llvm::yaml::SequenceNode::iterator AI = Array->begin(), 249 AI != AE; ++AI) { 250 llvm::yaml::MappingNode *Object = dyn_cast<llvm::yaml::MappingNode>(&*AI);
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
toy.cpp | 432 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size(); 433 ++AI, ++Idx) { 434 AI->setName(Args[Idx]); 437 NamedValues[Args[Idx]] = AI;
|
/external/llvm/lib/Target/X86/ |
X86RegisterInfo.cpp | 371 for (MCRegAliasIterator AI(X86::R8 + n, this, true); AI.isValid(); ++AI) 372 Reserved.set(*AI); 375 for (MCRegAliasIterator AI(X86::XMM8 + n, this, true); AI.isValid(); ++AI) 376 Reserved.set(*AI); 381 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,
|
ExecutionDriver.cpp | 299 AbstractInterpreter *AI, 301 if (AI == 0) AI = Interpreter; 302 assert(AI && "Interpreter should have been created already!"); 348 int RetVal = AI->ExecuteProgram(BitcodeFile, InputArgv, InputFile, OutputFile,
|
/external/llvm/lib/Transforms/Utils/ |
Local.cpp | [all...] |
/external/clang/lib/Frontend/ |
PrintPreprocessedOutput.cpp | 42 MacroInfo::arg_iterator AI = MI.arg_begin(), E = MI.arg_end(); 43 for (; AI+1 != E; ++AI) { 44 OS << (*AI)->getName(); 49 if ((*AI)->getName() == "__VA_ARGS__") 52 OS << (*AI)->getName();
|
/external/llvm/lib/Target/PowerPC/ |
PPCFastISel.cpp | 88 virtual unsigned TargetMaterializeAlloca(const AllocaInst *AI); 295 unsigned PPCFastISel::TargetMaterializeAlloca(const AllocaInst *AI) { 296 return AI && 0;
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
toy.cpp | 440 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size(); 441 ++AI, ++Idx) { 442 AI->setName(Args[Idx]); 445 NamedValues[Args[Idx]] = AI;
|