| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | MLIRContext.cpp | 416 auto &impl = getImpl(); in getOrLoadDialect() 603 auto &impl = context->getImpl(); in addType() 615 auto &impl = context->getImpl(); in addAttribute() 642 auto &impl = context->getImpl(); in lookupMutable() 697 auto &impl = ctx->getImpl(); in lookup() 724 auto &ctxImpl = ctx->getImpl(); in insert() 793 auto &impl = context->getImpl(); in lookupMutable() 812 return context->getImpl().f16Ty; in get() 815 return context->getImpl().f32Ty; in get() 906 return value ? context->getImpl().trueAttr : context->getImpl().falseAttr; in get() [all …]
|
| H A D | BuiltinTypes.cpp | 77 unsigned IntegerType::getWidth() const { return getImpl()->width; } in getWidth() 80 return getImpl()->signedness; in getSignedness() 148 unsigned FunctionType::getNumInputs() const { return getImpl()->numInputs; } in getNumInputs() 151 return getImpl()->getInputs(); in getInputs() 154 unsigned FunctionType::getNumResults() const { return getImpl()->numResults; } in getNumResults() 157 return getImpl()->getResults(); in getResults() 874 ArrayRef<Type> TupleType::getTypes() const { return getImpl()->getTypes(); } in getTypes() 890 size_t TupleType::size() const { return getImpl()->size(); } in size()
|
| H A D | ExtensibleDialect.cpp | 148 DynamicTypeDefinition *DynamicType::getTypeDef() { return getImpl()->typeDef; } in getTypeDef() 150 ArrayRef<Attribute> DynamicType::getParams() { return getImpl()->params; } in getParams() 261 DynamicAttrDefinition *DynamicAttr::getAttrDef() { return getImpl()->attrDef; } in getAttrDef() 263 ArrayRef<Attribute> DynamicAttr::getParams() { return getImpl()->params; } in getParams()
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | Value.h | 231 detail::ValueImpl *getImpl() const { return impl; } in getImpl() function 255 return value.getImpl(); in getUseList() 309 Block *getOwner() const { return getImpl()->owner; } in getOwner() 312 unsigned getArgNumber() const { return getImpl()->index; } in getArgNumber() 315 Location getLoc() const { return getImpl()->loc; } in getLoc() 316 void setLoc(Location loc) { getImpl()->loc = loc; } in setLoc() 326 void destroy() { delete getImpl(); } in destroy() 329 detail::BlockArgumentImpl *getImpl() const { in getImpl() function 430 return llvm::isa<detail::OpResultImpl>(value.getImpl()); in classof() 441 detail::OpResultImpl *getImpl() const { in getImpl() function [all …]
|
| H A D | StorageUniquerSupport.h | 192 return UniquerT::template mutate<ConcreteT>(this->getContext(), getImpl(), in mutate() 203 ImplType *getImpl() const { return static_cast<ImplType *>(this->impl); } in getImpl() function
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/ |
| H A D | SPIRVTypes.cpp | 229 return getImpl()->elementType; in getElementType() 237 return getImpl()->columns; in getColumns() 342 Dim ImageType::getDim() const { return getImpl()->dim; } in getDim() 347 return getImpl()->arrayedInfo; in getArrayedInfo() 351 return getImpl()->samplingInfo; in getSamplingInfo() 355 return getImpl()->samplerUseInfo; in getSamplerUseInfo() 407 return getImpl()->storageClass; in getStorageClass() 1006 return getImpl()->memberTypesAndIsBodySet.getPointer()[index]; in getElementType() 1018 return getImpl()->offsetInfo[index]; in getMemberOffset() 1146 return getImpl()->columnType.cast<VectorType>().getShape()[0]; in getNumRows() [all …]
|
| H A D | SPIRVAttributes.cpp | 146 return getImpl()->binding.cast<IntegerAttr>().getInt(); in getBinding() 150 return getImpl()->descriptorSet.cast<IntegerAttr>().getInt(); in getDescriptorSet() 154 if (getImpl()->storageClass) in getStorageClass() 219 getImpl()->version.cast<IntegerAttr>().getValue().getZExtValue()); in getVersion() 235 return getImpl()->extensions.cast<ArrayAttr>(); in getExtensionsAttr() 252 return getImpl()->capabilities.cast<ArrayAttr>(); in getCapabilitiesAttr() 298 return getImpl()->triple.cast<spirv::VerCapExtAttr>(); in getTripleAttr() 322 return getImpl()->vendorID; in getVendorID() 326 return getImpl()->deviceType; in getDeviceType() 330 return getImpl()->deviceID; in getDeviceID() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | DebugInfoMetadata.h | 308 static DISubrange *getImpl(LLVMContext &Context, int64_t Count, 427 return getImpl(Context, Value, IsUnsigned, 578 return getImpl( 1077 return getImpl( 1376 return getImpl( 1853 getImpl(LLVMContext &Context, DIScope *Scope, StringRef Name, 2106 return getImpl(Context, static_cast<Metadata *>(Scope), 2156 return getImpl(Context, static_cast<Metadata *>(Scope), 2569 static DIExpression *getImpl(LLVMContext &Context, 3309 return getImpl(Context, Tag, Scope, Entity, File, Line, [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/ |
| H A D | LLVMTypes.cpp | 55 return getImpl()->numElements; in getNumElements() 134 return getImpl()->getReturnType(); in getReturnType() 137 return getImpl()->getReturnType(); in getReturnTypes() 141 return getImpl()->getArgumentTypes().size(); in getNumParams() 145 return getImpl()->getArgumentTypes()[i]; in getParamType() 151 return getImpl()->getArgumentTypes(); in getParams() 221 return getImpl()->addressSpace; in getAddressSpace() 461 return getImpl()->isIdentified() && in isOpaque() 462 (getImpl()->isOpaque() || !getImpl()->isInitialized()); in isOpaque() 679 return getImpl()->numElements; in getNumElements() [all …]
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | DebugInfoMetadata.cpp | 59 DILocation *DILocation::getImpl(LLVMContext &Context, unsigned Line, in getImpl() function in DILocation 357 return getImpl(Context, CountNode, LB, nullptr, nullptr, Storage, in getImpl() 633 DIDerivedType *DIDerivedType::getImpl( in getImpl() function in DIDerivedType 651 DICompositeType *DICompositeType::getImpl( in getImpl() function in DICompositeType 799 DIFile *DIFile::getImpl(LLVMContext &Context, MDString *Filename, in getImpl() function in DIFile 828 DICompileUnit *DICompileUnit::getImpl( in getImpl() function in DICompileUnit 977 DISubprogram *DISubprogram::getImpl( in getImpl() function in DISubprogram 1117 DITemplateValueParameter *DITemplateValueParameter::getImpl( in getImpl() function in DITemplateValueParameter 1212 DIExpression *DIExpression::getImpl(LLVMContext &Context, in getImpl() function in DIExpression 1749 DIObjCProperty *DIObjCProperty::getImpl( in getImpl() function in DIObjCProperty [all …]
|
| H A D | Attributes.cpp | 1022 AttributeList AttributeList::getImpl(LLVMContext &C, in getImpl() function in AttributeList 1107 return getImpl(C, AttrVec); in get() 1148 return getImpl(C, AttrSets); in get() 1158 return getImpl(C, AttrSets); in get() 1216 return getImpl(C, NewAttrSets); in get() 1254 return AttributeList::getImpl(C, AttrSets); in setAttributesAtIndex() 1288 return getImpl(C, AttrSets); in addParamAttribute() 1303 return getImpl(C, AttrSets); in removeAttributeAtIndex() 1318 return getImpl(C, AttrSets); in removeAttributeAtIndex() 1341 return getImpl(C, AttrSets); in removeAttributesAtIndex()
|
| H A D | Constants.cpp | 1242 if (Constant *C = getImpl(Ty, V)) in get() 1349 if (Constant *C = getImpl(V)) in get() 2985 return getImpl(StringRef(Data, Elts.size() * 2), Ty); in getFP() 2991 return getImpl(StringRef(Data, Elts.size() * 4), Ty); in getFP() 2998 return getImpl(StringRef(Data, Elts.size() * 8), Ty); in getFP() 3020 return getImpl(StringRef(Data, Elts.size() * 1), Ty); in get() 3025 return getImpl(StringRef(Data, Elts.size() * 2), Ty); in get() 3030 return getImpl(StringRef(Data, Elts.size() * 4), Ty); in get() 3035 return getImpl(StringRef(Data, Elts.size() * 8), Ty); in get() 3334 if (Constant *C = getImpl(getType(), Values)) in handleOperandChangeImpl() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Quant/IR/ |
| H A D | QuantTypes.cpp | 297 double UniformQuantizedType::getScale() const { return getImpl()->scale; } in getScale() 300 return getImpl()->zeroPoint; in getZeroPoint() 359 return getImpl()->getScales(); in getScales() 363 return getImpl()->getZeroPoints(); in getZeroPoints() 367 return getImpl()->quantizedDimension; in getQuantizedDimension() 396 double CalibratedQuantizedType::getMin() const { return getImpl()->min; } in getMin() 398 double CalibratedQuantizedType::getMax() const { return getImpl()->max; } in getMax()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | LiveVariables.cpp | 58 static LiveVariablesImpl &getImpl(void *x) { in getImpl() function 141 return isAlwaysAlive(D) || getImpl(impl).blocksEndToLiveness[B].isLive(D); in isLive() 145 return isAlwaysAlive(D) || getImpl(impl).stmtsToLiveness[S].isLive(D); in isLive() 149 return getImpl(impl).stmtsToLiveness[Loc].isLive(Val); in isLive() 510 const CFG *cfg = getImpl(impl).analysisContext.getCFG(); in runOnAllBlocks() 512 getImpl(impl).runOnBlock(*it, getImpl(impl).blocksEndToLiveness[*it], &obs); in runOnAllBlocks() 578 getImpl(impl).dumpBlockLiveness(M); in dumpBlockLiveness() 624 getImpl(impl).dumpExprLiveness(M); in dumpExprLiveness()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Dialect/ |
| H A D | FIRAttr.cpp | 87 mlir::Type fir::ExactTypeAttr::getType() const { return getImpl()->getType(); } in getType() 93 mlir::Type fir::SubclassAttr::getType() const { return getImpl()->getType(); } in getType() 126 KindTy fir::RealAttr::getFKind() const { return getImpl()->getFKind(); } in getFKind() 128 llvm::APFloat fir::RealAttr::getValue() const { return getImpl()->getValue(); } in getValue()
|
| H A D | FIRType.cpp | 670 getImpl()->finalize(lenPList, typeList); in finalize() 674 return getImpl()->getName(); in getName() 678 return getImpl()->getTypeList(); in getTypeList() 682 return getImpl()->getLenParamList(); in getLenParamList() 686 return getImpl(); in uniqueKey() 835 printer << "<" << getImpl()->rank << ">"; in print()
|
| /llvm-project-15.0.7/mlir/lib/Pass/ |
| H A D | Pass.cpp | 211 if (failed(pm.getImpl().finalizePassList(ctx))) in finalizePassList() 343 OpPassManagerImpl &OpPassManager::getImpl() { return *impl; } in getImpl() function in OpPassManager 446 pipeline.getImpl().canScheduleOn(*op->getContext(), root->getName())); in run() 449 if (failed(pipeline.getImpl().finalizePassList(root->getContext()))) in run() 559 return mgr.getImpl().canScheduleOn(context, name); in findPassManagerFor() 587 return genericPM.getImpl().canScheduleOn(*ctx, *pmOpName); in tryMergeInto() 614 pm.getImpl().mergeInto(existingPM->getImpl()); in tryMergeInto() 797 if (failed(getImpl().finalizePassList(context))) in run()
|
| /llvm-project-15.0.7/llvm/lib/TableGen/ |
| H A D | Record.cpp | 121 return &RK.getImpl().SharedBitRecTy; in get() 133 detail::RecordKeeperImpl &RKImpl = RK.getImpl(); in get() 160 return &RK.getImpl().SharedIntRecTy; in get() 169 return &RK.getImpl().SharedStringRecTy; in get() 198 return &RK.getImpl().SharedDagRecTy; in get() 214 detail::RecordKeeperImpl &RKImpl = RK.getImpl(); in get() 360 return &RK.getImpl().TheUnsetInit; in get() 372 return V ? &RK.getImpl().TrueBitInit : &RK.getImpl().FalseBitInit; in get() 403 detail::RecordKeeperImpl &RKImpl = RK.getImpl(); in get() 517 IntInit *&I = RK.getImpl().TheIntInitPool[V]; in get() [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Bufferization/Transforms/ |
| H A D | OneShotAnalysis.h | 95 return lhs.getImpl() < rhs.getImpl(); in operator()
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/Test/ |
| H A D | TestTypes.h | 147 ::mlir::Type getBody() const { return getImpl()->body; } 150 ::llvm::StringRef getName() { return getImpl()->name; }
|
| /llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/ |
| H A D | Types.h | 89 Storage *getImpl() const { return impl; } in getImpl() function 117 return DenseMapInfo<Type::Storage *>::getHashValue(type.getImpl()); in hash_value() 318 return llvm::hash_value(val.getImpl()); in MLIR_DECLARE_EXPLICIT_TYPE_ID()
|
| /llvm-project-15.0.7/mlir/include/mlir/Conversion/SCFToSPIRV/ |
| H A D | SCFToSPIRV.h | 29 ScfToSPIRVContextImpl *getImpl() { return impl.get(); } in getImpl() function
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | LazyValueInfo.cpp | 1515 static LazyValueInfoImpl &getImpl(void *&PImpl, AssumptionCache *AC, in getImpl() function 1532 getImpl(Info.PImpl, Info.AC, F.getParent()).clear(); in runOnFunction() 1551 delete &getImpl(PImpl, AC, nullptr); in releaseMemory() 1635 getImpl(PImpl, AC, M).getValueOnEdge(V, FromBB, ToBB, CxtI); in getConstantOnEdge() 1654 getImpl(PImpl, AC, M).getValueOnEdge(V, FromBB, ToBB, CxtI); in getConstantRangeOnEdge() 1740 getImpl(PImpl, AC, M).getValueOnEdge(V, FromBB, ToBB, CxtI); in getPredicateOnEdge() 1764 : getImpl(PImpl, AC, M).getValueAt(V, CxtI); in getPredicateAt() 1871 getImpl(PImpl, AC, PredBB->getModule()) in threadEdge() 1878 getImpl(PImpl, AC, BB->getModule()).eraseBlock(BB); in eraseBlock() 1884 getImpl(PImpl, AC, M).clear(); in clear() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/DLTI/ |
| H A D | DLTI.cpp | 61 return getImpl()->entryKey; in getKey() 64 Attribute DataLayoutEntryAttr::getValue() const { return getImpl()->value; } in getValue() 273 return getImpl()->entries; in getEntries()
|
| /llvm-project-15.0.7/mlir/include/mlir/Support/ |
| H A D | InterfaceSupport.h | 121 const Concept *getImpl() const { return impl; } in getImpl() function 122 Concept *getImpl() { return impl; } in getImpl() function
|