| /minix3/external/bsd/llvm/dist/clang/test/Analysis/ |
| H A D | test-variably-modified-types.c | 4 unsigned getArraySize(int *x) { in getArraySize() function 11 int mytype[getArraySize(x)]; in testVariablyModifiedTypes()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAllocaHoisting.cpp | 29 if (allocaInst && isa<ConstantInt>(allocaInst->getArraySize())) { in runOnFunction()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 171 if (AI.getArraySize()->getType() != IntPtrTy) { in visitAllocaInst() 172 Value *V = Builder->CreateIntCast(AI.getArraySize(), in visitAllocaInst() 181 if (const ConstantInt *C = dyn_cast<ConstantInt>(AI.getArraySize())) { in visitAllocaInst() 208 } else if (isa<UndefValue>(AI.getArraySize())) { in visitAllocaInst() 226 AI.setOperand(0, ConstantInt::get(AI.getArraySize()->getType(), 1)); in visitAllocaInst()
|
| H A D | InstCombineCasts.cpp | 132 Amt = ConstantInt::get(AI.getArraySize()->getType(), Scale); in PromoteCastOfAllocation() 138 Value *Off = ConstantInt::get(AI.getArraySize()->getType(), in PromoteCastOfAllocation()
|
| /minix3/external/bsd/llvm/dist/clang/lib/AST/ |
| H A D | APValue.cpp | 160 MakeArray(RHS.getArrayInitializedElts(), RHS.getArraySize()); in APValue() 304 if (I != getArraySize() - 1) OS << ", "; in dump() 307 OS << getArraySize() - getArrayInitializedElts() << " x "; in dump()
|
| H A D | StmtPrinter.cpp | 1823 if (Expr *Size = E->getArraySize()) { in VisitCXXNewExpr()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/AST/ |
| H A D | APValue.h | 280 return getArrayInitializedElts() != getArraySize(); in hasArrayFiller() 294 unsigned getArraySize() const { in getArraySize() function
|
| H A D | ExprCXX.h | 1701 Expr *getArraySize() { in getArraySize() function 1704 const Expr *getArraySize() const { in getArraySize() function
|
| /minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/ |
| H A D | SjLjEHPrepare.cpp | 246 isa<ConstantInt>(cast<AllocaInst>(AfterAllocaInsPt)->getArraySize())) in lowerIncomingArguments() 288 if (isa<ConstantInt>(AI->getArraySize()) && BB == F.begin()) in lowerAcrossUnwindEdges()
|
| H A D | StackProtector.cpp | 224 if (const auto *CI = dyn_cast<ConstantInt>(AI->getArraySize())) { in RequiresStackProtector()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 866 if (isa<Constant>(AI->getArraySize())) in fixupLineNumbers() 1061 if (!isa<Constant>(AI->getArraySize())) in InlineFunction() 1070 isa<Constant>(cast<AllocaInst>(I)->getArraySize())) { in InlineFunction() 1138 dyn_cast<ConstantInt>(AI->getArraySize())) { in InlineFunction()
|
| H A D | CloneFunction.cpp | 58 if (isa<ConstantInt>(AI->getArraySize())) in CloneBasicBlock() 347 if (isa<ConstantInt>(AI->getArraySize())) in CloneBlock()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Analysis/ |
| H A D | MemoryBuiltins.cpp | 456 Value *ArraySize = I.getArraySize(); in visitAllocaInst() 688 Value *ArraySize = I.getArraySize(); in visitAllocaInst()
|
| H A D | Lint.cpp | 573 if (isa<ConstantInt>(I.getArraySize())) in visitAllocaInst()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 612 ConstantInt *srcArraySize = dyn_cast<ConstantInt>(srcAlloca->getArraySize()); in performCallSlotOptzn() 627 ConstantInt *destArraySize = dyn_cast<ConstantInt>(A->getArraySize()); in performCallSlotOptzn()
|
| H A D | TailRecursionElimination.cpp | 714 if (isa<ConstantInt>(AI->getArraySize())) in EliminateRecursiveTailCall()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FunctionLoweringInfo.cpp | 104 const ConstantInt *CUI = cast<ConstantInt>(AI->getArraySize()); in set()
|
| /minix3/external/bsd/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 519 numElements = CGF.EmitScalarExpr(e->getArraySize()); in EmitCXXNewAllocSize() 529 = e->getArraySize()->getType()->isSignedIntegerOrEnumerationType(); in EmitCXXNewAllocSize()
|
| H A D | CGExprConstant.cpp | 1212 unsigned NumElements = Value.getArraySize(); in EmitConstantValue()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Analysis/IPA/ |
| H A D | InlineCost.cpp | 281 if (Constant *Size = SimplifiedValues.lookup(I.getArraySize())) { in visitAlloca()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/IR/ |
| H A D | AsmWriter.cpp | 2321 if (!AI->getArraySize() || AI->isArrayAllocation()) { in printInstruction() 2323 writeOperand(AI->getArraySize(), true); in printInstruction()
|
| H A D | Verifier.cpp | 2042 Assert1(AI.getArraySize()->getType()->isIntegerTy(), in visitAllocaInst()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 104 const Value *getArraySize() const { return getOperand(0); } in getArraySize() function 105 Value *getArraySize() { return getOperand(0); } in getArraySize() function
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| H A D | AddressSanitizer.cpp | 1955 Value *OldSize = IRB.CreateMul(AI->getArraySize(), in handleDynamicAllocaCall()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Analysis/ |
| H A D | CFG.cpp | 3465 Block = Visit(NE->getArraySize()); in VisitCXXNewExpr()
|