Home
last modified time | relevance | path

Searched refs:SType (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/llvm/test/Feature/
H A Dconstexpr.ll51 %SType = type { i32 , {float, {i8} }, i64 } ;; struct containing struct
54 @S1 = global %SType* null ;; Global initialized to NULL
55 @S2c = constant %SType { i32 1, {float,{i8}} {float 2.0, {i8} {i8 3}}, i64 4}
59 @S1ptr = global %SType** @S1 ;; Ref. to global S1
60 @S2 = global %SType* @S2c ;; Ref. to constant S2
64 @S1fld1a = global float* getelementptr (%SType, %SType* @S2c, i64 0, i32 1, i32 0)
66 @S1fld1b = global float* getelementptr (%SType, %SType* @S2c, i64 0, i32 1, i32 0)
71 @S2fld3 = global i8* getelementptr (%SType, %SType* @S2c, i64 0, i32 1, i32 1, i32 0)
/llvm-project-15.0.7/llvm/test/Integer/
H A Dconstexpr_bt.ll53 %SType = type { i33 , {float, {i8} }, i64 } ;; struct containing struct
56 @S1 = global %SType* null ;; Global initialized to NULL
57 @S2c = constant %SType { i33 1, {float,{i8}} {float 2.0, {i8} {i8 3}}, i64 4}
61 @S1ptr = global %SType** @S1 ;; Ref. to global S1
62 @S2 = global %SType* @S2c ;; Ref. to constant S2
66 @S1fld1a = global float* getelementptr (%SType, %SType* @S2c, i64 0, i32 1, i32 0)
68 @S1fld1b = global float* getelementptr (%SType, %SType* @S2c, i64 0, i32 1, i32 0)
73 @S2fld3 = global i8* getelementptr (%SType, %SType* @S2c, i64 0, i32 1, i32 1, i32 0)
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.cpp423 return SType->isOpaque() && SType->hasName() && in isOpenCLBuiltinType()
424 SType->getName().startswith("opencl."); in isOpenCLBuiltinType()
427 static bool isSPIRVBuiltinType(const StructType *SType) { in isSPIRVBuiltinType() argument
428 return SType->isOpaque() && SType->hasName() && in isSPIRVBuiltinType()
429 SType->getName().startswith("spirv."); in isSPIRVBuiltinType()
437 if (auto SType = dyn_cast<StructType>(Ty)) in isSpecialType() local
438 return isOpenCLBuiltinType(SType) || isSPIRVBuiltinType(SType); in isSpecialType()
535 if (auto SType = dyn_cast<StructType>(Ty)) { in createSPIRVType() local
536 if (SType->isOpaque()) in createSPIRVType()
537 return getOpTypeOpaque(SType, MIRBuilder); in createSPIRVType()
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Duse-auto-new-remove-stars.cpp41 struct SType {} *stype = new SType; in auto_new() struct
H A Duse-auto-new.cpp46 struct SType {} *stype = new SType; in auto_new() struct
/llvm-project-15.0.7/llvm/lib/Target/M68k/GISel/
H A DM68kCallLowering.cpp59 LLT SType = LLT::scalar(DL.getPointerSizeInBits(0)); in getStackAddress() local
62 auto OffsetReg = MIRBuilder.buildConstant(SType, Offset); in getStackAddress()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86CallLowering.cpp95 LLT SType = LLT::scalar(DL.getPointerSizeInBits(0)); in getStackAddress() local
99 auto OffsetReg = MIRBuilder.buildConstant(SType, Offset); in getStackAddress()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp1037 auto *SType = dyn_cast<IntegerType>(S->getType()); in isKnownLessThan() local
1039 if (!SType || !SizeType) in isKnownLessThan()
1042 (SType->getBitWidth() >= SizeType->getBitWidth()) ? SType : SizeType; in isKnownLessThan()
3392 if (auto *SType = dyn_cast<IntegerType>(S->getType())) { in tryDelinearizeFixedSize() local
3394 ConstantInt::get(SType, DimensionSizes[I - 1], false)); in tryDelinearizeFixedSize()
/llvm-project-15.0.7/llvm/lib/TableGen/
H A DTGParser.cpp1023 StringRecTy *SType = dyn_cast<StringRecTy>(LHSt->getType()); in ParseOperation() local
1025 if (!LType && !SType && !DType) { in ParseOperation()
1131 StringRecTy *SType = dyn_cast<StringRecTy>(ExprType->getType()); in ParseOperation() local
1132 if (!SType) { in ParseOperation()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprConstant.cpp1004 llvm::StructType *SType = in EmitArrayConstant() local
1006 return llvm::ConstantStruct::get(SType, Elements); in EmitArrayConstant()
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DELFDumper.cpp3556 static void printRelocHeaderFields(formatted_raw_ostream &OS, unsigned SType) { in printRelocHeaderFields() argument
3557 bool IsRela = SType == ELF::SHT_RELA || SType == ELF::SHT_ANDROID_RELA; in printRelocHeaderFields()
3558 bool IsRelr = SType == ELF::SHT_RELR || SType == ELF::SHT_ANDROID_RELR; in printRelocHeaderFields()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp2573 unsigned SType = 0; in lowerATOMIC_FENCE() local
2576 DAG.getConstant(SType, DL, MVT::i32)); in lowerATOMIC_FENCE()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp318 Type *SType = SVT.getTypeForEVT(*DAG.getContext()); in ExpandConstantFP() local
319 LLVMC = cast<ConstantFP>(ConstantExpr::getFPTrunc(LLVMC, SType)); in ExpandConstantFP()