HomeSort by: relevance | last modified time | path
    Searched defs:STy (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/IR/
InlineAsm.cpp 294 StructType *STy = dyn_cast<StructType>(Ty->getReturnType());
295 if (!STy || STy->getNumElements() != NumOutputs)
Operator.cpp 44 if (StructType *STy = GTI.getStructTypeOrNull()) {
45 const StructLayout *SL = DL.getStructLayout(STy);
105 StructType *STy = GTI.getStructTypeOrNull();
115 if (STy) {
117 const StructLayout *SL = DL.getStructLayout(STy);
133 if (!ExternalAnalysis || STy || ScalableType)
165 StructType *STy = GTI.getStructTypeOrNull();
178 if (STy) {
180 const StructLayout *SL = DL.getStructLayout(STy);
191 if (STy || ScalableType
    [all...]
ConstantFold.cpp 370 if (StructType *STy = dyn_cast<StructType>(Ty))
371 if (!STy->isPacked()) {
372 unsigned NumElems = STy->getNumElements();
378 getFoldedSizeOf(STy->getElementType(0), DestTy, true, Cache);
382 getFoldedSizeOf(STy->getElementType(i), DestTy, true, Cache)) {
444 if (StructType *STy = dyn_cast<StructType>(Ty)) {
446 if (STy->isPacked())
452 unsigned NumElems = STy->getNumElements();
458 getFoldedAlignOf(STy->getElementType(0), DestTy, true);
461 if (MemberAlign != getFoldedAlignOf(STy->getElementType(i), DestTy, true))
    [all...]
AsmWriter.cpp 583 StructType *STy = *I;
586 if (STy->isLiteral())
589 if (STy->getName().empty())
590 Type2Number[STy] = NextNumber++;
592 *NextToUse++ = STy;
637 StructType *STy = cast<StructType>(Ty);
639 if (STy->isLiteral())
640 return printStructBody(STy, OS);
642 if (!STy->getName().empty())
643 return PrintLLVMName(OS, STy->getName(), LocalPrefix)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
GlobalOpt.cpp 141 StructType *STy = cast<StructType>(Ty);
142 if (STy->isOpaque()) return true;
143 for (StructType::element_iterator I = STy->element_begin(),
144 E = STy->element_end(); I != E; ++I) {
535 if (StructType *STy = dyn_cast<StructType>(Ty))
536 ElTy = STy->getElementType(ElementIdx);
552 if (StructType *STy = dyn_cast<StructType>(Ty)) {
553 const StructLayout &Layout = *DL.getStructLayout(STy);
560 if (NewAlign > DL.getABITypeAlign(STy->getElementType(ElementIdx)))
1374 auto *STy = S->getValueOperand()->getType()
    [all...]
StripSymbols.cpp 185 StructType *STy = StructTypes[i];
186 if (STy->isLiteral() || STy->getName().empty()) continue;
188 if (PreserveDbgInfo && STy->getName().startswith("llvm.dbg"))
191 STy->setName("");
ArgumentPromotion.cpp 144 StructType *STy = cast<StructType>(AgTy);
145 llvm::append_range(Params, STy->elements());
146 ArgAttrVec.insert(ArgAttrVec.end(), STy->getNumElements(),
265 StructType *STy = cast<StructType>(AgTy);
268 const StructLayout *SL = DL.getStructLayout(STy);
270 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
273 IRB.CreateGEP(STy, *AI, Idxs, (*AI)->getName() + "." + Twine(i));
278 STy->getElementType(i), Idx, Alignment, Idx->getName() + ".val"));
395 StructType *STy = cast<StructType>(AgTy);
398 const StructLayout *SL = DL.getStructLayout(STy);
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonTargetObjectFile.cpp 299 const StructType *STy = cast<const StructType>(Ty);
300 for (auto &E : STy->elements()) {
305 return (STy->getNumElements() == 0) ? 0 : SmallestElement;
HexagonCommonGEP.cpp 249 StructType *STy = cast<StructType>(GN.PTy);
250 if (!STy->isLiteral())
253 OS << "<anon-struct>:" << *STy;
  /src/external/apache2/llvm/dist/llvm/lib/Target/
Target.cpp 134 StructType *STy = unwrap<StructType>(StructTy);
135 return unwrap(TD)->getStructLayout(STy)->getElementContainingOffset(Offset);
140 StructType *STy = unwrap<StructType>(StructTy);
141 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
ShadowStackGCLowering.cpp 133 StructType *STy = StructType::create(EltTys, "gc_map." + utostr(NumMeta));
135 Constant *FrameMap = ConstantStruct::get(STy, DescriptorElts);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
SCCP.cpp 623 StructType *STy = cast<StructType>(F->getReturnType());
624 if (Solver.isStructLatticeConstant(F, STy))
  /src/external/apache2/llvm/dist/llvm/tools/bugpoint/
ExtractFunction.cpp 233 StructType *STy = StructType::get(Int32Ty, TorList[0].first->getType());
237 ArrayElts.push_back(ConstantStruct::get(STy, Elts));
  /src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
BTFDebug.h 125 const DICompositeType *STy;
130 BTFTypeStruct(const DICompositeType *STy, bool IsStruct, bool HasBitField,
142 const DISubroutineType *STy;
147 BTFTypeFuncProto(const DISubroutineType *STy, uint32_t NumParams,
287 const DISubroutineType *STy, bool ForSubprog,
293 void visitStructType(const DICompositeType *STy, bool IsStruct,
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
ModuleSummaryAnalysis.cpp 505 StructType *STy = dyn_cast<StructType>(C->getType());
506 assert(STy);
509 for (auto EI : llvm::enumerate(STy->elements())) {
ConstantFolding.cpp 992 auto *STy = cast<StructType>(Ty);
997 const StructLayout &SL = *DL.getStructLayout(STy);
1008 Ty = STy->getTypeAtIndex(ElIdx);
ValueTracking.cpp 1287 if (StructType *STy = GTI.getStructTypeOrNull()) {
1297 const StructLayout *SL = Q.DL.getStructLayout(STy);
2057 if (StructType *STy = GTI.getStructTypeOrNull()) {
2060 const StructLayout *SL = Q.DL.getStructLayout(STy);
3891 StructType *STy = dyn_cast<StructType>(IndexedType);
3892 if (STy) {
3896 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
3900 To = BuildSubAggregate(From, To, STy->getElementType(i), Idxs, IdxSkip,
7007 if (StructType *STy = GTI.getStructTypeOrNull()) {
7008 Offset += DL.getStructLayout(STy)->getElementOffset(OpC->getZExtValue())
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
SCCPSolver.cpp 368 if (auto *STy = dyn_cast<StructType>(F->getReturnType())) {
370 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
405 auto *STy = dyn_cast<StructType>(V->getType());
406 assert(STy && "getStructLatticeValueFor() can be called only on structs");
407 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
440 if (auto *STy = dyn_cast<StructType>(V->getType()))
441 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
447 bool isStructLatticeConstant(Function *F, StructType *STy);
495 bool SCCPInstVisitor::isStructLatticeConstant(Function *F, StructType *STy) {
496 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
    [all...]
ScalarEvolutionExpander.cpp 508 while (StructType *STy = dyn_cast<StructType>(ElTy)) {
511 if (STy->getNumElements() == 0) break;
518 const StructLayout &SL = *DL.getStructLayout(STy);
524 ElTy = STy->getTypeAtIndex(ElIdx);
535 ElTy = STy->getTypeAtIndex(0u);
1390 Type *STy = S->getType();
1391 Type *IntTy = SE.getEffectiveSCEVType(STy);
1436 Type *ExpandTy = PostLoopScale ? IntTy : STy;
1440 DL.isNonIntegralPointerType(STy) ? Normalized->getType() : ExpandTy;
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
VPlan.cpp 1121 Type *STy = CanonicalIV->getType();
1133 ConstantInt::get(STy, Part * VF.getKnownMinValue() + Lane));
1135 // element pushed back into Indices is ConstantInt::get(STy, Part)
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
Overload.h 898 QualType STy = Surrogate->getConversionType();
899 while (STy->isPointerType() || STy->isReferenceType())
900 STy = STy->getPointeeType();
901 return STy->castAs<FunctionProtoType>()->getNumParams();
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGExprConstant.cpp 492 llvm::StructType *STy = llvm::ConstantStruct::getTypeForElements(
498 if (DesiredSTy->isLayoutIdentical(STy))
499 STy = DesiredSTy;
502 return llvm::ConstantStruct::get(STy, Packed ? PackedElems : UnpackedElems);
527 auto *STy = dyn_cast<llvm::StructType>(DesiredTy);
528 if (STy && STy->getNumElements() == 1 &&
529 STy->getElementType(0) == Elems[First]->getType())
530 Elems[First] = llvm::ConstantStruct::get(STy, Elems[First]);
1080 llvm::StructType *STy = llvm::StructType::get(VMContext, Types, false)
    [all...]
CGDebugInfo.cpp 2092 llvm::Metadata *STy = getOrCreateType(Context.IntTy, Unit);
2093 llvm::DITypeRefArray SElements = DBuilder.getOrCreateTypeArray(STy);
CodeGenModule.cpp 5118 auto *STy = cast<llvm::StructType>(getTypes().ConvertType(CFTy));
5121 auto Fields = Builder.beginStruct(STy);
  /src/external/apache2/llvm/dist/llvm/lib/Linker/
IRMover.cpp 68 void finishType(StructType *DTy, StructType *STy, ArrayRef<Type *> ETypes);
105 if (auto *STy = dyn_cast<StructType>(Ty))
106 if (STy->hasName())
107 STy->setName("");
217 void TypeMapTy::finishType(StructType *DTy, StructType *STy,
219 DTy->setBody(ETypes, STy->isPacked());
221 // Steal STy's name.
222 if (STy->hasName()) {
223 SmallString<16> TmpName = STy->getName();
224 STy->setName("")
    [all...]

Completed in 65 milliseconds

1 2