Searched defs:Idx (Results 126 - 150 of 208) sorted by relevance

123456789

/external/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp962 unsigned Idx = 0; local
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;
H A Dtoy.cpp1333 unsigned Idx = 0; local
1334 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
1335 ++AI, ++Idx)
1336 AI->setName(Args[Idx]);
1345 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) {
1347 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
1353 NamedValues[Args[Idx]] = Alloca;
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp1514 unsigned Idx = 0; local
1515 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
1516 ++AI, ++Idx)
1517 AI->setName(Args[Idx]);
1526 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) {
1528 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
1534 NamedValues[Args[Idx]] = Alloca;
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp1191 unsigned Idx = 0; local
1192 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
1193 ++AI, ++Idx)
1194 AI->setName(Args[Idx]);
1203 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) {
1205 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
1211 NamedValues[Args[Idx]] = Alloca;
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp944 unsigned Idx = 0; local
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;
H A Dtoy.cpp1231 unsigned Idx = 0; local
1232 for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
1233 ++AI, ++Idx)
1234 AI->setName(Args[Idx]);
1243 for (unsigned Idx = 0, e = Args.size(); Idx != e; ++Idx, ++AI) {
1245 AllocaInst *Alloca = CreateEntryBlockAlloca(F, Args[Idx]);
1251 NamedValues[Args[Idx]] = Alloca;
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp1523 unsigned Idx = 0; local
1525 ++Idx;
1526 assert(Idx < Ops.size());
1527 while (const SCEVConstant *RHSC = dyn_cast<SCEVConstant>(Ops[Idx])) {
1539 --Idx;
1573 for (; Idx < Ops.size() && isa<SCEVTruncateExpr>(Ops[Idx]); ++Idx) {
1574 const SCEVTruncateExpr *Trunc = cast<SCEVTruncateExpr>(Ops[Idx]);
1625 while (Idx < Op
[all...]
H A DScalarEvolutionExpander.cpp524 Value *Idx = expandCodeFor(SE.getAddExpr(Ops), Ty); local
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");
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp64 static bool ConvertToString(ArrayRef<uint64_t> Record, unsigned Idx, argument
66 if (Idx > Record.size())
69 for (unsigned i = Idx, e = Record.size(); i != e; ++i)
266 void BitcodeReaderValueList::AssignValue(Value *V, unsigned Idx) { argument
267 if (Idx == size()) {
272 if (Idx >= size())
273 resize(Idx+1);
275 WeakVH &OldV = ValuePtrs[Idx];
284 ResolveConstants.push_back(std::make_pair(PHC, Idx));
295 Constant *BitcodeReaderValueList::getConstantFwdRef(unsigned Idx, argument
311 getValueFwdRef(unsigned Idx, Type *Ty) argument
411 AssignValue(Value *V, unsigned Idx) argument
435 getValueFwdRef(unsigned Idx) argument
676 uint64_t Idx = Record[1]; // Index of the object this attribute refers to. local
2543 Value *Vec, *Idx; local
2554 Value *Vec, *Elt, *Idx; local
2805 unsigned Idx = 0; local
2847 unsigned Idx = 0; local
[all...]
/external/llvm/lib/CodeGen/
H A DMachineVerifier.cpp969 SlotIndex Idx = LiveInts->getInstructionIndex(MI); local
970 if (MI->mayLoad() && !LI.liveAt(Idx.getRegSlot(true))) {
974 if (MI->mayStore() && !LI.liveAt(Idx.getRegSlot())) {
H A DRegisterCoalescer.cpp916 SlotIndex Idx = LIS->getInstructionIndex(CopyMI); local
918 if (SrcInt->liveAt(Idx))
921 if (DstInt->liveAt(Idx))
929 VNInfo *DeadVNI = DstInt->getVNInfoAt(Idx.getRegSlot());
938 SlotIndex Idx = LIS->getInstructionIndex(MI); local
939 if (DstInt->liveAt(Idx))
942 DEBUG(dbgs() << "\tnew undef: " << Idx << '\t' << *MI);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp290 std::pair<unsigned, bool> FastISel::getRegForGEPIndex(const Value *Idx) { argument
291 unsigned IdxN = getRegForValue(Idx);
296 bool IdxNIsKill = hasTrivialKill(Idx);
300 EVT IdxVT = EVT::getEVT(Idx->getType(), /*HandleUnknown=*/false);
486 const Value *Idx = *OI; local
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);
1586 uint32_t Idx) {
1584 FastEmitInst_extractsubreg(MVT RetVT, unsigned Op0, bool Op0IsKill, uint32_t Idx) argument
[all...]
H A DScheduleDAGRRList.cpp307 unsigned Idx = RegDefPos.GetIdx(); local
309 const TargetRegisterClass *RC = TII->getRegClass(Desc, Idx, TRI, MF);
H A DSelectionDAGISel.cpp1893 GetVBR(uint64_t Val, const unsigned char *MatcherTable, unsigned &Idx) { argument
1900 NextBits = MatcherTable[Idx++];
2536 unsigned Idx = 1; local
2539 unsigned CaseSize = MatcherTable[Idx++];
2541 CaseSize = GetVBR(CaseSize, MatcherTable, Idx);
2545 uint16_t Opc = MatcherTable[Idx++];
2546 Opc |= (unsigned short)MatcherTable[Idx++] << 8;
2549 OpcodeOffset[Opc] = Idx;
2550 Idx += CaseSize;
/external/llvm/lib/IR/
H A DAsmWriter.cpp1263 AttributeSet Attrs, unsigned Idx) {
1272 if (Attrs.hasAttributes(Idx))
1273 Out << ' ' << Attrs.getAsString(Idx);
1593 unsigned Idx = 0; local
1594 for (unsigned E = AS.getNumSlots(); Idx != E; ++Idx)
1595 if (AS.getSlotIndex(Idx) == AttributeSet::FunctionIndex)
1598 for (AttributeSet::iterator I = AS.begin(Idx), E = AS.end(Idx);
1637 unsigned Idx local
1262 writeParamOperand(const Value *Operand, AttributeSet Attrs, unsigned Idx) argument
1705 printArgument(const Argument *Arg, AttributeSet Attrs, unsigned Idx) argument
[all...]
H A DVerifier.cpp331 void VerifyAttributeTypes(AttributeSet Attrs, unsigned Idx, bool isFunction,
333 void VerifyParameterAttrs(AttributeSet Attrs, unsigned Idx, Type *Ty,
736 void Verifier::VerifyAttributeTypes(AttributeSet Attrs, unsigned Idx, argument
740 if (Attrs.getSlotIndex(I) == Idx) {
785 if (Idx == 0) {
800 void Verifier::VerifyParameterAttrs(AttributeSet Attrs, unsigned Idx, Type *Ty, argument
802 if (!Attrs.hasAttributes(Idx))
805 VerifyAttributeTypes(Attrs, Idx, false, V);
808 Assert1(!Attrs.hasAttribute(Idx, Attribute::ByVal) &&
809 !Attrs.hasAttribute(Idx, Attribut
879 unsigned Idx = Attrs.getSlotIndex(i); local
[all...]
/external/llvm/lib/Object/
H A DMachOObjectFile.cpp1255 size_t a, b, c, d, Idx; local
1267 Idx = Foo.rfind('_');
1268 if (Idx != Foo.npos && Foo.size() >= 2) {
1269 Suffix = Foo.slice(Idx, Foo.npos);
1270 Foo = Foo.slice(0, Idx);
1276 Idx = 0;
1278 Idx = b+1;
1279 F = Name.slice(Idx, Idx + Foo.size());
1280 DotFramework = Name.slice(Idx
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp229 unsigned Idx = MCP.getConstantPoolIndex(cast<Constant>(CFP), Align); local
232 ADRPReg).addConstantPoolIndex(Idx, 0, AArch64II::MO_PAGE);
238 .addConstantPoolIndex(Idx, 0, AArch64II::MO_PAGEOFF | AArch64II::MO_NC);
359 unsigned Idx = cast<ConstantInt>(Op)->getZExtValue(); local
360 TmpOffset += SL->getElementOffset(Idx);
/external/llvm/lib/Target/ARM/
H A DARMLoadStoreOptimizer.cpp689 int Idx = memOps[j].MBBI->findRegisterUseOperandIdx(Reg, true); local
690 assert(Idx >= 0 && "Cannot find killing operand");
691 memOps[j].MBBI->getOperand(Idx).setIsKill(false);
/external/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp327 unsigned Idx = cast<ConstantInt>(Op)->getZExtValue(); local
328 TmpOffset += SL->getElementOffset(Idx);
1821 unsigned Idx = MCP.getConstantPoolIndex(cast<Constant>(CFP), Align); local
1833 // For small code model, generate a LF[SD](0, LDtocCPT(Idx, X2)).
1837 .addConstantPoolIndex(Idx).addReg(PPC::X2);
1841 // Otherwise we generate LF[SD](Idx[lo], ADDIStocHA(X2, Idx)).
1843 TmpReg).addReg(PPC::X2).addConstantPoolIndex(Idx);
1849 TmpReg2).addConstantPoolIndex(Idx).addReg(TmpReg);
1854 .addConstantPoolIndex(Idx,
[all...]
H A DPPCISelDAGToDAG.cpp892 unsigned Idx = getCRIdxForSetCC(CC, Inv); local
906 SDValue Ops[] = { IntCR, getI32Imm((32-(3-Idx)) & 31),
1298 unsigned Idx = getCRIdxForSetCC(CC, Inv); local
1301 switch (Idx) {
/external/llvm/lib/Target/R600/
H A DR600ISelLowering.cpp1778 unsigned Idx = dyn_cast<ConstantSDNode>(NewBldVec[i].getOperand(1)) local
1780 if (i == Idx)
1781 isUnmovable[Idx] = true;
1787 unsigned Idx = dyn_cast<ConstantSDNode>(NewBldVec[i].getOperand(1)) local
1789 if (isUnmovable[Idx])
1791 // Swap i and Idx
1792 std::swap(NewBldVec[Idx], NewBldVec[i]);
1793 std::swap(RemapSwizzle[i], RemapSwizzle[Idx]);
1811 unsigned Idx = dyn_cast<ConstantSDNode>(Swz[i])->getZExtValue(); local
1812 if (SwizzleRemap.find(Idx) !
1819 unsigned Idx = dyn_cast<ConstantSDNode>(Swz[i])->getZExtValue(); local
[all...]
H A DSIISelLowering.cpp1545 static unsigned SubIdx2Lane(unsigned Idx) { argument
1546 switch (Idx) {
1617 for (unsigned i = 0, Idx = AMDGPU::sub0; i < 4; ++i) {
1623 SDValue Op = DAG.getTargetConstant(Idx, MVT::i32);
1626 switch (Idx) {
1628 case AMDGPU::sub0: Idx = AMDGPU::sub1; break;
1629 case AMDGPU::sub1: Idx = AMDGPU::sub2; break;
1630 case AMDGPU::sub2: Idx = AMDGPU::sub3; break;
H A DSIInstrInfo.cpp903 int Idx = VOP3Idx[i]; local
904 if (Idx == -1)
906 MachineOperand &MO = MI->getOperand(Idx);
926 legalizeOpWithMove(MI, Idx);
/external/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp308 Constant *Idx = ConstantInt::get(Ty, Offset); local
309 Constant *GAI = ConstantExpr::getGetElementPtr(GA, Idx);

Completed in 1850 milliseconds

123456789