/external/llvm/lib/Analysis/ |
TargetTransformInfo.cpp | 405 for (ImmutableCallSite::arg_iterator AI = CS.arg_begin(), 407 AI != AE; ++AI) 408 Arguments.push_back(*AI);
|
/external/llvm/lib/CodeGen/ |
RegisterCoalescer.cpp | 527 for (LiveInterval::iterator AI = IntA.begin(), AE = IntA.end(); 528 AI != AE; ++AI) { 529 if (AI->valno != AValNo) continue; 531 std::upper_bound(IntB.ranges.begin(), IntB.ranges.end(), AI->start); 534 for (; BI != IntB.ranges.end() && AI->end >= BI->start; ++BI) { 537 if (BI->start <= AI->start && BI->end > AI->start) 539 if (BI->start > AI->start && BI->start < AI->end [all...] |
ExecutionDepsFix.cpp | 672 for (MCRegAliasIterator AI(RC->getRegister(i), TRI, true); 673 AI.isValid(); ++AI) 674 AliasMap[*AI] = i;
|
/external/llvm/lib/Target/Sparc/ |
DelaySlotFiller.cpp | 315 for (MCRegAliasIterator AI(Reg, TM.getRegisterInfo(), true); 316 AI.isValid(); ++AI) 317 if (RegSet.count(*AI))
|
/external/llvm/lib/Transforms/IPO/ |
ArgumentPromotion.cpp | 644 CallSite::arg_iterator AI = CS.arg_begin(); 647 I != E; ++I, ++AI, ++ArgIndex) 649 Args.push_back(*AI); // Unmodified argument 664 Value *Idx = GetElementPtrInst::Create(*AI, Idxs, 665 (*AI)->getName()+"."+utostr(i), 678 Value *V = *AI; 712 for (; AI != CS.arg_end(); ++AI, ++ArgIndex) { 713 Args.push_back(*AI); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCasts.cpp | 80 AllocaInst &AI) { 87 AllocaBuilder.SetInsertPoint(AI.getParent(), &AI); 90 Type *AllocElTy = AI.getAllocatedType(); 101 if (!AI.hasOneUse() && CastElTyAlign == AllocElTyAlign) return 0; 111 if (!AI.hasOneUse() && CastElTyStoreSize < AllocElTyStoreSize) return 0; 118 DecomposeSimpleLinearExpr(AI.getOperand(0), ArraySizeScale, ArrayOffset); 130 Amt = ConstantInt::get(AI.getArraySize()->getType(), Scale); 136 Value *Off = ConstantInt::get(AI.getArraySize()->getType(), 142 New->setAlignment(AI.getAlignment()) [all...] |
InstCombineCalls.cpp | [all...] |
InstCombinePHI.cpp | 256 if (AllocaInst *AI = dyn_cast<AllocaInst>(L->getOperand(0))) { 258 for (Value::use_iterator UI = AI->use_begin(), E = AI->use_end(); 264 if (SI->getOperand(1) == AI) continue; 270 if (!isAddressTaken && AI->isStaticAlloca()) 280 if (AllocaInst *AI = dyn_cast<AllocaInst>(GEP->getOperand(0))) 281 if (AI->isStaticAlloca() && GEP->hasAllConstantIndices()) [all...] |
/external/llvm/lib/Transforms/Utils/ |
CodeExtractor.cpp | 355 Function::arg_iterator AI = newFunction->arg_begin(); 367 GetElementPtrInst::Create(AI, Idx, "gep_" + inputs[i]->getName(), TI); 370 RewriteVal = AI++; 382 AI = newFunction->arg_begin(); 383 for (unsigned i = 0, e = inputs.size(); i != e; ++i, ++AI) 384 AI->setName(inputs[i]->getName()); 385 for (unsigned i = 0, e = outputs.size(); i != e; ++i, ++AI) 386 AI->setName(outputs[i]->getName()+".out");
|
CloneFunction.cpp | 56 if (const AllocaInst *AI = dyn_cast<AllocaInst>(II)) { 57 if (isa<ConstantInt>(AI->getArraySize())) 292 if (const AllocaInst *AI = dyn_cast<AllocaInst>(II)) { 293 if (isa<ConstantInt>(AI->getArraySize()))
|
/external/llvm/lib/IR/ |
DataLayout.cpp | 496 const LayoutAlignElem &AI = Alignments[i]; 497 OS << '-' << (char)AI.AlignType << AI.TypeBitWidth << ':' 498 << AI.ABIAlign*8 << ':' << AI.PrefAlign*8;
|
/external/llvm/lib/Transforms/Scalar/ |
DeadStoreElimination.cpp | 747 for (Function::arg_iterator AI = BB.getParent()->arg_begin(), 748 AE = BB.getParent()->arg_end(); AI != AE; ++AI) 749 if (AI->hasByValAttr()) 750 DeadStackObjects.insert(AI);
|
/external/llvm/lib/Target/CppBackend/ |
CPPBackend.cpp | 693 for (Function::const_arg_iterator AI = FI->arg_begin(), 694 AE = FI->arg_end(); AI != AE; ++AI) { 695 printType(AI->getType()); [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
ScheduleDAGFast.cpp | 454 for (MCRegAliasIterator AI(Reg, TRI, true); AI.isValid(); ++AI) { 455 if (LiveRegDefs[*AI] && LiveRegDefs[*AI] != SU) { 456 if (RegAdded.insert(*AI)) { 457 LRegs.push_back(*AI);
|
/external/clang/lib/CodeGen/ |
CGDebugInfo.h | 242 void EmitDeclareOfAutoVariable(const VarDecl *Decl, llvm::Value *AI, 254 void EmitDeclareOfArgVariable(const VarDecl *Decl, llvm::Value *AI, 295 void EmitDeclare(const VarDecl *decl, unsigned Tag, llvm::Value *AI,
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
IvarInvalidationChecker.cpp | 227 AI = M->specific_attr_begin<AnnotateAttr>(), 228 AE = M->specific_attr_end<AnnotateAttr>(); AI != AE; ++AI) { 229 const AnnotateAttr *Ann = *AI;
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 685 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size(); 686 ++AI, ++Idx) { 687 AI->setName(Args[Idx]); 690 NamedValues[Args[Idx]] = AI;
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 789 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size(); 790 ++AI, ++Idx) { 791 AI->setName(Args[Idx]); 794 NamedValues[Args[Idx]] = AI;
|
/external/llvm/include/llvm/Transforms/Utils/ |
Local.h | 265 bool replaceDbgDeclareForAlloca(AllocaInst *AI, Value *NewAllocaAddress,
|
/external/llvm/lib/Bitcode/Writer/ |
BitcodeWriter.cpp | 654 for (Module::const_alias_iterator AI = M->alias_begin(), E = M->alias_end(); 655 AI != E; ++AI) { 657 Vals.push_back(VE.getTypeID(AI->getType())); 658 Vals.push_back(VE.getValueID(AI->getAliasee())); 659 Vals.push_back(getEncodedLinkage(AI)); 660 Vals.push_back(getEncodedVisibility(AI)); [all...] |
/frameworks/compile/slang/BitWriter_3_2/ |
BitcodeWriter.cpp | 528 for (Module::const_alias_iterator AI = M->alias_begin(), E = M->alias_end(); 529 AI != E; ++AI) { 531 Vals.push_back(VE.getTypeID(AI->getType())); 532 Vals.push_back(VE.getValueID(AI->getAliasee())); 533 Vals.push_back(getEncodedLinkage(AI)); 534 Vals.push_back(getEncodedVisibility(AI)); [all...] |
/frameworks/compile/slang/ |
slang_rs_backend.cpp | 299 for (llvm::Function::arg_iterator AI = F->arg_begin(), 300 AE = F->arg_end(); AI != AE; AI++) 301 HelperFunctionParameterTys.push_back(AI->getType());
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 937 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size(); 938 ++AI, ++Idx) 939 AI->setName(Args[Idx]); 947 Function::arg_iterator AI = F->arg_begin(); 948 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) { 953 Builder.CreateStore(AI, Alloca); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
toy-jit.cpp | 962 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size(); 963 ++AI, ++Idx) 964 AI->setName(Args[Idx]); 972 Function::arg_iterator AI = F->arg_begin(); 973 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) { 978 Builder.CreateStore(AI, Alloca); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
toy.cpp | [all...] |