/external/clang/lib/StaticAnalyzer/Core/ |
BugReporterVisitors.cpp | 642 unsigned Idx = Param->getFunctionScopeIndex() + 1; 643 os << " via " << Idx << llvm::getOrdinalSuffix(Idx) << " parameter"; [all...] |
ExprEngine.cpp | [all...] |
RegionStore.cpp | [all...] |
/external/llvm/examples/Kaleidoscope/Chapter6/ |
toy.cpp | 790 unsigned Idx = 0; 791 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size(); 792 ++AI, ++Idx) { 793 AI->setName(Args[Idx]); 796 NamedValues[Args[Idx]] = AI;
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 938 unsigned Idx = 0; 939 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size(); 940 ++AI, ++Idx) 941 AI->setName(Args[Idx]); 950 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) { 952 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); 958 NamedValues[Args[Idx]] = Alloca; [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
toy-jit.cpp | 962 unsigned Idx = 0; 963 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size(); 964 ++AI, ++Idx) 965 AI->setName(Args[Idx]); 974 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) { 976 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); 982 NamedValues[Args[Idx]] = Alloca; [all...] |
toy.cpp | [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
toy-jit.cpp | 944 unsigned Idx = 0; 945 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size(); 946 ++AI, ++Idx) 947 AI->setName(Args[Idx]); 956 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) { 958 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]); 964 NamedValues[Args[Idx]] = Alloca; [all...] |
/external/llvm/include/llvm/CodeGen/PBQP/ |
Graph.h | 75 AdjEdgeIdx Idx = AdjEdgeIds.size(); 77 return Idx; 80 void removeAdjEdgeId(Graph &G, NodeId ThisNId, AdjEdgeIdx Idx) { 83 // 2) Move last Edge down to Idx. 85 // If Idx == size() - 1 then the setAdjEdgeIdx and swap are 87 G.getEdge(AdjEdgeIds.back()).setAdjEdgeIdx(ThisNId, Idx); 88 AdjEdgeIds[Idx] = AdjEdgeIds.back();
|
/external/llvm/lib/Analysis/ |
ScalarEvolutionExpander.cpp | 524 Value *Idx = expandCodeFor(SE.getAddExpr(Ops), Ty); 528 if (Constant *CRHS = dyn_cast<Constant>(Idx)) 544 IP->getOperand(0) == V && IP->getOperand(1) == Idx) 555 if (!L->isLoopInvariant(V) || !L->isLoopInvariant(Idx)) break; 564 Value *GEP = Builder.CreateGEP(V, Idx, "uglygep"); [all...] |
ValueTracking.cpp | 632 unsigned Idx = cast<ConstantInt>(Index)->getZExtValue(); 634 uint64_t Offset = SL->getElementOffset(Idx); [all...] |
/external/llvm/lib/CodeGen/ |
InlineSpiller.cpp | 686 SlotIndex Idx = LIS.getInstructionIndex(CopyMI); 687 VNInfo *VNI = SpillLI.getVNInfoAt(Idx.getRegSlot()); 688 assert(VNI && VNI->def == Idx.getRegSlot() && "Not defined by copy"); 718 VNInfo *OrigVNI = OrigLI.getVNInfoAt(Idx); 785 SlotIndex Idx = LIS.getInstructionIndex(MI); 786 if (LI->getVNInfoAt(Idx) != VNI) 793 VNInfo *DstVNI = DstLI.getVNInfoAt(Idx.getRegSlot()); 795 assert(DstVNI->def == Idx.getRegSlot() && "Wrong copy def slot"); 804 DEBUG(dbgs() << "Redundant spill " << Idx << '\t' << *MI); [all...] |
MachineLICM.cpp | [all...] |
MachineVerifier.cpp | 709 SlotIndex idx = Indexes->getInstructionIndex(MI); local 710 if (!(idx > lastIndex)) { 714 lastIndex = idx; [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
FastISel.cpp | 290 std::pair<unsigned, bool> FastISel::getRegForGEPIndex(const Value *Idx) { 291 unsigned IdxN = getRegForValue(Idx); 296 bool IdxNIsKill = hasTrivialKill(Idx); 300 EVT IdxVT = EVT::getEVT(Idx->getType(), /*HandleUnknown=*/false); 486 const Value *Idx = *OI; 488 unsigned Field = cast<ConstantInt>(Idx)->getZExtValue(); 506 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Idx)) { 530 // N = N + Idx * ElementSize; 532 std::pair<unsigned, bool> Pair = getRegForGEPIndex(Idx); [all...] |
ScheduleDAGRRList.cpp | 307 unsigned Idx = RegDefPos.GetIdx(); 309 const TargetRegisterClass *RC = TII->getRegClass(Desc, Idx, TRI, MF); [all...] |
/external/llvm/lib/IR/ |
ConstantFold.cpp | 620 Constant *Idx = CE->getOperand(1); 621 bool isOne = isa<ConstantInt>(Idx) && cast<ConstantInt>(Idx)->isOne(); 623 Idx = ConstantExpr::getCast(CastInst::getCastOpcode(Idx, true, 625 Idx, DestTy); 626 return ConstantExpr::getMul(C, Idx); 756 Constant *Idx) { 762 if (isa<UndefValue>(Idx)) 765 if (ConstantInt *CIdx = dyn_cast<ConstantInt>(Idx)) { [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
GCOVProfiling.cpp | 620 SmallVector<Value *, 2> Idx; 621 Idx.push_back(Builder.getInt64(0)); 622 Idx.push_back(Sel); 623 Value *Counter = Builder.CreateInBoundsGEP(Counters, Idx); [all...] |
/external/llvm/lib/Transforms/Scalar/ |
SCCP.cpp | 789 unsigned Idx = *IVI.idx_begin(); 794 if (i != Idx) { [all...] |
StructurizeCFG.cpp | 191 Value *buildCondition(BranchInst *Term, unsigned Idx, bool Invert); 349 Value *StructurizeCFG::buildCondition(BranchInst *Term, unsigned Idx, 355 if (Idx != (unsigned)Invert) 560 int Idx = Phi->getBasicBlockIndex(*FI); 561 assert(Idx != -1); 562 Phi->setIncomingValue(Idx, Updater.GetValueAtEndOfBlock(*FI));
|
/external/llvm/utils/TableGen/ |
AsmWriterEmitter.cpp | 171 for (unsigned idx = 0, e = UniqueOperandCommands.size(); idx != e; ++idx) 172 if (UniqueOperandCommands[idx] == Command) { 173 InstIdxs[i] = idx; 174 InstrsForCase[idx] += ", "; 175 InstrsForCase[idx] += Inst->CGI->TheDef->getName(); 323 unsigned Idx; 326 Idx = ~0U; 331 Idx = StringTable.get("") [all...] |
/external/clang/lib/CodeGen/ |
CodeGenFunction.cpp | 629 unsigned Idx = CurFnInfo->getReturnInfo().getInAllocaFieldIndex(); 632 llvm::Value *Addr = Builder.CreateStructGEP(EI, Idx); [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
CStringChecker.cpp | 290 DefinedOrUnknownSVal Idx = ER->getIndex().castAs<DefinedOrUnknownSVal>(); 292 ProgramStateRef StInBound = state->assumeInBound(Idx, Size, true); 293 ProgramStateRef StOutBound = state->assumeInBound(Idx, Size, false); [all...] |
/external/clang/utils/TableGen/ |
ClangAttrEmitter.cpp | 77 + std::string(type, 0, type.size()-1) + ">(F, Record[Idx++])") 78 .Case("TypeSourceInfo *", "GetTypeSourceInfo(F, Record, Idx)") 80 .Case("IdentifierInfo *", "GetIdentifierInfo(F, Record, Idx)") 81 .Default("Record[Idx++]"); 358 << "= ReadString(Record, Idx);\n"; 470 OS << " bool is" << getLowerName() << "Expr = Record[Idx++];\n"; 476 << "Ptr = GetTypeSourceInfo(F, Record, Idx);\n"; 566 OS << " unsigned " << getLowerName() << "Size = Record[Idx++];\n"; 669 << ">(Record[Idx++]));\n"; 756 OS << " unsigned " << getLowerName() << "Size = Record[Idx++];\n" [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
toy.cpp | [all...] |