/external/llvm/lib/Transforms/Instrumentation/ |
EdgeProfiling.cpp | 77 Type *ATy = ArrayType::get(Type::getInt32Ty(M.getContext()), NumEdges); 79 new GlobalVariable(M, ATy, false, GlobalValue::InternalLinkage, 80 Constant::getNullValue(ATy), "EdgeProfCounters");
|
OptimalEdgeProfiling.cpp | 116 ArrayType *ATy = ArrayType::get(Int32, NumEdges); 118 new GlobalVariable(M, ATy, false, GlobalValue::InternalLinkage, 119 Constant::getNullValue(ATy), "OptEdgeProfCounters"); 218 Constant *init = ConstantArray::get(ATy, Initializer);
|
/external/llvm/include/llvm/IR/ |
DataLayout.h | 456 ArrayType *ATy = cast<ArrayType>(Ty); 457 return ATy->getNumElements() * 458 getTypeAllocSizeInBits(ATy->getElementType());
|
/external/llvm/lib/Analysis/ |
AliasSetTracker.cpp | 301 AliasSet::AccessType ATy = AliasSet::Refs; 302 if (!LI->isUnordered()) ATy = AliasSet::ModRef; 307 ATy, NewPtr); 314 AliasSet::AccessType ATy = AliasSet::Mods; 315 if (!SI->isUnordered()) ATy = AliasSet::ModRef; 321 ATy, NewPtr);
|
Lint.cpp | 426 Type *ATy = AI->getAllocatedType(); 427 if (TD && !AI->isArrayAllocation() && ATy->isSized()) 428 BaseSize = TD->getTypeAllocSize(ATy); 430 if (TD && BaseAlign == 0 && ATy->isSized()) 431 BaseAlign = TD->getABITypeAlignment(ATy);
|
ConstantFolding.cpp | 733 if (SequentialType *ATy = dyn_cast<SequentialType>(Ty)) { 734 if (ATy->isPointerTy()) { 740 if (!ATy->getElementType()->isSized()) 745 APInt ElemSize(BitWidth, TD->getTypeAllocSize(ATy->getElementType())); 759 Ty = ATy->getElementType(); [all...] |
/external/llvm/lib/CodeGen/ |
Analysis.cpp | 54 else if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 55 Type *EltTy = ATy->getElementType(); 56 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i) { 90 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 91 Type *EltTy = ATy->getElementType(); 93 for (unsigned i = 0, e = ATy->getNumElements(); i != e; ++i)
|
/external/llvm/lib/Target/ |
TargetLoweringObjectFile.cpp | 167 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) { 169 dyn_cast<IntegerType>(ATy->getElementType())) {
|
/external/llvm/lib/Target/XCore/ |
XCoreAsmPrinter.cpp | 85 if (ArrayType *ATy = dyn_cast<ArrayType>( 93 ".globound," + Twine(ATy->getNumElements()));
|
/external/llvm/lib/Transforms/IPO/ |
Inliner.cpp | 178 ArrayType *ATy = dyn_cast<ArrayType>(AI->getAllocatedType()); 179 if (ATy == 0 || AI->isArrayAllocation()) 183 std::vector<AllocaInst*> &AllocasForType = InlinedArrayAllocas[ATy];
|
GlobalOpt.cpp | 705 if (ArrayType *ATy = dyn_cast<ArrayType>(STy)) 706 NumElements = ATy->getNumElements(); [all...] |
/external/llvm/tools/lto/ |
LTOCodeGenerator.cpp | 371 llvm::ArrayType *ATy = llvm::ArrayType::get(i8PTy, asmUsed2.size()); 373 new llvm::GlobalVariable(*mergedModule, ATy, false, 375 llvm::ConstantArray::get(ATy, asmUsed2),
|
/external/llvm/lib/IR/ |
Type.cpp | 99 const ArrayType *ATy = dyn_cast<ArrayType>(this); 100 if (ATy) { 101 unsigned NumElements = ATy->getNumElements(); 102 return NumElements == 0 || ATy->getElementType()->isEmptyTy(); 162 if (const ArrayType *ATy = dyn_cast<ArrayType>(this)) 163 return ATy->getElementType()->isSized();
|
ConstantFold.cpp | 339 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 340 Constant *N = ConstantInt::get(DestTy, ATy->getNumElements()); 341 Constant *E = getFoldedSizeOf(ATy->getElementType(), DestTy, true); 398 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 399 Constant *C = ConstantExpr::getAlignOf(ATy->getElementType()); 463 if (ArrayType *ATy = dyn_cast<ArrayType>(Ty)) { 467 Constant *E = getFoldedSizeOf(ATy->getElementType(), DestTy, true); [all...] |
Value.cpp | 445 ArrayType *ATy = dyn_cast<ArrayType>(Ty); 446 if (!ATy) 450 if (CI->getZExtValue() >= ATy->getNumElements())
|
Verifier.cpp | 462 if (ArrayType *ATy = dyn_cast<ArrayType>(GV.getType())) { 463 StructType *STy = dyn_cast<StructType>(ATy->getElementType()); 478 if (ArrayType *ATy = dyn_cast<ArrayType>(GVType)) { 479 PointerType *PTy = dyn_cast<PointerType>(ATy->getElementType()); [all...] |
/external/clang/lib/Sema/ |
SemaStmtAsm.cpp | 417 const ArrayType *ATy = Context.getAsArrayType(T); 418 Info.Type = Context.getTypeSizeInChars(ATy->getElementType()).getQuantity();
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfCompileUnit.cpp | 823 DIType ATy(Args.getElement(i)); 824 if (!ATy.isType()) 826 addGlobalType(ATy); [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.cpp | [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
BitcodeReader.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineLoadStoreAlloca.cpp | 482 } else if (ArrayType *ATy = dyn_cast<ArrayType>(SrcPTy)) { 484 SrcPTy = ATy->getElementType();
|
InstCombineCalls.cpp | 46 } else if (ArrayType *ATy = dyn_cast<ArrayType>(T)) { 47 if (ATy->getNumElements() == 1) 48 T = ATy->getElementType(); [all...] |
/external/clang/lib/CodeGen/ |
CGExprConstant.cpp | [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXAsmPrinter.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
ScalarReplAggregates.cpp | [all...] |