Searched refs:STy (Results 51 - 75 of 76) sorted by relevance

1234

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp181 if (StructType *STy = dyn_cast<StructType>(EltTy))
182 EltTy = STy->getElementType(IdxVal);
442 if (StructType *STy = GTI.getStructTypeOrNull()) {
443 Offset += DL.getStructLayout(STy)->getElementOffset(CI->getZExtValue());
472 if (StructType *STy = GTI.getStructTypeOrNull()) {
473 Offset += DL.getStructLayout(STy)->getElementOffset(CI->getZExtValue());
H A DInstructionCombining.cpp1173 if (StructType *STy = dyn_cast<StructType>(Ty)) {
1174 const StructLayout *SL = DL.getStructLayout(STy);
1183 Ty = STy->getElementType(Elt);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp495 if (StructType *STy = GTI.getStructTypeOrNull()) {
496 const StructLayout *SL = DL.getStructLayout(STy);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp354 if (StructType *STy = GTI.getStructTypeOrNull()) {
355 const StructLayout *SL = DL.getStructLayout(STy);
H A DPPCISelLowering.cpp1405 } else if (StructType *STy = dyn_cast<StructType>(Ty)) {
1406 for (auto *EltTy : STy->elements()) {
15062 Type *STy = MemVT.getScalarType().getTypeForEVT(*DAG.getContext()); local
15063 Align ScalarABIAlignment = DAG.getDataLayout().getABITypeAlign(STy);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp825 if (StructType *STy = GTI.getStructTypeOrNull()) {
827 const StructLayout *SL = DL.getStructLayout(STy);
H A DConstantFolding.cpp985 auto *STy = cast<StructType>(Ty); local
990 const StructLayout &SL = *DL.getStructLayout(STy);
1001 Ty = STy->getTypeAtIndex(ElIdx);
H A DScalarEvolution.cpp519 if (StructType *STy = dyn_cast<StructType>(Ty))
520 if (!STy->isPacked() &&
525 STy->getNumElements() == 2 &&
526 STy->getElementType(0)->isIntegerTy(1)) {
527 AllocTy = STy->getElementType(1);
3285 if (StructType *STy = dyn_cast<StructType>(CurTy)) {
3289 const SCEV *FieldOffset = getOffsetOfExpr(IntIdxTy, STy, FieldNo);
3295 CurTy = STy->getTypeAtIndex(Index);
3519 StructType *STy,
3525 IntTy, getDataLayout().getStructLayout(STy)
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp657 else if (auto *STy = dyn_cast<DISubroutineType>(Ty))
658 constructTypeDIE(TyDIE, STy);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h598 const SCEV *getOffsetOfExpr(Type *IntTy, StructType *STy, unsigned FieldNo);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp2171 Constant *ConstantExpr::getOffsetOf(StructType* STy, unsigned FieldNo) { argument
2172 return getOffsetOf(STy, ConstantInt::get(Type::getInt32Ty(STy->getContext()),
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp190 if (auto *STy = dyn_cast<StructType>(Ty)) {
191 const StructLayout *SL = DL.getStructLayout(STy);
195 assert(Idx < STy->getNumElements() && "Offset calculation error!");
197 Ty = STy->getElementType(Idx);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1057 if (StructType *STy = I.getStructTypeOrNull()) {
1058 const StructLayout *SLO = getDataLayout().getStructLayout(STy);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFastISel.cpp750 if (StructType *STy = GTI.getStructTypeOrNull()) {
751 const StructLayout *SL = DL.getStructLayout(STy);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp4500 if (StructType *STy = dyn_cast<StructType>(Call.getType())) {
4502 getSimpleValueType(DL, STy->getElementType(ResNo));
4527 if (StructType *STy = dyn_cast<StructType>(OpTy))
4528 if (STy->getNumElements() == 1)
4529 OpTy = STy->getElementType(0);
H A DSelectionDAGBuilder.cpp7803 if (StructType *STy = dyn_cast<StructType>(OpTy))
7804 if (STy->getNumElements() == 1)
7805 OpTy = STy->getElementType(0);
8122 if (StructType *STy = dyn_cast<StructType>(Call.getType())) {
8124 DAG.getDataLayout(), STy->getElementType(ResNo));
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp6691 llvm::Type *STy = llvm::StructType::get(Int32Ty, Int32Ty);
6697 Address LdPtr = Builder.CreateBitCast(Tmp,llvm::PointerType::getUnqual(STy));
8666 llvm::Type *STy = llvm::StructType::get(Int64Ty, Int64Ty);
8671 Tmp = Builder.CreateBitCast(Tmp, llvm::PointerType::getUnqual(STy));
9892 auto *STy = llvm::FixedVectorType::get(VTy->getElementType(),
9894 Ops[2] = Builder.CreateBitCast(Ops[2], STy);
11662 llvm::Type *STy = llvm::StructType::get(Int32Ty, Int32Ty, Int32Ty,
11666 llvm::Constant *CpuModel = CGM.CreateRuntimeVariable(STy, "__cpu_model");
11689 llvm::Value *CpuValue = Builder.CreateGEP(STy, CpuModel, Idxs);
11735 llvm::Type *STy
[all...]
H A DCGDebugInfo.cpp2015 llvm::Metadata *STy = getOrCreateType(Context.IntTy, Unit); local
2016 llvm::DITypeRefArray SElements = DBuilder.getOrCreateTypeArray(STy);
H A DCGExprScalar.cpp4881 if (auto *STy = GTI.getStructTypeOrNull()) {
4886 IntPtrTy, DL.getStructLayout(STy)->getElementOffset(FieldNo));
H A DCodeGenModule.cpp4814 auto *STy = cast<llvm::StructType>(getTypes().ConvertType(CFTy)); local
4817 auto Fields = Builder.beginStruct(STy);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2472 if (StructType *STy = dyn_cast<StructType>(CurTy)) {
2475 STy->getElementType(i)));
2476 V = ConstantStruct::get(STy, Elts);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FastISel.cpp911 if (StructType *STy = GTI.getStructTypeOrNull()) {
912 const StructLayout *SL = DL.getStructLayout(STy);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp2815 StructType *STy = cast<StructType>(Entry.first);
2822 STy->setBody(Body, isPacked);
2823 ResultTy = STy;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4353 if (StructType *STy = GTI.getStructTypeOrNull()) {
4354 const StructLayout *SL = DL.getStructLayout(STy);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp629 if (StructType *STy = GTI.getStructTypeOrNull()) {
630 const StructLayout *SL = DL.getStructLayout(STy);

Completed in 752 milliseconds

1234