Home
last modified time | relevance | path

Searched refs:ElementTy (Results 1 – 14 of 14) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1191 Type *ElementTy = Ty; in getNaturalGEPWithType() local
1193 if (ElementTy->isPointerTy()) in getNaturalGEPWithType()
1195 if (SequentialType *SeqTy = dyn_cast<SequentialType>(ElementTy)) { in getNaturalGEPWithType()
1196 ElementTy = SeqTy->getElementType(); in getNaturalGEPWithType()
1200 } else if (StructType *STy = dyn_cast<StructType>(ElementTy)) { in getNaturalGEPWithType()
1203 ElementTy = *STy->element_begin(); in getNaturalGEPWithType()
1209 } while (ElementTy != TargetTy); in getNaturalGEPWithType()
1210 if (ElementTy != TargetTy) in getNaturalGEPWithType()
1249 Type *ElementTy = ArrTy->getElementType(); in getNaturalGEPRecursively() local
1250 APInt ElementSize(Offset.getBitWidth(), DL.getTypeAllocSize(ElementTy)); in getNaturalGEPRecursively()
[all …]
/external/clang/lib/AST/
DMicrosoftMangle.cpp1486 QualType ElementTy(T, 0); in mangleArrayType() local
1490 getASTContext().getAsConstantArrayType(ElementTy)) { in mangleArrayType()
1492 ElementTy = CAT->getElementType(); in mangleArrayType()
1493 } else if (ElementTy->isVariableArrayType()) { in mangleArrayType()
1495 getASTContext().getAsVariableArrayType(ElementTy); in mangleArrayType()
1502 } else if (ElementTy->isDependentSizedArrayType()) { in mangleArrayType()
1505 getASTContext().getAsDependentSizedArrayType(ElementTy); in mangleArrayType()
1513 getASTContext().getAsIncompleteArrayType(ElementTy)) { in mangleArrayType()
1515 ElementTy = IAT->getElementType(); in mangleArrayType()
1524 mangleType(ElementTy, SourceRange(), QMM_Escape); in mangleArrayType()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c342 CAMLprim LLVMTypeRef llvm_array_type(LLVMTypeRef ElementTy, value Count) { in llvm_array_type() argument
343 return LLVMArrayType(ElementTy, Int_val(Count)); in llvm_array_type()
347 CAMLprim LLVMTypeRef llvm_pointer_type(LLVMTypeRef ElementTy) { in llvm_pointer_type() argument
348 return LLVMPointerType(ElementTy, 0); in llvm_pointer_type()
352 CAMLprim LLVMTypeRef llvm_qualified_pointer_type(LLVMTypeRef ElementTy, in llvm_qualified_pointer_type() argument
354 return LLVMPointerType(ElementTy, Int_val(AddressSpace)); in llvm_qualified_pointer_type()
358 CAMLprim LLVMTypeRef llvm_vector_type(LLVMTypeRef ElementTy, value Count) { in llvm_vector_type() argument
359 return LLVMVectorType(ElementTy, Int_val(Count)); in llvm_vector_type()
662 CAMLprim LLVMValueRef llvm_const_array(LLVMTypeRef ElementTy, in llvm_const_array() argument
664 return LLVMConstArray(ElementTy, (LLVMValueRef*) Op_val(ElementVals), in llvm_const_array()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DStore.h114 virtual SVal ArrayToPointer(Loc Array, QualType ElementTy) = 0;
DProgramState.h519 SVal ArrayToPointer(Loc Array, QualType ElementTy) { in ArrayToPointer() argument
520 return StoreMgr->ArrayToPointer(Array, ElementTy); in ArrayToPointer()
/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp380 SVal ArrayToPointer(Loc Array, QualType ElementTy);
1958 QualType ElementTy = AT->getElementType(); in bindArray() local
1982 return setImplicitDefaultValue(B, R, ElementTy); in bindArray()
1996 const ElementRegion *ER = MRMgr.getElementRegion(ElementTy, Idx, R, Ctx); in bindArray()
1998 if (ElementTy->isStructureOrClassType()) in bindArray()
2000 else if (ElementTy->isArrayType()) in bindArray()
2009 NewB = setImplicitDefaultValue(NewB, R, ElementTy); in bindArray()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp1277 QualType ElementTy = CAT->getElementType(); in FillInNullDataMemberPointers() local
1278 uint64_t ElementSize = CGM.getContext().getTypeSize(ElementTy); in FillInNullDataMemberPointers()
1281 FillInNullDataMemberPointers(CGM, ElementTy, Elements, in FillInNullDataMemberPointers()
1472 QualType ElementTy = CAT->getElementType(); in EmitNullConstant() local
1474 llvm::Constant *Element = EmitNullConstant(ElementTy); in EmitNullConstant()
DCGRecordLayoutBuilder.cpp1036 llvm::Type *ElementTy = ST->getTypeAtIndex(RL->getLLVMFieldNo(FD)); in ComputeRecordLayout() local
1057 getDataLayout().getTypeAllocSizeInBits(ElementTy) && in ComputeRecordLayout()
DCGDebugInfo.cpp1701 llvm::DIType ElementTy = getOrCreateType(Ty->getElementType(), Unit); in CreateType() local
1714 return DBuilder.createVectorType(Size, Align, ElementTy, SubscriptArray); in CreateType()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp1911 Type *ElementTy = Ty->getElementType(); in DoSelectCall() local
1912 unsigned FrameSize = TD.getTypeAllocSize(ElementTy); in DoSelectCall()
1915 FrameAlign = TLI.getByValTypeAlignment(ElementTy); in DoSelectCall()
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp931 Type *ElementTy = Ty->getElementType(); in getSRetArgSize() local
932 return getDataLayout()->getTypeAllocSize(ElementTy); in getSRetArgSize()
/external/llvm/include/llvm-c/
DCore.h1487 LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy,
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp6480 Type *ElementTy = Ty->getElementType(); in LowerCallTo() local
6481 Flags.setByValSize(getDataLayout()->getTypeAllocSize(ElementTy)); in LowerCallTo()
6488 FrameAlign = getByValTypeAlignment(ElementTy); in LowerCallTo()
6699 Type *ElementTy = Ty->getElementType(); in LowerArguments() local
6700 Flags.setByValSize(TD->getTypeAllocSize(ElementTy)); in LowerArguments()
6707 FrameAlign = TLI->getByValTypeAlignment(ElementTy); in LowerArguments()
/external/llvm/lib/IR/
DCore.cpp697 LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy, in LLVMConstArray() argument
700 return wrap(ConstantArray::get(ArrayType::get(unwrap(ElementTy), Length), V)); in LLVMConstArray()