Home
last modified time | relevance | path

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

12

/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) {
DIntermediate.cpp1063 int arraySize = leftNodeType.getArraySize(); in CompareStructure()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp30 if (AI.getArraySize()->getType() != IntPtrTy) { in visitAllocaInst()
31 Value *V = Builder->CreateIntCast(AI.getArraySize(), in visitAllocaInst()
40 if (const ConstantInt *C = dyn_cast<ConstantInt>(AI.getArraySize())) { in visitAllocaInst()
68 } else if (isa<UndefValue>(AI.getArraySize())) { in visitAllocaInst()
DInstCombineCasts.cpp122 Amt = ConstantInt::get(AI.getArraySize()->getType(), Scale); in PromoteCastOfAllocation()
128 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/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()
DDeadStoreElimination.cpp261 if (ConstantInt *C = dyn_cast<ConstantInt>(A->getArraySize())) in getPointerSize()
/external/llvm/lib/Transforms/Utils/
DLowerInvoke.cpp304 isa<ConstantInt>(cast<AllocaInst>(AfterAllocaInsertPt)->getArraySize())) in splitLiveRangesLiveAcrossInvokes()
352 if (isa<ConstantInt>(AI->getArraySize()) && BB == F->begin()) in splitLiveRangesLiveAcrossInvokes()
DCloneFunction.cpp54 if (isa<ConstantInt>(AI->getArraySize())) in CloneBasicBlock()
248 if (isa<ConstantInt>(AI->getArraySize())) in CloneBlock()
DInlineFunction.cpp912 if (!isa<Constant>(AI->getArraySize())) in InlineFunction()
921 isa<Constant>(cast<AllocaInst>(I)->getArraySize())) { in InlineFunction()
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp203 isa<ConstantInt>(cast<AllocaInst>(AfterAllocaInsertPt)->getArraySize())) in splitLiveRangesAcrossInvokes()
251 if (isa<ConstantInt>(AI->getArraySize()) && BB == F->begin()) in splitLiveRangesAcrossInvokes()
/external/llvm/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp80 if (const ConstantInt *CUI = dyn_cast<ConstantInt>(AI->getArraySize())) { in set()
/external/llvm/lib/Analysis/
DLint.cpp501 if (isa<ConstantInt>(I.getArraySize())) in visitAllocaInst()
/external/clang/lib/CodeGen/
DCGExprCXX.cpp475 numElements = CGF.EmitScalarExpr(e->getArraySize()); in EmitCXXNewAllocSize()
485 = 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()
/external/llvm/lib/VMCore/
DAsmWriter.cpp1824 if (!AI->getArraySize() || AI->isArrayAllocation()) { in printInstruction()
1826 writeOperand(AI->getArraySize(), true); in printInstruction()
/external/clang/include/clang/AST/
DExprCXX.h1128 Expr *getArraySize() { in getArraySize() function
1131 const Expr *getArraySize() const { in getArraySize() function
/external/llvm/include/llvm/
DInstructions.h68 const Value *getArraySize() const { return getOperand(0); } in getArraySize() function
69 Value *getArraySize() { return getOperand(0); } in getArraySize() function

12