Home
last modified time | relevance | path

Searched refs:getArraySize (Results 1 – 25 of 38) sorted by relevance

12

/external/clang/test/Analysis/
Dtest-variably-modified-types.c4 unsigned getArraySize(int *x) { in getArraySize() function
11 int mytype[getArraySize(x)]; in testVariablyModifiedTypes()
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
DVariableInfo.cpp85 for (int i = 0; i < type.getArraySize(); ++i) { in getVariableInfo()
106 varInfo.size = type.getArraySize(); in getBuiltInVariableInfo()
DTypes.h184 totalSize *= std::max(getArraySize(), getMaxArraySize()); in getObjectSize()
193 int getArraySize() const { return arraySize; } in getArraySize() function
DParseHelper.cpp526 if (type->isArray() && type->getArraySize() != function.getParamCount()) { in constructorErrorCheck()
781 if (variable->getType().getArraySize() > 0) { in arrayErrorCheck()
1360 if (index >= node->getType().getArraySize()) { in addConstArrayNode()
DOutputHLSL.cpp93 int arraySize = type.isArray() ? type.getArraySize() : 1; in vectorSize()
146 semanticIndex += type.isArray() ? type.getArraySize() : 1; in header()
1856 return "[" + str(type.getArraySize()) + "]"; in arrayString()
DOutputGLSL.cpp45 out << "[" << type.getArraySize() << "]"; in arrayBrackets()
Dglslang.y249 if ($1->getType().getArraySize() == 0) {
257 … ( $3->getAsConstantUnion()->getUnionArrayPointer()->getIConst() >= $1->getType().getArraySize()) {
265 if ($1->isArray() && $1->getType().getArraySize() == 0) {
/external/llvm/lib/Target/NVPTX/
DNVPTXAllocaHoisting.cpp29 if (allocaInst && isa<ConstantInt>(allocaInst->getArraySize())) { in runOnFunction()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp177 if (AI.getArraySize()->getType() != IntPtrTy) { in visitAllocaInst()
178 Value *V = Builder->CreateIntCast(AI.getArraySize(), in visitAllocaInst()
187 if (const ConstantInt *C = dyn_cast<ConstantInt>(AI.getArraySize())) { in visitAllocaInst()
213 } else if (isa<UndefValue>(AI.getArraySize())) { in visitAllocaInst()
231 AI.setOperand(0, ConstantInt::get(AI.getArraySize()->getType(), 1)); in visitAllocaInst()
DInstCombineCasts.cpp124 Amt = ConstantInt::get(AI.getArraySize()->getType(), Scale); in PromoteCastOfAllocation()
130 Value *Off = ConstantInt::get(AI.getArraySize()->getType(), in PromoteCastOfAllocation()
/external/javassist/src/main/javassist/compiler/ast/
DNewExpr.java62 public ASTList getArraySize() { return getArguments(); } in getArraySize() method in NewExpr
/external/clang/lib/AST/
DAPValue.cpp160 MakeArray(RHS.getArrayInitializedElts(), RHS.getArraySize()); in APValue()
269 if (I != getArraySize() - 1) OS << ", "; in dump()
272 OS << getArraySize() - getArrayInitializedElts() << " x "; in dump()
/external/clang/include/clang/AST/
DAPValue.h274 return getArrayInitializedElts() != getArraySize(); in hasArrayFiller()
288 unsigned getArraySize() const { in getArraySize() function
/external/llvm/lib/Transforms/Scalar/
DTailRecursionElimination.cpp143 !isa<ConstantInt>(AI->getArraySize())) in CheckForEscapingAllocas()
490 if (isa<ConstantInt>(AI->getArraySize())) in EliminateRecursiveTailCall()
DMemCpyOptimizer.cpp589 ConstantInt *srcArraySize = dyn_cast<ConstantInt>(srcAlloca->getArraySize()); in performCallSlotOptzn()
604 ConstantInt *destArraySize = dyn_cast<ConstantInt>(A->getArraySize()); in performCallSlotOptzn()
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp242 isa<ConstantInt>(cast<AllocaInst>(AfterAllocaInsPt)->getArraySize())) in lowerIncomingArguments()
302 if (isa<ConstantInt>(AI->getArraySize()) && BB == F.begin()) in lowerAcrossUnwindEdges()
/external/llvm/lib/Transforms/Utils/
DCloneFunction.cpp57 if (isa<ConstantInt>(AI->getArraySize())) in CloneBasicBlock()
290 if (isa<ConstantInt>(AI->getArraySize())) in CloneBlock()
DLowerInvoke.cpp289 isa<ConstantInt>(cast<AllocaInst>(AfterAllocaInsertPt)->getArraySize())) in splitLiveRangesLiveAcrossInvokes()
337 if (isa<ConstantInt>(AI->getArraySize()) && BB == F->begin()) in splitLiveRangesLiveAcrossInvokes()
DInlineFunction.cpp636 if (!isa<Constant>(AI->getArraySize())) in InlineFunction()
645 isa<Constant>(cast<AllocaInst>(I)->getArraySize())) { in InlineFunction()
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp426 Value *ArraySize = I.getArraySize(); in visitAllocaInst()
645 Value *ArraySize = I.getArraySize(); in visitAllocaInst()
DLint.cpp504 if (isa<ConstantInt>(I.getArraySize())) in visitAllocaInst()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp81 if (const ConstantInt *CUI = dyn_cast<ConstantInt>(AI->getArraySize())) { in set()
/external/clang/lib/CodeGen/
DCGExprCXX.cpp571 numElements = CGF.EmitScalarExpr(e->getArraySize()); in EmitCXXNewAllocSize()
581 = e->getArraySize()->getType()->isSignedIntegerOrEnumerationType(); in EmitCXXNewAllocSize()
/external/javassist/src/main/javassist/compiler/
DTypeChecker.java157 ASTList size = expr.getArraySize(); in atNewArrayExpr()
DMemberCodeGen.java312 ASTList size = expr.getArraySize(); in atNewArrayExpr()

12