HomeSort by relevance Sort by last modified time
    Searched refs:STy (Results 1 - 25 of 63) sorted by null

1 2 3

  /external/llvm/lib/Target/
Target.cpp 96 StructType *STy = unwrap<StructType>(StructTy);
97 return unwrap(TD)->getStructLayout(STy)->getElementContainingOffset(Offset);
102 StructType *STy = unwrap<StructType>(StructTy);
103 return unwrap(TD)->getStructLayout(STy)->getElementOffset(Element);
TargetData.cpp 403 StructLayout *&operator[](StructType *STy) {
404 return LayoutInfo[STy];
607 if (StructType *STy = dyn_cast<StructType>(*TI)) {
614 const StructLayout *Layout = getStructLayout(STy);
620 Ty = STy->getElementType(FieldNo);
  /external/llvm/lib/Transforms/IPO/
IPConstantPropagation.cpp 170 StructType *STy = dyn_cast<StructType>(F.getReturnType());
171 if (STy)
172 for (unsigned i = 0, e = STy->getNumElements(); i < e; ++i)
173 RetVals.push_back(UndefValue::get(STy->getElementType(i)));
188 if (!STy)
238 if (STy == 0) {
ArgumentPromotion.cpp 163 if (StructType *STy = dyn_cast<StructType>(AgTy)) {
164 if (maxElements > 0 && STy->getNumElements() > maxElements) {
173 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
174 if (!STy->getElementType(i)->isSingleValueType()) {
193 if (StructType *STy = dyn_cast<StructType>(AgTy)) {
195 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
196 if (STy->getElementType(i) == PtrArg->getType()) {
530 StructType *STy = cast<StructType>(AgTy);
531 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
532 Params.push_back(STy->getElementType(i))
    [all...]
StripSymbols.cpp 183 StructType *STy = StructTypes[i];
184 if (STy->isLiteral() || STy->getName().empty()) continue;
186 if (PreserveDbgInfo && STy->getName().startswith("llvm.dbg"))
189 STy->setName("");
DeadArgumentElimination.cpp 347 else if (StructType *STy = dyn_cast<StructType>(F->getReturnType()))
348 return STy->getNumElements();
494 Type *STy = dyn_cast<StructType>(F.getReturnType());
518 if (STy) {
672 StructType *STy = dyn_cast<StructType>(RetTy);
673 if (STy)
678 RetTypes.push_back(STy->getElementType(i));
703 NRetTy = StructType::get(STy->getContext(), RetTypes, STy->isPacked());
    [all...]
GlobalOpt.cpp 324 SequentialType *STy = cast<SequentialType>(Ty);
325 Types.push_back(STy->getElementType());
329 StructType *STy = cast<StructType>(Ty);
330 if (STy->isOpaque()) return true;
331 for (StructType::element_iterator I = STy->element_begin(),
332 E = STy->element_end(); I != E; ++I) {
676 if (StructType *STy = dyn_cast<StructType>(Ty)) {
677 NewGlobals.reserve(STy->getNumElements());
678 const StructLayout &Layout = *TD.getStructLayout(STy);
679 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
    [all...]
  /external/llvm/lib/VMCore/
TypeFinder.cpp 99 if (StructType *STy = dyn_cast<StructType>(Ty))
100 if (!OnlyNamed || STy->hasName())
101 StructTypes.push_back(STy);
InlineAsm.cpp 286 StructType *STy = dyn_cast<StructType>(Ty->getReturnType());
287 if (STy == 0 || STy->getNumElements() != NumOutputs)
Type.cpp 122 const StructType *STy = dyn_cast<StructType>(this);
123 if (STy) {
124 unsigned NumElements = STy->getNumElements();
126 if (!STy->getElementType(i)->isEmptyTy())
657 if (StructType *STy = dyn_cast<StructType>(this)) {
660 return STy->getElementType(Idx);
666 if (StructType *STy = dyn_cast<StructType>(this)) {
668 return STy->getElementType(Idx);
674 if (const StructType *STy = dyn_cast<StructType>(this)) {
678 return CU->getZExtValue() < STy->getNumElements()
    [all...]
ConstantFold.cpp 112 if (StructType *STy = dyn_cast<StructType>(ElTy)) {
113 if (STy->getNumElements() == 0) break;
114 ElTy = STy->getElementType(0);
116 } else if (SequentialType *STy =
119 ElTy = STy->getElementType();
340 if (StructType *STy = dyn_cast<StructType>(Ty))
341 if (!STy->isPacked()) {
342 unsigned NumElems = STy->getNumElements();
348 getFoldedSizeOf(STy->getElementType(0), DestTy, true);
352 getFoldedSizeOf(STy->getElementType(i), DestTy, true))
    [all...]
AsmWriter.cpp 176 StructType *STy = *I;
179 if (STy->isLiteral())
182 if (STy->getName().empty())
183 NumberedTypes[STy] = NextNumber++;
185 *NextToUse++ = STy;
228 StructType *STy = cast<StructType>(Ty);
230 if (STy->isLiteral())
231 return printStructBody(STy, OS);
233 if (!STy->getName().empty())
234 return PrintLLVMName(OS, STy->getName(), LocalPrefix)
    [all...]
  /external/llvm/lib/CodeGen/
Analysis.cpp 44 if (StructType *STy = dyn_cast<StructType>(Ty)) {
45 for (StructType::element_iterator EB = STy->element_begin(),
47 EE = STy->element_end();
81 if (StructType *STy = dyn_cast<StructType>(Ty)) {
82 const StructLayout *SL = TLI.getTargetData()->getStructLayout(STy);
83 for (StructType::element_iterator EB = STy->element_begin(),
85 EE = STy->element_end();
ShadowStackGC.cpp 230 StructType *STy = StructType::create(EltTys, "gc_map."+utostr(NumMeta));
232 Constant *FrameMap = ConstantStruct::get(STy, DescriptorElts);
  /external/llvm/include/llvm/Transforms/Utils/
Local.h 200 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
201 Size = TD.getStructLayout(STy)->getElementOffset(OpC->getZExtValue());
  /external/llvm/lib/Transforms/Scalar/
SCCP.cpp 240 if (StructType *STy = dyn_cast<StructType>(F->getReturnType())) {
242 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
301 if (StructType *STy = dyn_cast<StructType>(V->getType()))
302 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
734 if (StructType *STy = dyn_cast<StructType>(ResultOp->getType()))
736 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
787 StructType *STy = dyn_cast<StructType>(IVI.getType());
788 if (STy == 0)
800 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
    [all...]
  /external/clang/lib/CodeGen/
CGExprConstant.cpp 560 llvm::StructType *STy =
565 if (ValSTy->isLayoutIdentical(STy))
566 STy = ValSTy;
569 llvm::Constant *Result = llvm::ConstantStruct::get(STy, Elements);
681 llvm::StructType* STy =
683 return llvm::ConstantStruct::get(STy, Elts);
    [all...]
CGCall.cpp 709 if (llvm::StructType *STy =
711 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
    [all...]
TargetInfo.cpp     [all...]
  /external/llvm/lib/Analysis/
ScalarEvolutionExpander.cpp 456 while (StructType *STy = dyn_cast<StructType>(ElTy)) {
459 if (STy->getNumElements() == 0) break;
466 const StructLayout &SL = *SE.TD->getStructLayout(STy);
472 ElTy = STy->getTypeAtIndex(ElIdx);
486 if (U->isOffsetOf(CTy, FieldNo) && CTy == STy) {
489 STy->getTypeAtIndex(cast<ConstantInt>(FieldNo)->getZExtValue());
501 ElTy = STy->getTypeAtIndex(0u);
    [all...]
ValueTracking.cpp 618 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
621 const StructLayout *SL = TD->getStructLayout(STy);
    [all...]
  /external/llvm/lib/Transforms/Utils/
AddrModeMatcher.cpp 227 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
228 const StructLayout *SL = TD->getStructLayout(STy);
  /external/llvm/tools/bugpoint/
ExtractFunction.cpp 210 StructType *STy =
217 ArrayElts.push_back(ConstantStruct::get(STy, Elts));
  /external/llvm/lib/Linker/
LinkModules.cpp 226 // If DstSTy has no name or has a longer name than STy, then viciously steal
227 // STy's name.
331 StructType *STy = cast<StructType>(Ty);
334 if (STy->isOpaque())
335 return *Entry = STy;
339 SrcDefinitionsToResolve.push_back(STy);
340 StructType *DTy = StructType::create(STy->getContext());
    [all...]
  /external/llvm/lib/Bitcode/Writer/
ValueEnumerator.cpp 362 if (StructType *STy = dyn_cast<StructType>(Ty))
363 if (!STy->isLiteral())

Completed in 847 milliseconds

1 2 3