/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 181 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 D | InstructionCombining.cpp | 1173 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 D | MipsFastISel.cpp | 495 if (StructType *STy = GTI.getStructTypeOrNull()) { 496 const StructLayout *SL = DL.getStructLayout(STy);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCFastISel.cpp | 354 if (StructType *STy = GTI.getStructTypeOrNull()) { 355 const StructLayout *SL = DL.getStructLayout(STy);
|
H A D | PPCISelLowering.cpp | 1405 } 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 D | InlineCost.cpp | 825 if (StructType *STy = GTI.getStructTypeOrNull()) { 827 const StructLayout *SL = DL.getStructLayout(STy);
|
H A D | ConstantFolding.cpp | 985 auto *STy = cast<StructType>(Ty); local 990 const StructLayout &SL = *DL.getStructLayout(STy); 1001 Ty = STy->getTypeAtIndex(ElIdx);
|
H A D | ScalarEvolution.cpp | 519 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 D | DwarfUnit.cpp | 657 else if (auto *STy = dyn_cast<DISubroutineType>(Ty)) 658 constructTypeDIE(TyDIE, STy);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolution.h | 598 const SCEV *getOffsetOfExpr(Type *IntTy, StructType *STy, unsigned FieldNo);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Constants.cpp | 2171 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 D | AttributorAttributes.cpp | 190 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 D | Execution.cpp | 1057 if (StructType *STy = I.getStructTypeOrNull()) { 1058 const StructLayout *SLO = getDataLayout().getStructLayout(STy);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMFastISel.cpp | 750 if (StructType *STy = GTI.getStructTypeOrNull()) { 751 const StructLayout *SL = DL.getStructLayout(STy);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 4500 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 D | SelectionDAGBuilder.cpp | 7803 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 D | CGBuiltin.cpp | 6691 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 D | CGDebugInfo.cpp | 2015 llvm::Metadata *STy = getOrCreateType(Context.IntTy, Unit); local 2016 llvm::DITypeRefArray SElements = DBuilder.getOrCreateTypeArray(STy);
|
H A D | CGExprScalar.cpp | 4881 if (auto *STy = GTI.getStructTypeOrNull()) { 4886 IntPtrTy, DL.getStructLayout(STy)->getElementOffset(FieldNo));
|
H A D | CodeGenModule.cpp | 4814 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 D | BitcodeReader.cpp | 2472 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 D | X86FastISel.cpp | 911 if (StructType *STy = GTI.getStructTypeOrNull()) { 912 const StructLayout *SL = DL.getStructLayout(STy);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 2815 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 D | CodeGenPrepare.cpp | 4353 if (StructType *STy = GTI.getStructTypeOrNull()) { 4354 const StructLayout *SL = DL.getStructLayout(STy);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64FastISel.cpp | 629 if (StructType *STy = GTI.getStructTypeOrNull()) { 630 const StructLayout *SL = DL.getStructLayout(STy);
|