/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 1298 Type *ElementTy = Ty; in getNaturalGEPWithType() local 1300 if (ElementTy->isPointerTy()) in getNaturalGEPWithType() 1303 if (ArrayType *ArrayTy = dyn_cast<ArrayType>(ElementTy)) { in getNaturalGEPWithType() 1304 ElementTy = ArrayTy->getElementType(); in getNaturalGEPWithType() 1306 } else if (VectorType *VectorTy = dyn_cast<VectorType>(ElementTy)) { in getNaturalGEPWithType() 1307 ElementTy = VectorTy->getElementType(); in getNaturalGEPWithType() 1309 } else if (StructType *STy = dyn_cast<StructType>(ElementTy)) { in getNaturalGEPWithType() 1312 ElementTy = *STy->element_begin(); in getNaturalGEPWithType() 1318 } while (ElementTy != TargetTy); in getNaturalGEPWithType() 1319 if (ElementTy != TargetTy) in getNaturalGEPWithType() [all …]
|
/external/llvm/lib/Target/R600/ |
D | SITypeRewriter.cpp | 120 Type *ElementTy = Arg->getType()->getVectorElementType(); in visitCallInst() local 124 Types.push_back(ElementTy); in visitCallInst()
|
/external/clang/lib/AST/ |
D | MicrosoftMangle.cpp | 1773 QualType ElementTy(T, 0); in mangleArrayType() local 1777 getASTContext().getAsConstantArrayType(ElementTy)) { in mangleArrayType() 1779 ElementTy = CAT->getElementType(); in mangleArrayType() 1780 } else if (ElementTy->isVariableArrayType()) { in mangleArrayType() 1782 getASTContext().getAsVariableArrayType(ElementTy); in mangleArrayType() 1789 } else if (ElementTy->isDependentSizedArrayType()) { in mangleArrayType() 1792 getASTContext().getAsDependentSizedArrayType(ElementTy); in mangleArrayType() 1800 getASTContext().getAsIncompleteArrayType(ElementTy)) { in mangleArrayType() 1802 ElementTy = IAT->getElementType(); in mangleArrayType() 1811 mangleType(ElementTy, SourceRange(), QMM_Escape); in mangleArrayType()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 400 CAMLprim LLVMTypeRef llvm_array_type(LLVMTypeRef ElementTy, value Count) { in llvm_array_type() argument 401 return LLVMArrayType(ElementTy, Int_val(Count)); in llvm_array_type() 405 CAMLprim LLVMTypeRef llvm_pointer_type(LLVMTypeRef ElementTy) { in llvm_pointer_type() argument 406 return LLVMPointerType(ElementTy, 0); in llvm_pointer_type() 410 CAMLprim LLVMTypeRef llvm_qualified_pointer_type(LLVMTypeRef ElementTy, in llvm_qualified_pointer_type() argument 412 return LLVMPointerType(ElementTy, Int_val(AddressSpace)); in llvm_qualified_pointer_type() 416 CAMLprim LLVMTypeRef llvm_vector_type(LLVMTypeRef ElementTy, value Count) { in llvm_vector_type() argument 417 return LLVMVectorType(ElementTy, Int_val(Count)); in llvm_vector_type() 755 CAMLprim LLVMValueRef llvm_const_array(LLVMTypeRef ElementTy, in llvm_const_array() argument 757 return LLVMConstArray(ElementTy, (LLVMValueRef*) Op_val(ElementVals), in llvm_const_array()
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 1264 QualType ElementTy = CAT->getElementType(); in FillInNullDataMemberPointers() local 1265 uint64_t ElementSize = CGM.getContext().getTypeSize(ElementTy); in FillInNullDataMemberPointers() 1268 FillInNullDataMemberPointers(CGM, ElementTy, Elements, in FillInNullDataMemberPointers() 1453 QualType ElementTy = CAT->getElementType(); in EmitNullConstant() local 1455 llvm::Constant *Element = EmitNullConstant(ElementTy); in EmitNullConstant()
|
D | CGRecordLayoutBuilder.cpp | 735 llvm::Type *ElementTy = ST->getTypeAtIndex(RL->getLLVMFieldNo(FD)); in ComputeRecordLayout() local 756 getDataLayout().getTypeAllocSizeInBits(ElementTy) && in ComputeRecordLayout()
|
D | CGDebugInfo.cpp | 1806 llvm::DIType ElementTy = getOrCreateType(Ty->getElementType(), Unit); in CreateType() local 1819 return DBuilder.createVectorType(Size, Align, ElementTy, SubscriptArray); in CreateType()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | Store.h | 114 virtual SVal ArrayToPointer(Loc Array, QualType ElementTy) = 0;
|
D | ProgramState.h | 518 SVal ArrayToPointer(Loc Array, QualType ElementTy) { in ArrayToPointer() argument 519 return StoreMgr->ArrayToPointer(Array, ElementTy); in ArrayToPointer()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | RegionStore.cpp | 375 SVal ArrayToPointer(Loc Array, QualType ElementTy) override; 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/llvm/lib/Target/X86/ |
D | X86FastISel.cpp | 2759 Type *ElementTy = Ty->getElementType(); in DoSelectCall() local 2760 unsigned FrameSize = DL.getTypeAllocSize(ElementTy); in DoSelectCall() 2763 FrameAlign = TLI.getByValTypeAlignment(ElementTy); in DoSelectCall()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 7172 Type *ElementTy = Ty->getElementType(); in LowerCallTo() local 7173 Flags.setByValSize(getDataLayout()->getTypeAllocSize(ElementTy)); in LowerCallTo() 7180 FrameAlign = getByValTypeAlignment(ElementTy); in LowerCallTo() 7437 Type *ElementTy = Ty->getElementType(); in LowerArguments() local 7438 Flags.setByValSize(DL->getTypeAllocSize(ElementTy)); in LowerArguments() 7445 FrameAlign = TLI->getByValTypeAlignment(ElementTy); in LowerArguments()
|
/external/llvm/include/llvm-c/ |
D | Core.h | 1596 LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy,
|
/external/llvm/lib/IR/ |
D | Core.cpp | 793 LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy, in LLVMConstArray() argument 796 return wrap(ConstantArray::get(ArrayType::get(unwrap(ElementTy), Length), V)); in LLVMConstArray()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.cpp | 993 Type *ElementTy = Ty->getElementType(); in getSRetArgSize() local 994 return getDataLayout()->getTypeAllocSize(ElementTy); in getSRetArgSize()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 6783 MVT ElementTy = NarrowTy.getVectorElementType(); in tryExtendDUPToExtractHigh() local 6785 MVT NewDUPVT = MVT::getVectorVT(ElementTy, NumElems * 2); in tryExtendDUPToExtractHigh()
|