Searched refs:Num (Results 1 - 25 of 74) sorted by relevance

123

/external/llvm/unittests/Support/
H A DArrayRecyclerTest.cpp20 int Num; member in struct:__anon26522::Object
57 A1[0].Num = 21;
58 A1[7].Num = 17;
61 A2[0].Num = 121;
62 A2[7].Num = 117;
65 A3[0].Num = 221;
66 A3[7].Num = 217;
68 EXPECT_EQ(21, A1[0].Num);
69 EXPECT_EQ(17, A1[7].Num);
70 EXPECT_EQ(121, A2[0].Num);
[all...]
/external/llvm/lib/Support/
H A DBranchProbability.cpp28 static uint64_t scale(uint64_t Num, uint32_t N, uint32_t D) { argument
32 if (!Num || D == N)
33 return Num;
35 // Split Num into upper and lower parts to multiply, then recombine.
36 uint64_t ProductHigh = (Num >> 32) * N;
37 uint64_t ProductLow = (Num & UINT32_MAX) * N;
67 uint64_t BranchProbability::scale(uint64_t Num) const {
68 return ::scale(Num, N, D);
71 uint64_t BranchProbability::scaleByInverse(uint64_t Num) const {
72 return ::scale(Num,
[all...]
/external/bison/src/
H A Dstate.h119 TRANSITIONS->states[Num]? Can be a token (amongst which the error
122 #define TRANSITION_SYMBOL(Transitions, Num) \
123 (Transitions->states[Num]->accessing_symbol)
125 /* Is the TRANSITIONS->states[Num] a shift? (as opposed to gotos). */
127 #define TRANSITION_IS_SHIFT(Transitions, Num) \
128 (ISTOKEN (TRANSITION_SYMBOL (Transitions, Num)))
130 /* Is the TRANSITIONS->states[Num] a goto?. */
132 #define TRANSITION_IS_GOTO(Transitions, Num) \
133 (!TRANSITION_IS_SHIFT (Transitions, Num))
135 /* Is the TRANSITIONS->states[Num] labelle
[all...]
/external/clang/test/CXX/temp/temp.decls/temp.friend/
H A Dp1.cpp4 template <typename T> struct Num { struct in namespace:test0
8 Num(T value) : value_(value) {} function in struct:test0::Num
15 friend Num operator*(const Num &a, const Rep &n) {
16 Num x = 0;
23 friend Num operator+(const Num &a, const Num &b) {
27 Num& operator+=(const Num
[all...]
/external/llvm/lib/Target/PowerPC/
H A DPPCMachineFunctionInfo.h162 void setVarArgsNumGPR(unsigned Num) { VarArgsNumGPR = Num; } argument
165 void setVarArgsNumFPR(unsigned Num) { VarArgsNumFPR = Num; } argument
/external/llvm/include/llvm/Support/
H A DBranchProbability.h55 /// Scales \c Num. Guarantees full precision. Returns the floor of the
58 /// \return \c Num times \c this.
59 uint64_t scale(uint64_t Num) const;
63 /// Scales \c Num by the inverse of \c this. Guarantees full precision.
66 /// \return \c Num divided by \c this.
67 uint64_t scaleByInverse(uint64_t Num) const;
/external/llvm/lib/Analysis/
H A DInstCount.cpp32 STATISTIC(Num ## OPCODE ## Inst, "Number of " #OPCODE " insts");
45 void visit##OPCODE(CLASS &) { ++Num##OPCODE##Inst; ++TotalInsts; }
/external/llvm/unittests/ADT/
H A DPointerIntPairTest.cpp53 static inline void *getAsVoidPointer(Fixnum31 Num) { argument
54 return reinterpret_cast<void *>(Num.Value << NumLowBitsAvailable);
/external/clang/test/CodeGen/
H A D2002-07-14-MiscTests3.c32 char PtrFunc2(FuncPtr FuncTab[30], int Num) { argument
33 return FuncTab[Num]('b');
111 int SumArray(int Array[], int Num) { argument
113 for (i = 0; i < Num; ++i)
/external/llvm/include/llvm/CodeGen/
H A DGCMetadata.h74 int Num; ///< Usually a frame index. member in struct:llvm::GCRoot
79 GCRoot(int N, const Constant *MD) : Num(N), StackOffset(-1), Metadata(MD) {}
120 /// addStackRoot - Registers a root that lives on the stack. Num is the
123 void addStackRoot(int Num, const Constant *Metadata) { argument
124 Roots.push_back(GCRoot(Num, Metadata));
132 /// addSafePoint - Notes the existence of a safe point. Num is the ID of the
/external/llvm/lib/CodeGen/
H A DSplitKit.h111 SlotIndex computeLastSplitPoint(unsigned Num);
140 /// in the basic block numbered Num.
141 SlotIndex getLastSplitPoint(unsigned Num) { argument
143 if (LastSplitPoint[Num].first.isValid() &&
144 !LastSplitPoint[Num].second.isValid())
145 return LastSplitPoint[Num].first;
146 return computeLastSplitPoint(Num);
H A DBasicTargetTransformInfo.cpp322 unsigned Num = Ty->getVectorNumElements(); local
326 return getScalarizationOverhead(Ty, true, true) + Num * Cost;
428 unsigned Num = Dst->getVectorNumElements(); local
434 return getScalarizationOverhead(Dst, true, true) + Num * Cost;
476 unsigned Num = ValTy->getVectorNumElements(); local
484 return getScalarizationOverhead(ValTy, true, false) + Num * Cost;
609 unsigned Num = RetTy->getVectorNumElements(); local
612 return 10 * Cost * Num;
H A DGCMetadata.cpp143 OS << "\t" << RI->Num << "\t" << RI->StackOffset << "[sp]\n";
154 OS << " " << RI->Num;
/external/llvm/utils/TableGen/
H A DInstrInfoEmitter.cpp55 void emitRecord(const CodeGenInstruction &Inst, unsigned Num,
76 unsigned Num, raw_ostream &OS) {
77 OS << "static const uint16_t ImplicitList" << Num << "[] = { "; local
387 unsigned Num = 0; local
392 emitRecord(*Inst, Num++, InstrInfo, EmittedLists, OperandInfoIDs, OS);
403 Num = 0;
406 if (Num % 8 == 0)
409 ++Num;
461 void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num, argument
473 OS << Num << ",\
75 PrintDefList(const std::vector<Record*> &Uses, unsigned Num, raw_ostream &OS) argument
582 unsigned Num = 0; local
[all...]
/external/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp72 // LLVM register Num, which has kind Kind. In some ways it might be
83 unsigned Num; member in struct:__anon26144::SystemZOperand::RegOp
133 createReg(RegisterKind Kind, unsigned Num, SMLoc StartLoc, SMLoc EndLoc) { argument
136 Op->Reg.Num = Num;
140 createAccessReg(unsigned Num, SMLoc StartLoc, SMLoc EndLoc) { argument
142 Op->AccessReg = Num;
182 return Reg.Num;
307 unsigned Num; member in struct:__anon26144::SystemZAsmParser::Register
438 if (Name.substr(1).getAsInteger(10, Reg.Num))
[all...]
/external/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.h111 unsigned addBytes(unsigned char *Ptr, int Num, int Bytes) { argument
112 assert((curpos + Num) <= size);
114 for (int i = 0; i < Num; ++i) {
118 for (int i = Num; i < Bytes; ++i) {
124 unsigned addZeros(int Num) { argument
125 assert((curpos + Num) <= size);
126 for (int i = 0; i < Num; ++i) {
/external/llvm/lib/Target/AArch64/
H A DAArch64BranchRelaxation.cpp112 unsigned Num = MBB.getNumber(); local
113 assert(BlockInfo[Num].Offset % (1u << Align) == 0);
114 assert(!Num || BlockInfo[PrevNum].postOffset() <= BlockInfo[Num].Offset);
115 PrevNum = Num;
194 unsigned Num = MBB.getNumber(); local
195 if (!Num) // block zero is never changed from offset zero.
200 BlockInfo[Num].Offset = BlockInfo[PrevNum].postOffset(LogAlign);
201 PrevNum = Num;
/external/llvm/include/llvm/ADT/
H A DDenseMap.h348 void setNumEntries(unsigned Num) { argument
349 static_cast<DerivedT *>(this)->setNumEntries(Num);
360 void setNumTombstones(unsigned Num) { argument
361 static_cast<DerivedT *>(this)->setNumTombstones(Num);
647 void setNumEntries(unsigned Num) { argument
648 NumEntries = Num;
654 void setNumTombstones(unsigned Num) { argument
655 NumTombstones = Num;
666 bool allocateBuckets(unsigned Num) { argument
667 NumBuckets = Num;
911 setNumEntries(unsigned Num) argument
963 allocateBuckets(unsigned Num) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/program/
H A Dprog_optimize.c850 GLuint Num; member in struct:interval_list
858 list->Intervals[list->Num++] = *inv;
867 GLint i = list->Num - 1;
873 list->Num++;
878 for (i = 0; i + 1 < list->Num; i++) {
892 for (k = 0; k < list->Num; k++) {
897 while (k < list->Num - 1) {
901 list->Num--;
927 qsort(list->Intervals, list->Num, sizeof(struct interval), compare_start);
931 for (i = 0; i + 1 < list->Num;
[all...]
/external/mesa3d/src/mesa/program/
H A Dprog_optimize.c850 GLuint Num; member in struct:interval_list
858 list->Intervals[list->Num++] = *inv;
867 GLint i = list->Num - 1;
873 list->Num++;
878 for (i = 0; i + 1 < list->Num; i++) {
892 for (k = 0; k < list->Num; k++) {
897 while (k < list->Num - 1) {
901 list->Num--;
927 qsort(list->Intervals, list->Num, sizeof(struct interval), compare_start);
931 for (i = 0; i + 1 < list->Num;
[all...]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
H A D3d-cube.js29 var Num;
41 Num = dx / 2;
49 Num = dy / 2;
58 Num += NumAdd;
59 if (Num >= Den) {
60 Num -= Den;
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
H A D3d-cube.js29 var Num;
41 Num = dx / 2;
49 Num = dy / 2;
58 Num += NumAdd;
59 if (Num >= Den) {
60 Num -= Den;
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
H A D3d-cube.js29 var Num;
41 Num = dx / 2;
49 Num = dy / 2;
58 Num += NumAdd;
59 if (Num >= Den) {
60 Num -= Den;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DSIGenRegisterInfo.pl63 field bits<8> Num;
65 let Num = num;
70 field bits<9> Num;
72 let Num = num;
/external/mesa3d/src/gallium/drivers/radeon/
H A DSIGenRegisterInfo.pl63 field bits<8> Num;
65 let Num = num;
70 field bits<9> Num;
72 let Num = num;

Completed in 4914 milliseconds

123