| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | PatternInit.cpp | 78 auto *StructTy = cast<llvm::StructType>(Ty); in initializationPatternFor() local 79 llvm::SmallVector<llvm::Constant *, 8> Struct(StructTy->getNumElements()); in initializationPatternFor() 81 Struct[El] = initializationPatternFor(CGM, StructTy->getElementType(El)); in initializationPatternFor() 82 return llvm::ConstantStruct::get(StructTy, Struct); in initializationPatternFor()
|
| H A D | CGExprConstant.cpp | 554 InitListExpr *ILE, QualType StructTy);
|
| H A D | CGOpenMPRuntime.cpp | 1356 llvm::StructType *StructTy = RL.getLLVMType(); in buildStructValue() local 1364 Fields.add(llvm::Constant::getNullValue(StructTy->getElementType(I))); in buildStructValue() 12658 QualType StructTy = std::get<0>(It->getSecond()); in checkAndEmitLastprivateConditional() local 12663 CGF.ConvertTypeForMem(CGF.getContext().getPointerType(StructTy))); in checkAndEmitLastprivateConditional() 12665 CGF.MakeAddrLValue(StructAddr, StructTy, AlignmentSource::Decl); in checkAndEmitLastprivateConditional()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ |
| H A D | Target.cpp | 132 unsigned LLVMElementAtOffset(LLVMTargetDataRef TD, LLVMTypeRef StructTy, in LLVMElementAtOffset() argument 134 StructType *STy = unwrap<StructType>(StructTy); in LLVMElementAtOffset() 138 unsigned long long LLVMOffsetOfElement(LLVMTargetDataRef TD, LLVMTypeRef StructTy, in LLVMOffsetOfElement() argument 140 StructType *STy = unwrap<StructType>(StructTy); in LLVMOffsetOfElement()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Target.h | 278 unsigned LLVMElementAtOffset(LLVMTargetDataRef TD, LLVMTypeRef StructTy, 284 LLVMTypeRef StructTy, unsigned Element);
|
| H A D | Core.h | 1328 void LLVMStructSetBody(LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes, 1336 unsigned LLVMCountStructElementTypes(LLVMTypeRef StructTy); 1348 void LLVMGetStructElementTypes(LLVMTypeRef StructTy, LLVMTypeRef *Dest); 1355 LLVMTypeRef LLVMStructGetTypeAtIndex(LLVMTypeRef StructTy, unsigned i); 1362 LLVMBool LLVMIsPackedStruct(LLVMTypeRef StructTy); 1369 LLVMBool LLVMIsOpaqueStruct(LLVMTypeRef StructTy); 1376 LLVMBool LLVMIsLiteralStruct(LLVMTypeRef StructTy); 2085 LLVMValueRef LLVMConstNamedStruct(LLVMTypeRef StructTy,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | Coroutines.cpp | 676 auto *StructTy = in checkAsyncFuncPointer() local 678 if (StructTy->isOpaque() || !StructTy->isPacked() || in checkAsyncFuncPointer() 679 StructTy->getNumElements() != 2 || in checkAsyncFuncPointer() 680 !StructTy->getElementType(0)->isIntegerTy(32) || in checkAsyncFuncPointer() 681 !StructTy->getElementType(1)->isIntegerTy(32)) in checkAsyncFuncPointer()
|
| H A D | CoroFrame.cpp | 878 auto *StructTy = cast<StructType>(Ty); in solveDIType() local 880 for (unsigned I = 0; I < StructTy->getNumElements(); I++) { in solveDIType() 881 DIType *DITy = solveDIType(Builder, StructTy->getElementType(I), Layout, in solveDIType() 887 Layout.getStructLayout(StructTy)->getElementOffsetInBits(I), in solveDIType()
|
| H A D | CoroSplit.cpp | 462 auto *StructTy = cast<StructType>(AsyncSuspend->getType()); in getFunctionTypeFromAsyncSuspend() local 465 return FunctionType::get(VoidTy, StructTy->elements(), false); in getFunctionTypeFromAsyncSuspend()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/CodeGen/ |
| H A D | ConstantInitBuilder.h | 464 llvm::StructType *StructTy; 473 : super(builder, parent), StructTy(structTy) { in ConstantStructBuilderTemplateBase() 486 StructTy = structTy; in suggestType() 494 return AggregateBuilderBase::finishStruct(StructTy); in finishImpl()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | ArgumentPromotion.cpp | 788 StructType *StructTy = cast<StructType>(type); in isDenselyPacked() local 789 const StructLayout *Layout = DL.getStructLayout(StructTy); in isDenselyPacked() 791 for (unsigned i = 0, E = StructTy->getNumElements(); i < E; ++i) { in isDenselyPacked() 792 Type *ElTy = StructTy->getElementType(i); in isDenselyPacked()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Core.cpp | 735 return unwrap<StructType>(StructTy)->getNumElements(); in LLVMCountStructElementTypes() 739 StructType *Ty = unwrap<StructType>(StructTy); in LLVMGetStructElementTypes() 745 StructType *Ty = unwrap<StructType>(StructTy); in LLVMStructGetTypeAtIndex() 749 LLVMBool LLVMIsPackedStruct(LLVMTypeRef StructTy) { in LLVMIsPackedStruct() argument 750 return unwrap<StructType>(StructTy)->isPacked(); in LLVMIsPackedStruct() 753 LLVMBool LLVMIsOpaqueStruct(LLVMTypeRef StructTy) { in LLVMIsOpaqueStruct() argument 754 return unwrap<StructType>(StructTy)->isOpaque(); in LLVMIsOpaqueStruct() 757 LLVMBool LLVMIsLiteralStruct(LLVMTypeRef StructTy) { in LLVMIsLiteralStruct() argument 758 return unwrap<StructType>(StructTy)->isLiteral(); in LLVMIsLiteralStruct() 1466 LLVMValueRef LLVMConstNamedStruct(LLVMTypeRef StructTy, in LLVMConstNamedStruct() argument [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CodeExtractor.cpp | 855 StructType *StructTy = nullptr; in constructFunction() local 857 StructTy = StructType::get(M->getContext(), paramTy); in constructFunction() 859 paramTy.push_back(PointerType::getUnqual(StructTy)); in constructFunction() 1000 StructTy, &*AI, Idx, "gep_" + inputs[i]->getName(), TI); in constructFunction() 1001 RewriteVal = new LoadInst(StructTy->getElementType(i), GEP, in constructFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 1142 if (StructType *StructTy = dyn_cast<StructType>(DstTy)) in getInstructionLatency() local 1143 DstTy = StructTy->getElementType(0); in getInstructionLatency()
|