/external/llvm/lib/Transforms/Utils/ |
Local.cpp | [all...] |
PromoteMemoryToRegister.cpp | 60 bool llvm::isAllocaPromotable(const AllocaInst *AI) { 63 unsigned AS = AI->getType()->getAddressSpace(); 66 for (const User *U : AI->users()) { 73 if (SI->getOperand(0) == AI) 74 return false; // Don't allow a store OF the AI, only INTO the AI. 128 void AnalyzeAlloca(AllocaInst *AI) { 134 for (auto UI = AI->user_begin(), E = AI->user_end(); UI != E;) { 158 DbgDeclare = FindAllocaDbgDeclare(AI); 1035 DenseMap<AllocaInst *, unsigned>::iterator ai = AllocaLookup.find(Dest); local [all...] |
InlineFunction.cpp | 425 static bool hasLifetimeMarkers(AllocaInst *AI) { 426 Type *Ty = AI->getType(); 430 return isUsedByLifetimeMarker(AI); 433 for (User *U : AI->users()) { 435 if (U->stripPointerCasts() != AI) continue; 609 CallSite::arg_iterator AI = CS.arg_begin(); 612 E = CalledFunc->arg_end(); I != E; ++I, ++AI, ++ArgNo) { 613 Value *ActualArg = *AI; 622 if (ActualArg != *AI) 623 ByValInit.push_back(std::make_pair(ActualArg, (Value*) *AI)); [all...] |
/frameworks/compile/libbcc/lib/Renderscript/ |
RSForEachExpand.cpp | 222 llvm::Function::arg_iterator AI = ExpandedFunction->arg_begin(); 224 (AI++)->setName("p"); 225 (AI++)->setName("x1"); 226 (AI++)->setName("x2"); 227 (AI++)->setName("arg_instep"); 228 (AI++)->setName("arg_outstep");
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 939 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size(); 940 ++AI, ++Idx) 941 AI->setName(Args[Idx]); 949 Function::arg_iterator AI = F->arg_begin(); 950 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) { 955 Builder.CreateStore(AI, Alloca); [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
toy-jit.cpp | 963 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size(); 964 ++AI, ++Idx) 965 AI->setName(Args[Idx]); 973 Function::arg_iterator AI = F->arg_begin(); 974 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) { 979 Builder.CreateStore(AI, Alloca); [all...] |
toy.cpp | [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
toy-jit.cpp | 945 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size(); 946 ++AI, ++Idx) 947 AI->setName(Args[Idx]); 955 Function::arg_iterator AI = F->arg_begin(); 956 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) { 961 Builder.CreateStore(AI, Alloca); [all...] |
toy.cpp | [all...] |
/external/llvm/lib/Analysis/ |
ValueTracking.cpp | 597 AllocaInst *AI = cast<AllocaInst>(V); 598 unsigned Align = AI->getAlignment(); 600 Align = TD->getABITypeAlignment(AI->getType()->getElementType()); [all...] |
/external/llvm/lib/Transforms/Scalar/ |
SCCP.cpp | [all...] |
ScalarReplAggregates.cpp | 102 AllocaInst *AI; 127 explicit AllocaInfo(AllocaInst *ai) 128 : AI(ai), isUnsafe(false), isMemCpySrc(false), isMemCpyDst(false), 152 bool isSafeAllocaToScalarRepl(AllocaInst *AI); 165 void DoScalarReplacement(AllocaInst *AI, 169 void RewriteForScalarRepl(Instruction *I, AllocaInst *AI, uint64_t Offset, 171 void RewriteBitCast(BitCastInst *BC, AllocaInst *AI, uint64_t Offset, 173 void RewriteGEP(GetElementPtrInst *GEPI, AllocaInst *AI, uint64_t Offset, 175 void RewriteLifetimeIntrinsic(IntrinsicInst *II, AllocaInst *AI, [all...] |
/external/clang/lib/CodeGen/ |
CGExprCXX.cpp | [all...] |
CodeGenFunction.cpp | 622 auto AI = CurFn->arg_begin(); 624 ++AI; 625 ReturnValue = AI; [all...] |
CGCall.cpp | 599 llvm::Function::arg_iterator AI) { 609 AI = ExpandTypeFromArgs(EltTy, LV, AI); 631 AI = ExpandTypeFromArgs(LargestFD->getType(), SubLV, AI); 639 AI = ExpandTypeFromArgs(FT, SubLV, AI); 645 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(RealAddr, EltTy)); 647 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(ImagAddr, EltTy)); 649 EmitStoreThroughLValue(RValue::get(AI), LV) [all...] |
CGObjC.cpp | [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
toy.cpp | [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
toy.cpp | [all...] |
/external/llvm/lib/IR/ |
AsmWriter.cpp | 504 for(Function::const_arg_iterator AI = TheFunction->arg_begin(), 505 AE = TheFunction->arg_end(); AI != AE; ++AI) 506 if (!AI->hasName()) 507 CreateFunctionSlot(AI); 606 as_iterator AI = asMap.find(AS); 607 return AI == asMap.end() ? -1 : (int)AI->second; [all...] |
Verifier.cpp | 317 void visitAllocaInst(AllocaInst &AI); [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64FastISel.cpp | 149 unsigned TargetMaterializeAlloca(const AllocaInst *AI) override; 174 unsigned AArch64FastISel::TargetMaterializeAlloca(const AllocaInst *AI) { 175 assert(TLI.getValueType(AI->getType(), true) == MVT::i64 && 179 if (!FuncInfo.StaticAllocaMap.count(AI)) 183 FuncInfo.StaticAllocaMap.find(AI); 396 const AllocaInst *AI = cast<AllocaInst>(Obj); 398 FuncInfo.StaticAllocaMap.find(AI); [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCFastISel.cpp | 106 unsigned TargetMaterializeAlloca(const AllocaInst *AI) override; 363 const AllocaInst *AI = cast<AllocaInst>(Obj); 365 FuncInfo.StaticAllocaMap.find(AI); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCalls.cpp | [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
DataFlowSanitizer.cpp | 500 for (Function::arg_iterator ai = NewF->arg_begin(); n != 0; ++ai, --n) 501 Args.push_back(&*ai); 520 Function::arg_iterator AI = F->arg_begin(); ++AI; 521 for (unsigned N = FT->getNumParams(); N != 0; ++AI, --N) 522 Args.push_back(&*AI); 532 Function::arg_iterator ValAI = F->arg_begin(), ShadowAI = AI; ++ValAI; [all...] |
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/ |
RegionDataConstants.java | 61 AI(new String[]{ [all...] |