/external/llvm/lib/Target/AArch64/ |
AArch64A57FPLoadBalancing.cpp | 143 void scanInstruction(MachineInstr *MI, unsigned Idx, 146 void maybeKillChain(MachineOperand &MO, unsigned Idx, 204 Chain(MachineInstr *MI, unsigned Idx, Color C) 206 StartInstIdx(Idx), LastInstIdx(Idx), KillInstIdx(0), 213 void add(MachineInstr *MI, unsigned Idx, Color C) { 215 LastInstIdx = Idx; 234 void setKill(MachineInstr *MI, unsigned Idx, bool Immutable) { 236 KillInstIdx = Idx; 340 unsigned Idx = 0 [all...] |
AArch64LoadStoreOptimizer.cpp | 541 assert(PairedRegOp < 2 && "Unexpected register operand idx."); 542 unsigned Idx = isPairedLdSt(MI) ? PairedRegOp : 0; 543 return MI->getOperand(Idx); 547 unsigned Idx = isPairedLdSt(MI) ? 2 : 1; 548 return MI->getOperand(Idx); 552 unsigned Idx = isPairedLdSt(MI) ? 3 : 2; 553 return MI->getOperand(Idx); [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonGenMux.cpp | 210 unsigned Idx = I2X.lookup(MI); 227 CI.TrueX = Idx; 229 CI.FalseX = Idx;
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSimplifyDemanded.cpp | [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
ThreadSanitizer.cpp | 413 int Idx = getMemoryAccessFuncIndex(Addr, DL); 414 if (Idx < 0) 447 OnAccessFunc = IsWrite ? TsanWrite[Idx] : TsanRead[Idx]; 449 OnAccessFunc = IsWrite ? TsanUnalignedWrite[Idx] : TsanUnalignedRead[Idx]; 511 int Idx = getMemoryAccessFuncIndex(Addr, DL); 512 if (Idx < 0) 514 const unsigned ByteSize = 1U << Idx; 520 CallInst *C = CallInst::Create(TsanAtomicLoad[Idx], Args) [all...] |
/external/llvm/lib/Transforms/Scalar/ |
StraightLineStrengthReduce.cpp | 94 Candidate(Kind CT, const SCEV *B, ConstantInt *Idx, Value *S, 96 : CandidateKind(CT), Base(B), Index(Idx), Stride(S), Ins(I), 174 // A helper function that scales Idx with ElementSize before invoking 176 void allocateCandidatesAndFindBasisForGEP(const SCEV *B, ConstantInt *Idx, 179 // Adds the given form <CT, B, Idx, S> to Candidates, and finds its immediate 182 ConstantInt *Idx, Value *S, 330 Candidate::Kind CT, const SCEV *B, ConstantInt *Idx, Value *S, 332 Candidate C(CT, B, Idx, S, I); 396 ConstantInt *Idx = nullptr; 397 if (match(RHS, m_Mul(m_Value(S), m_ConstantInt(Idx)))) { [all...] |
/external/llvm/lib/Transforms/Utils/ |
CodeExtractor.cpp | 364 Value *Idx[2]; 365 Idx[0] = Constant::getNullValue(Type::getInt32Ty(header->getContext())); 366 Idx[1] = ConstantInt::get(Type::getInt32Ty(header->getContext()), i); 369 StructTy, &*AI, Idx, "gep_" + inputs[i]->getName(), TI); 466 Value *Idx[2]; 467 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context)); 468 Idx[1] = ConstantInt::get(Type::getInt32Ty(Context), i); 470 StructArgTy, Struct, Idx, "gep_" + StructValues[i]->getName()); 491 Value *Idx[2]; 492 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context)) [all...] |
LowerSwitch.cpp | 176 unsigned Idx = 0, E = PN->getNumIncomingValues(); 178 for (; Idx != E; ++Idx) { 179 if (PN->getIncomingBlock(Idx) == OrigBB) { 180 PN->setIncomingBlock(Idx, NewBB); 188 for (++Idx; LocalNumMergedCases > 0 && Idx < E; ++Idx) 189 if (PN->getIncomingBlock(Idx) == OrigBB) { 190 Indices.push_back(Idx); [all...] |
/frameworks/compile/slang/ |
slang_backend.cpp | 687 llvm::Value *Idx[2]; 689 Idx[0] = 696 Idx[1] = llvm::ConstantInt::get( 701 Ptr = IB->CreateInBoundsGEP(HelperFunctionParameter, Idx); 783 auto addOperand = [&ExportReduceInfo](uint32_t Idx, llvm::Metadata *N) { 784 while (Idx > ExportReduceInfo.size()) 791 auto addString = [&addOperand, this](uint32_t Idx, const std::string &S, 794 addOperand(Idx, llvm::MDString::get(mLLVMContext, S)); 803 int Idx = 0; 805 addString(Idx++, (*I)->getNameReduce()) [all...] |
/art/runtime/gc/space/ |
region_space.h | 242 Region(size_t idx, uint8_t* begin, uint8_t* end) 243 : idx_(idx), begin_(begin), top_(begin), end_(end), 338 size_t Idx() const { 503 DCHECK_EQ(reg->Idx(), reg_idx);
|
/external/clang/lib/Analysis/ |
ThreadSafetyCommon.cpp | 887 unsigned Idx = BB ? BB->findPredecessorIndex(CurrentBB) : 0; 888 auto *Tm = new (Arena) til::Goto(BB, Idx); [all...] |
/external/clang/lib/Serialization/ |
GlobalModuleIndex.cpp | 58 static const char * const IndexFileName = "modules.idx"; 178 unsigned Idx = 0; 179 unsigned ID = Record[Idx++]; 189 Modules[ID].Size = Record[Idx++]; 190 Modules[ID].ModTime = Record[Idx++]; 193 unsigned NameLen = Record[Idx++]; 194 Modules[ID].FileName.assign(Record.begin() + Idx, 195 Record.begin() + Idx + NameLen); 196 Idx += NameLen; 199 unsigned NumDeps = Record[Idx++] [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
CallEvent.cpp | 96 unsigned Idx = 0; 99 I != E && Idx < NumOfArgs; ++I, ++Idx) { 100 if (NumOfArgs <= Idx) 104 if (getArgSVal(Idx).isZeroConstant()) 147 unsigned Idx = 0; 150 I != E; ++I, ++Idx) { 152 PreserveArgs.insert(Idx); 175 for (unsigned Idx = 0, Count = getNumArgs(); Idx != Count; ++Idx) [all...] |
/external/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 756 unsigned Idx = 0; 758 Arg.setName(Args[Idx++]);
|
/external/llvm/include/llvm/CodeGen/PBQP/ |
Graph.h | 78 AdjEdgeIdx Idx = AdjEdgeIds.size(); 80 return Idx; 83 void removeAdjEdgeId(Graph &G, NodeId ThisNId, AdjEdgeIdx Idx) { 86 // 2) Move last Edge down to Idx. 88 // If Idx == size() - 1 then the setAdjEdgeIdx and swap are 90 G.getEdge(AdjEdgeIds.back()).setAdjEdgeIdx(ThisNId, Idx); 91 AdjEdgeIds[Idx] = AdjEdgeIds.back();
|
/external/llvm/include/llvm/MC/ |
MCRegisterInfo.h | 338 unsigned getSubReg(unsigned Reg, unsigned Idx) const; 353 unsigned getSubRegIdxSize(unsigned Idx) const; 358 unsigned getSubRegIdxOffset(unsigned Idx) const; 569 uint16_t Idx = MCRI->get(Reg).RegUnitLaneMasks; 570 MaskListIter = &MCRI->RegUnitMaskSequences[Idx];
|
/external/llvm/include/llvm/Support/ |
OnDiskHashTable.h | 342 offset_type Idx = KeyHash & (NumBuckets - 1); 343 const unsigned char *Bucket = Buckets + sizeof(offset_type) * Idx;
|
/external/llvm/lib/CodeGen/ |
MachineFunction.cpp | 785 bool MachineJumpTableInfo::ReplaceMBBInJumpTable(unsigned Idx, 790 MachineJumpTableEntry &JTE = JumpTables[Idx]; [all...] |
SplitKit.cpp | 295 bool SplitAnalysis::isOriginalEndpoint(SlotIndex Idx) const { 299 LiveInterval::const_iterator I = Orig.find(Idx); 301 // Range containing Idx should begin at Idx. 302 if (I != Orig.end() && I->start <= Idx) 303 return I->start == Idx; 305 // Range does not contain Idx, previous must end at Idx. 306 return I != Orig.begin() && (--I)->end == Idx; 364 SlotIndex Idx) { [all...] |
TailDuplication.cpp | 475 unsigned Idx = 0; 479 Idx = i; 484 assert(Idx != 0); 485 MachineOperand &MO0 = II->getOperand(Idx); 491 for (unsigned i = II->getNumOperands()-2; i != Idx; i -= 2) { 499 Idx = 0; 501 // If Idx is set, the operands at Idx and Idx+1 must be removed. 517 if (Idx != 0) [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeDAG.cpp | 97 SDValue Idx, SDLoc dl); 99 SDValue Idx, SDLoc dl); 231 int Idx = Mask[i]; 233 if (Idx < 0) 236 NewMask.push_back(Idx * NumEltsGrowth + j); 598 PerformInsertVectorEltInMemory(SDValue Vec, SDValue Val, SDValue Idx, 602 SDValue Tmp3 = Idx; 608 // permute it into place, if the idx is a constant and if the idx is 642 ExpandINSERT_VECTOR_ELT(SDValue Vec, SDValue Val, SDValue Idx, SDLoc dl) [all...] |
LegalizeTypesGeneric.cpp | 241 // Extract the elements at 2 * Idx and 2 * Idx + 1 from the new vector. 242 SDValue Idx = N->getOperand(1); 244 Idx = DAG.getNode(ISD::ADD, dl, Idx.getValueType(), Idx, Idx); 245 Lo = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, NewVT, NewVec, Idx); 247 Idx = DAG.getNode(ISD::ADD, dl, Idx.getValueType(), Idx [all...] |
/external/llvm/lib/IR/ |
Type.cpp | 628 unsigned Idx = 630 assert(indexValid(Idx) && "Invalid structure index!"); 631 return STy->getElementType(Idx); 637 Type *CompositeType::getTypeAtIndex(unsigned Idx) const{ 639 assert(indexValid(Idx) && "Invalid structure index!"); 640 return STy->getElementType(Idx); 663 bool CompositeType::indexValid(unsigned Idx) const { 665 return Idx < STy->getNumElements();
|
/external/llvm/lib/Target/AArch64/InstPrinter/ |
AArch64InstPrinter.cpp | 616 unsigned Idx; 617 for (Idx = 0; Idx != array_lengthof(LdStNInstInfo); ++Idx) 618 if (LdStNInstInfo[Idx].Opcode == Opcode) 619 return &LdStNInstInfo[Idx]; [all...] |
/external/llvm/lib/Target/ARM/ |
ARMBaseRegisterInfo.cpp | 392 unsigned Idx = ConstantPool->getConstantPoolIndex(C, 4); 396 .addConstantPoolIndex(Idx) 422 getFrameIndexInstrOffset(const MachineInstr *MI, int Idx) const { 432 InstrOffs = MI->getOperand(Idx+1).getImm(); 437 const MachineOperand &OffOp = MI->getOperand(Idx+1); 445 ImmIdx = Idx+2; 452 ImmIdx = Idx+2; 459 ImmIdx = Idx+1;
|