Home
last modified time | relevance | path

Searched refs:getDefaultValue (Results 1 – 25 of 25) sorted by relevance

/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/
H A DReduceBasicBlocks.cpp47 Term->replaceAllUsesWith(getDefaultValue(Term->getType())); in replaceBranchTerminator()
66 FnRetTy->isVoidTy() ? nullptr : getDefaultValue(FnRetTy), in replaceBranchTerminator()
91 FnRetTy->isVoidTy() ? nullptr : getDefaultValue(FnRetTy), in removeUninterestingBBsFromSwitch()
137 I.replaceAllUsesWith(getDefaultValue(I.getType())); in extractBasicBlocksFromModule()
H A DReduceGlobalVars.cpp44 GV.replaceAllUsesWith(getDefaultValue(GV.getType())); in extractGVsFromModule()
53 Inst->replaceAllUsesWith(getDefaultValue(Inst->getType())); in extractGVsFromModule()
H A DReduceArguments.cpp83 VMap[&A] = getDefaultValue(A.getType()); in extractArgumentsFromModule()
93 I->replaceAllUsesWith(getDefaultValue(I->getType())); in extractArgumentsFromModule()
H A DUtils.h20 Value *getDefaultValue(Type *T);
H A DUtils.cpp18 Value *llvm::getDefaultValue(Type *T) { in getDefaultValue() function in llvm
H A DReduceSpecialGlobals.cpp33 Used->replaceAllUsesWith(getDefaultValue(Used->getType())); in extractSpecialGlobalsFromModule()
H A DReduceFunctions.cpp47 F.replaceAllUsesWith(getDefaultValue(F.getType())); in extractFunctionsFromModule()
H A DReduceInstructions.cpp46 Inst.replaceAllUsesWith(getDefaultValue(Inst.getType())); in extractInstrFromModule()
H A DReduceOperandsToArgs.cpp74 Args[ArgIdx] = getDefaultValue(NewArgTy); in replaceFunctionCalls()
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DBuilder.cpp37 Optional<StringRef> Builder::Parameter::getDefaultValue() const { in getDefaultValue() function in Builder::Parameter
66 if (param.getDefaultValue()) { in Builder()
H A DAttrOrTypeDef.cpp282 getDefaultValue(); in isOptional()
285 Optional<StringRef> AttrOrTypeParameter::getDefaultValue() const { in getDefaultValue() function in AttrOrTypeParameter
H A DPass.cpp29 Optional<StringRef> PassOption::getDefaultValue() const { in getDefaultValue() function in PassOption
H A DAttribute.cpp107 StringRef Attribute::getDefaultValue() const { in getDefaultValue() function in Attribute
/llvm-project-15.0.7/mlir/include/mlir/TableGen/
H A DBuilder.h47 Optional<StringRef> getDefaultValue() const;
H A DPass.h38 Optional<StringRef> getDefaultValue() const;
H A DAttribute.h84 StringRef getDefaultValue() const;
H A DAttrOrTypeDef.h101 Optional<StringRef> getDefaultValue() const;
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DPassGen.cpp105 if (Optional<StringRef> defaultVal = opt.getDefaultValue()) in emitPassOptionDecls()
H A DOpDefinitionsGen.cpp969 tgfmt(attr.getConstBuilderTemplate(), &fctx, attr.getDefaultValue())); in emitAttrGetterWithReturnType()
1626 tgfmt(attr.getConstBuilderTemplate(), &fctx, attr.getDefaultValue())); in genPopulateDefaultAttributes()
1794 if (Optional<StringRef> defaultParamValue = params[i].getDefaultValue()) in getBuilderSignature()
2018 defaultValue += attr.getDefaultValue(); in buildParamList()
2922 tgfmt(attr.getConstBuilderTemplate(), &fctx, attr.getDefaultValue())); in OpOperandAdaptorEmitter()
H A DAttrOrTypeFormatGen.cpp64 if (llvm::Optional<StringRef> defaultValue = getParam().getDefaultValue()) { in genPrintGuard()
304 if (Optional<StringRef> defaultValue = param.getDefaultValue()) in genParser()
H A DAttrOrTypeDefGen.cpp357 param.getDefaultValue()); in getCustomBuilderParams()
H A DOpPythonBindingGen.cpp670 StringRef defaultValCpp = attr.getDefaultValue().trim(); in getAttributeDefaultValue()
H A DRewriterGen.cpp772 attr.getDefaultValue())) in emitAttributeMatch()
/llvm-project-15.0.7/llvm/include/llvm/TableGen/
H A DDirectiveEmitter.h172 StringRef getDefaultValue() const { in getDefaultValue() function
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DDirectiveEmitter.cpp594 if (Clause.isValueOptional() && Clause.getDefaultValue().empty()) { in GenerateFlangClauseUnparse()
612 OS << " Put(\"" << Clause.getDefaultValue() << "\");\n"; in GenerateFlangClauseUnparse()