Searched refs:ElementTy (Results 1 - 12 of 12) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1698 Type *ElementTy = Ty;
1700 if (ElementTy->isPointerTy())
1702 if (SequentialType *SeqTy = dyn_cast<SequentialType>(ElementTy)) {
1703 ElementTy = SeqTy->getElementType();
1707 } else if (StructType *STy = dyn_cast<StructType>(ElementTy)) {
1710 ElementTy = *STy->element_begin();
1716 } while (ElementTy != TargetTy);
1717 if (ElementTy != TargetTy)
1757 Type *ElementTy = ArrTy->getElementType();
1758 APInt ElementSize(Offset.getBitWidth(), TD.getTypeAllocSize(ElementTy));
[all...]
/external/clang/lib/AST/
H A DMicrosoftMangle.cpp1410 void MicrosoftCXXNameMangler::mangleExtraDimensions(QualType ElementTy) { argument
1414 getASTContext().getAsConstantArrayType(ElementTy)) {
1416 ElementTy = CAT->getElementType();
1417 } else if (ElementTy->isVariableArrayType()) {
1419 getASTContext().getAsVariableArrayType(ElementTy);
1426 } else if (ElementTy->isDependentSizedArrayType()) {
1429 getASTContext().getAsDependentSizedArrayType(ElementTy);
1436 } else if (ElementTy->isIncompleteArrayType()) continue;
1439 mangleQualifiers(ElementTy.getQualifiers(), false);
1449 mangleType(ElementTy
[all...]
/external/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c342 CAMLprim LLVMTypeRef llvm_array_type(LLVMTypeRef ElementTy, value Count) { argument
343 return LLVMArrayType(ElementTy, Int_val(Count));
347 CAMLprim LLVMTypeRef llvm_pointer_type(LLVMTypeRef ElementTy) { argument
348 return LLVMPointerType(ElementTy, 0);
352 CAMLprim LLVMTypeRef llvm_qualified_pointer_type(LLVMTypeRef ElementTy, argument
354 return LLVMPointerType(ElementTy, Int_val(AddressSpace));
358 CAMLprim LLVMTypeRef llvm_vector_type(LLVMTypeRef ElementTy, value Count) { argument
359 return LLVMVectorType(ElementTy, Int_val(Count));
662 CAMLprim LLVMValueRef llvm_const_array(LLVMTypeRef ElementTy, argument
664 return LLVMConstArray(ElementTy, (LLVMValueRe
[all...]
/external/clang/lib/CodeGen/
H A DCGExprConstant.cpp1292 QualType ElementTy = CAT->getElementType(); local
1293 uint64_t ElementSize = CGM.getContext().getTypeSize(ElementTy);
1296 FillInNullDataMemberPointers(CGM, ElementTy, Elements,
1487 QualType ElementTy = CAT->getElementType(); local
1489 llvm::Constant *Element = EmitNullConstant(ElementTy);
H A DCGRecordLayoutBuilder.cpp1067 llvm::Type *ElementTy = ST->getTypeAtIndex(RL->getLLVMFieldNo(FD)); local
1088 getDataLayout().getTypeAllocSizeInBits(ElementTy) &&
H A DCGDebugInfo.cpp1577 llvm::DIType ElementTy = getOrCreateType(Ty->getElementType(), Unit); local
1590 return DBuilder.createVectorType(Size, Align, ElementTy, SubscriptArray);
/external/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp1854 QualType ElementTy = AT->getElementType(); local
1878 return setImplicitDefaultValue(B, R, ElementTy);
1892 const ElementRegion *ER = MRMgr.getElementRegion(ElementTy, Idx, R, Ctx);
1894 if (ElementTy->isStructureOrClassType())
1896 else if (ElementTy->isArrayType())
1905 NewB = setImplicitDefaultValue(NewB, R, ElementTy);
/external/llvm/lib/Target/X86/
H A DX86FastISel.cpp1715 Type *ElementTy = Ty->getElementType(); local
1716 unsigned FrameSize = TD.getTypeAllocSize(ElementTy);
1719 FrameAlign = TLI.getByValTypeAlignment(ElementTy);
/external/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp636 Type *ElementTy = Ty->getElementType(); local
637 return getDataLayout()->getTypeAllocSize(ElementTy);
/external/llvm/include/llvm-c/
H A DCore.h1440 LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy,
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp6421 Type *ElementTy = Ty->getElementType(); local
6422 Flags.setByValSize(getDataLayout()->getTypeAllocSize(ElementTy));
6429 FrameAlign = getByValTypeAlignment(ElementTy);
6639 Type *ElementTy = Ty->getElementType(); local
6640 Flags.setByValSize(TD->getTypeAllocSize(ElementTy));
6647 FrameAlign = TLI.getByValTypeAlignment(ElementTy);
/external/llvm/lib/IR/
H A DCore.cpp691 LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy, argument
694 return wrap(ConstantArray::get(ArrayType::get(unwrap(ElementTy), Length), V));

Completed in 1216 milliseconds