Searched defs:VP (Results 1 - 12 of 12) sorted by relevance

/external/clang/test/Sema/
H A Dunused-expr.c7 void bar(volatile int *VP, int *P, int A, argument
10 VP < P; // expected-warning {{expression result unused}}
20 *VP; // no warning.
22 VP[4]; // no warning.
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
H A Dt_vb_lighttmp.h116 GLfloat VP[3]; /* unit vector from vertex to light */ local
117 GLfloat n_dot_VP; /* n dot VP */
120 /* compute VP and attenuation */
123 COPY_3V(VP, light->_VP_inf_norm);
129 SUB_3V(VP, light->_Position, vertex);
131 d = (GLfloat) LEN_3FV( VP );
135 SELF_SCALE_SCALAR_3V(VP, invd);
144 GLfloat PV_dot_dir = - DOT3(VP, light->_NormSpotDirection);
160 n_dot_VP = DOT3( normal, VP );
186 /* specular term - cannibalize VP
293 GLfloat VP[3]; /* unit vector from vertex to light */ local
[all...]
H A Dt_rasterpos.c133 GLfloat VP[3]; /* vector from vertex to light pos */ local
139 COPY_3V(VP, light->_VP_inf_norm);
146 /* VP = vector from vertex pos to light[i].pos */
147 SUB_3V(VP, light->_Position, vertex);
148 /* d = length(VP) */
149 d = (GLfloat) LEN_3FV( VP );
151 /* normalize VP */
153 SELF_SCALE_SCALAR_3V(VP, invd);
162 GLfloat PV_dot_dir = - DOT3(VP, light->_NormSpotDirection);
177 n_dot_VP = DOT3( normal, VP );
[all...]
/external/mesa3d/src/mesa/tnl/
H A Dt_vb_lighttmp.h116 GLfloat VP[3]; /* unit vector from vertex to light */ local
117 GLfloat n_dot_VP; /* n dot VP */
120 /* compute VP and attenuation */
123 COPY_3V(VP, light->_VP_inf_norm);
129 SUB_3V(VP, light->_Position, vertex);
131 d = (GLfloat) LEN_3FV( VP );
135 SELF_SCALE_SCALAR_3V(VP, invd);
144 GLfloat PV_dot_dir = - DOT3(VP, light->_NormSpotDirection);
160 n_dot_VP = DOT3( normal, VP );
186 /* specular term - cannibalize VP
293 GLfloat VP[3]; /* unit vector from vertex to light */ local
[all...]
H A Dt_rasterpos.c133 GLfloat VP[3]; /* vector from vertex to light pos */ local
139 COPY_3V(VP, light->_VP_inf_norm);
146 /* VP = vector from vertex pos to light[i].pos */
147 SUB_3V(VP, light->_Position, vertex);
148 /* d = length(VP) */
149 d = (GLfloat) LEN_3FV( VP );
151 /* normalize VP */
153 SELF_SCALE_SCALAR_3V(VP, invd);
162 GLfloat PV_dot_dir = - DOT3(VP, light->_NormSpotDirection);
177 n_dot_VP = DOT3( normal, VP );
[all...]
/external/llvm/include/llvm/ADT/
H A DPointerUnion.h172 static inline PointerUnion getFromOpaqueValue(void *VP) { argument
174 V.Val = ValTy::getFromOpaqueValue(VP);
310 static inline PointerUnion3 getFromOpaqueValue(void *VP) { argument
312 V.Val = ValTy::getFromOpaqueValue(VP);
423 static inline PointerUnion4 getFromOpaqueValue(void *VP) { argument
425 V.Val = ValTy::getFromOpaqueValue(VP);
/external/llvm/include/llvm/Support/
H A DValueHandle.h62 PointerIntPair<Value*, 2> VP; member in class:llvm::ValueHandleBase
67 : PrevPair(0, Kind), Next(0), VP(0, 0) {}
69 : PrevPair(0, Kind), Next(0), VP(V, 0) {
70 if (isValid(VP.getPointer()))
74 : PrevPair(0, Kind), Next(0), VP(RHS.VP) {
75 if (isValid(VP.getPointer()))
79 if (isValid(VP.getPointer()))
84 if (VP.getPointer() == RHS) return RHS;
85 if (isValid(VP
281 Value *VP = ValueHandleBase::getValPtr(); local
[all...]
/external/clang/include/clang/Sema/
H A DOwnership.h176 void *VP = PtrTraits::getAsVoidPointer(V); local
177 PtrWithInvalid = reinterpret_cast<uintptr_t>(VP);
190 void *VP = reinterpret_cast<void *>(PtrWithInvalid & ~0x01); local
191 return PtrTraits::getFromVoidPointer(VP);
199 void *VP = PtrTraits::getAsVoidPointer(V); local
200 PtrWithInvalid = reinterpret_cast<uintptr_t>(VP);
205 void *VP = PtrTraits::getAsVoidPointer(RHS); local
206 PtrWithInvalid = reinterpret_cast<uintptr_t>(VP);
/external/llvm/lib/CodeGen/
H A DStackColoring.cpp490 std::pair<unsigned, DebugLoc> &VP = VI->second; local
491 if (SlotRemap.count(VP.first)) {
493 VP.first = SlotRemap[VP.first];
/external/llvm/lib/Linker/
H A DLinkModules.cpp1137 Value **VP, **Values = VP = new Value*[NumOps]; local
1138 for (unsigned i = 0, e = DstValue->getNumOperands(); i != e; ++i, ++VP)
1139 *VP = DstValue->getOperand(i);
1140 for (unsigned i = 0, e = SrcValue->getNumOperands(); i != e; ++i, ++VP)
1141 *VP = SrcValue->getOperand(i);
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp1305 const std::pair<unsigned, DebugLoc> &VP = VI->second; local
1307 LexicalScope *Scope = LScopes.findLexicalScope(VP.second);
1313 DbgVariable *AbsDbgVariable = findAbstractVariable(DV, VP.second);
1315 RegVar->setFrameIndex(VP.first);
1319 AbsDbgVariable->setFrameIndex(VP.first);
/external/llvm/lib/Transforms/Vectorize/
H A DBBVectorize.cpp1296 VPPair VP(P, ValuePair(*I, *J));
1297 ConnectedPairs[VP.first].push_back(VP.second);
1298 PairConnectionTypes.insert(VPPairWithType(VP, PairConnectionDirect));
1303 VPPair VP(P, ValuePair(*J, *I));
1304 ConnectedPairs[VP.first].push_back(VP.second);
1305 PairConnectionTypes.insert(VPPairWithType(VP, PairConnectionSwap));
1318 VPPair VP(P, ValuePair(*I, *J));
1319 ConnectedPairs[VP
1979 ValuePair VP = ValuePair(O1, O2); local
[all...]

Completed in 435 milliseconds