Home
last modified time | relevance | path

Searched refs:Num (Results 1 – 25 of 72) sorted by relevance

123

/external/llvm/unittests/Support/
DArrayRecyclerTest.cpp20 int Num; member
57 A1[0].Num = 21; in TEST()
58 A1[7].Num = 17; in TEST()
61 A2[0].Num = 121; in TEST()
62 A2[7].Num = 117; in TEST()
65 A3[0].Num = 221; in TEST()
66 A3[7].Num = 217; in TEST()
68 EXPECT_EQ(21, A1[0].Num); in TEST()
69 EXPECT_EQ(17, A1[7].Num); in TEST()
70 EXPECT_EQ(121, A2[0].Num); in TEST()
[all …]
/external/bison/src/
Dstate.h122 #define TRANSITION_SYMBOL(Transitions, Num) \ argument
123 (Transitions->states[Num]->accessing_symbol)
127 #define TRANSITION_IS_SHIFT(Transitions, Num) \ argument
128 (ISTOKEN (TRANSITION_SYMBOL (Transitions, Num)))
132 #define TRANSITION_IS_GOTO(Transitions, Num) \ argument
133 (!TRANSITION_IS_SHIFT (Transitions, Num))
137 #define TRANSITION_IS_ERROR(Transitions, Num) \ argument
138 (TRANSITION_SYMBOL (Transitions, Num) == errtoken->number)
143 #define TRANSITION_DISABLE(Transitions, Num) \ argument
144 (Transitions->states[Num] = NULL)
[all …]
/external/clang/test/CXX/temp/temp.decls/temp.friend/
Dp1.cpp4 template <typename T> struct Num { struct
8 Num(T value) : value_(value) {} in Num() argument
15 friend Num operator*(const Num &a, const Rep &n) { in operator *() argument
16 Num x = 0; in operator *()
23 friend Num operator+(const Num &a, const Num &b) { in operator +()
27 Num& operator+=(const Num& b) { in operator +=() argument
46 Num<int> left = -1; in calc1()
47 Num<int> right = 1; in calc1()
48 Num<int> result = left + right; in calc1()
53 Num<int> x = 3; in calc2()
[all …]
/external/llvm/test/Transforms/Reassociate/
Dlooptest.ll3 ; void test(unsigned Num, int *Array) {
6 ; for (i = 0; i != Num; ++i)
7 ; for (j = 0; j != Num; ++j)
8 ; for (k = 0; k != Num; ++k)
21 define void @test(i32 %Num, i32* %Array) {
23 %cond221 = icmp eq i32 0, %Num ; <i1> [#uses=3]
38 %cond224 = icmp ne i32 %reg118, %Num ; <i1> [#uses=1]
42 %cond225 = icmp ne i32 %reg119, %Num ; <i1> [#uses=1]
46 %cond226 = icmp ne i32 %reg120, %Num ; <i1> [#uses=1]
/external/llvm/test/CodeGen/Generic/
Dfwdtwice.ll15 define i32 @SumArray(i32 %Num) {
16 %Num.upgrd.1 = alloca i32 ; <i32*> [#uses=2]
20 store i32 %Num, i32* %Num.upgrd.1
21 %reg108 = load i32* %Num.upgrd.1 ; <i32> [#uses=1]
/external/llvm/include/llvm/Support/
DAllocator.h42 T *Allocate(size_t Num) {
43 return static_cast<T*>(malloc(sizeof(T)*Num));
162 T *Allocate(size_t Num) {
163 return static_cast<T*>(Allocate(Num * sizeof(T), AlignOf<T>::Alignment));
169 T *Allocate(size_t Num, size_t Alignment) {
172 return static_cast<T*>(Allocate(Num * EltSize, Alignment));
/external/llvm/lib/Target/PowerPC/
DPPCMachineFunctionInfo.h143 void setVarArgsNumGPR(unsigned Num) { VarArgsNumGPR = Num; } in setVarArgsNumGPR() argument
146 void setVarArgsNumFPR(unsigned Num) { VarArgsNumFPR = Num; } in setVarArgsNumFPR() argument
DPPCRegisterInfo.td30 field bits<5> Num = num;
35 field bits<5> Num = SubReg.Num;
42 field bits<10> Num = num;
47 field bits<5> Num = num;
52 field bits<5> Num = num;
57 field bits<3> Num = num;
63 field bits<5> Num = num;
/external/llvm/lib/CodeGen/
DSplitKit.h110 SlotIndex computeLastSplitPoint(unsigned Num);
140 SlotIndex getLastSplitPoint(unsigned Num) { in getLastSplitPoint() argument
142 if (LastSplitPoint[Num].first.isValid() && in getLastSplitPoint()
143 !LastSplitPoint[Num].second.isValid()) in getLastSplitPoint()
144 return LastSplitPoint[Num].first; in getLastSplitPoint()
145 return computeLastSplitPoint(Num); in getLastSplitPoint()
DBasicTargetTransformInfo.cpp221 unsigned Num = Ty->getVectorNumElements(); in getArithmeticInstrCost() local
225 return getScalarizationOverhead(Ty, true, true) + Num * Cost; in getArithmeticInstrCost()
305 unsigned Num = Dst->getVectorNumElements(); in getCastInstrCost() local
311 return getScalarizationOverhead(Dst, true, true) + Num * Cost; in getCastInstrCost()
352 unsigned Num = ValTy->getVectorNumElements(); in getCmpSelInstrCost() local
360 return getScalarizationOverhead(ValTy, true, false) + Num * Cost; in getCmpSelInstrCost()
445 unsigned Num = RetTy->getVectorNumElements(); in getIntrinsicInstrCost() local
448 return 10 * Cost * Num; in getIntrinsicInstrCost()
DMachineFunction.cpp237 MachineFunction::allocateMemRefsArray(unsigned long Num) { in allocateMemRefsArray() argument
238 return Allocator.Allocate<MachineMemOperand *>(Num); in allocateMemRefsArray()
245 unsigned Num = 0; in extractLoadMemRefs() local
248 ++Num; in extractLoadMemRefs()
251 MachineInstr::mmo_iterator Result = allocateMemRefsArray(Num); in extractLoadMemRefs()
270 return std::make_pair(Result, Result + Num); in extractLoadMemRefs()
277 unsigned Num = 0; in extractStoreMemRefs() local
280 ++Num; in extractStoreMemRefs()
283 MachineInstr::mmo_iterator Result = allocateMemRefsArray(Num); in extractStoreMemRefs()
302 return std::make_pair(Result, Result + Num); in extractStoreMemRefs()
DSpillPlacement.cpp183 unsigned Num = I->getNumber(); in runOnMachineFunction() local
184 BlockFrequency[Num] = Freq; in runOnMachineFunction()
185 nodes[bundles->getBundle(Num, 1)].Scale[0] += Freq; in runOnMachineFunction()
186 nodes[bundles->getBundle(Num, 0)].Scale[1] += Freq; in runOnMachineFunction()
/external/llvm/lib/Target/Hexagon/
DHexagonRegisterInfo.td17 field bits<5> Num;
22 field bits<5> Num;
28 let Num = num;
33 let Num = num;
40 let Num = num;
46 let Num = num;
51 let Num = num;
56 let Num = R.Num;
/external/llvm/lib/Support/
DYAMLTraits.cpp626 uint32_t Num = Val; in output() local
627 Out << Num; in output()
688 int32_t Num = Val; in output() local
689 Out << Num; in output()
772 uint8_t Num = Val; in output() local
773 Out << format("0x%02X", Num); in output()
787 uint16_t Num = Val; in output() local
788 Out << format("0x%04X", Num); in output()
802 uint32_t Num = Val; in output() local
803 Out << format("0x%08X", Num); in output()
[all …]
/external/e2fsprogs/resize/
Dtest_extent.in10 # Num=3, Size=10, Cursor=0, Sorted=1
17 # Num=3, Size=10, Cursor=0, Sorted=1
53 # Num=5, Size=10, Cursor=0, Sorted=1
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.h117 unsigned addBytes(unsigned char *Ptr, int Num, int Bytes) { in addBytes() argument
118 assert((curpos+Num) <= size); in addBytes()
120 for ( int i= 0; i < Num; ++i) { in addBytes()
124 for ( int i=Num; i < Bytes ; ++i) { in addBytes()
130 unsigned addZeros(int Num) { in addZeros() argument
131 assert((curpos+Num) <= size); in addZeros()
132 for ( int i= 0; i < Num; ++i) { in addZeros()
/external/llvm/include/llvm/ADT/
DDenseMap.h349 void setNumEntries(unsigned Num) { in setNumEntries() argument
350 static_cast<DerivedT *>(this)->setNumEntries(Num); in setNumEntries()
361 void setNumTombstones(unsigned Num) { in setNumTombstones() argument
362 static_cast<DerivedT *>(this)->setNumTombstones(Num); in setNumTombstones()
655 void setNumEntries(unsigned Num) { in setNumEntries() argument
656 NumEntries = Num; in setNumEntries()
662 void setNumTombstones(unsigned Num) { in setNumTombstones() argument
663 NumTombstones = Num; in setNumTombstones()
674 bool allocateBuckets(unsigned Num) { in allocateBuckets() argument
675 NumBuckets = Num; in allocateBuckets()
[all …]
/external/llvm/include/llvm/CodeGen/
DGCMetadata.h72 int Num; ///< Usually a frame index. member
77 GCRoot(int N, const Constant *MD) : Num(N), StackOffset(-1), Metadata(MD) {} in GCRoot()
121 void addStackRoot(int Num, const Constant *Metadata) { in addStackRoot() argument
122 Roots.push_back(GCRoot(Num, Metadata)); in addStackRoot()
DSlotIndexes.h447 getMBBRange(unsigned Num) const {
448 return MBBRanges[Num];
458 SlotIndex getMBBStartIdx(unsigned Num) const {
459 return getMBBRange(Num).first;
468 SlotIndex getMBBEndIdx(unsigned Num) const {
469 return getMBBRange(Num).second;
/external/clang/test/CodeGen/
D2002-07-14-MiscTests3.c32 char PtrFunc2(FuncPtr FuncTab[30], int Num) { in PtrFunc2() argument
33 return FuncTab[Num]('b'); in PtrFunc2()
111 int SumArray(int Array[], int Num) { in SumArray() argument
113 for (i = 0; i < Num; ++i) in SumArray()
/external/llvm/lib/Analysis/
DInstCount.cpp31 STATISTIC(Num ## OPCODE ## Inst, "Number of " #OPCODE " insts");
44 void visit##OPCODE(CLASS &) { ++Num##OPCODE##Inst; ++TotalInsts; }
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
D3d-cube.js29 var Num;
41 Num = dx / 2;
49 Num = dy / 2;
58 Num += NumAdd;
59 if (Num >= Den) {
60 Num -= Den;
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
D3d-cube.js29 var Num;
41 Num = dx / 2;
49 Num = dy / 2;
58 Num += NumAdd;
59 if (Num >= Den) {
60 Num -= Den;
/external/llvm/utils/TableGen/
DInstrInfoEmitter.cpp48 void emitRecord(const CodeGenInstruction &Inst, unsigned Num,
61 unsigned Num, raw_ostream &OS) { in PrintDefList() argument
62 OS << "static const uint16_t ImplicitList" << Num << "[] = { "; in PrintDefList()
298 void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num, in emitRecord() argument
310 OS << Num << ",\t" << MinOperands << ",\t" in emitRecord()
380 OS << " }, // Inst #" << Num << " = " << Inst.TheDef->getName() << "\n"; in emitRecord()
/external/llvm/lib/Target/MBlaze/
DMBlazeRegisterInfo.td16 field bits<5> Num;
22 field bits<15> Num;
28 let Num = num;
33 let Num = num;

123