Home
last modified time | relevance | path

Searched refs:StructTy (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DTarget.cpp130 unsigned LLVMElementAtOffset(LLVMTargetDataRef TD, LLVMTypeRef StructTy, in LLVMElementAtOffset() argument
132 StructType *STy = unwrap<StructType>(StructTy); in LLVMElementAtOffset()
136 unsigned long long LLVMOffsetOfElement(LLVMTargetDataRef TD, LLVMTypeRef StructTy, in LLVMOffsetOfElement() argument
138 StructType *STy = unwrap<StructType>(StructTy); in LLVMOffsetOfElement()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DTarget.h278 unsigned LLVMElementAtOffset(LLVMTargetDataRef TD, LLVMTypeRef StructTy,
284 LLVMTypeRef StructTy, unsigned Element);
DCore.h1303 void LLVMStructSetBody(LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes,
1311 unsigned LLVMCountStructElementTypes(LLVMTypeRef StructTy);
1323 void LLVMGetStructElementTypes(LLVMTypeRef StructTy, LLVMTypeRef *Dest);
1330 LLVMTypeRef LLVMStructGetTypeAtIndex(LLVMTypeRef StructTy, unsigned i);
1337 LLVMBool LLVMIsPackedStruct(LLVMTypeRef StructTy);
1344 LLVMBool LLVMIsOpaqueStruct(LLVMTypeRef StructTy);
1351 LLVMBool LLVMIsLiteralStruct(LLVMTypeRef StructTy);
2029 LLVMValueRef LLVMConstNamedStruct(LLVMTypeRef StructTy,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp796 StructType *StructTy = cast<StructType>(type); in isDenselyPacked() local
797 const StructLayout *Layout = DL.getStructLayout(StructTy); in isDenselyPacked()
799 for (unsigned i = 0, E = StructTy->getNumElements(); i < E; ++i) { in isDenselyPacked()
800 Type *ElTy = StructTy->getElementType(i); in isDenselyPacked()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp695 void LLVMStructSetBody(LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes, in LLVMStructSetBody() argument
698 unwrap<StructType>(StructTy)->setBody(Tys, Packed != 0); in LLVMStructSetBody()
701 unsigned LLVMCountStructElementTypes(LLVMTypeRef StructTy) { in LLVMCountStructElementTypes() argument
702 return unwrap<StructType>(StructTy)->getNumElements(); in LLVMCountStructElementTypes()
705 void LLVMGetStructElementTypes(LLVMTypeRef StructTy, LLVMTypeRef *Dest) { in LLVMGetStructElementTypes() argument
706 StructType *Ty = unwrap<StructType>(StructTy); in LLVMGetStructElementTypes()
712 LLVMTypeRef LLVMStructGetTypeAtIndex(LLVMTypeRef StructTy, unsigned i) { in LLVMStructGetTypeAtIndex() argument
713 StructType *Ty = unwrap<StructType>(StructTy); in LLVMStructGetTypeAtIndex()
717 LLVMBool LLVMIsPackedStruct(LLVMTypeRef StructTy) { in LLVMIsPackedStruct() argument
718 return unwrap<StructType>(StructTy)->isPacked(); in LLVMIsPackedStruct()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp808 StructType *StructTy = nullptr; in constructFunction() local
810 StructTy = StructType::get(M->getContext(), paramTy); in constructFunction()
812 paramTy.push_back(PointerType::getUnqual(StructTy)); in constructFunction()
938 StructTy, &*AI, Idx, "gep_" + inputs[i]->getName(), TI); in constructFunction()
939 RewriteVal = new LoadInst(StructTy->getElementType(i), GEP, in constructFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp781 Type *StructTy = cast<PointerType>(A->getType())->getElementType(); in performCallSlotOptzn() local
782 if (!StructTy->isSized()) { in performCallSlotOptzn()
789 uint64_t destSize = DL.getTypeAllocSize(StructTy); in performCallSlotOptzn()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h922 if (StructType* StructTy = dyn_cast<StructType>(DstTy)) in getInstructionLatency() local
923 DstTy = StructTy->getElementType(0); in getInstructionLatency()