| /llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ |
| H A D | ReduceBasicBlocks.cpp | 47 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 D | ReduceGlobalVars.cpp | 44 GV.replaceAllUsesWith(getDefaultValue(GV.getType())); in extractGVsFromModule() 53 Inst->replaceAllUsesWith(getDefaultValue(Inst->getType())); in extractGVsFromModule()
|
| H A D | ReduceArguments.cpp | 83 VMap[&A] = getDefaultValue(A.getType()); in extractArgumentsFromModule() 93 I->replaceAllUsesWith(getDefaultValue(I->getType())); in extractArgumentsFromModule()
|
| H A D | Utils.h | 20 Value *getDefaultValue(Type *T);
|
| H A D | Utils.cpp | 18 Value *llvm::getDefaultValue(Type *T) { in getDefaultValue() function in llvm
|
| H A D | ReduceSpecialGlobals.cpp | 33 Used->replaceAllUsesWith(getDefaultValue(Used->getType())); in extractSpecialGlobalsFromModule()
|
| H A D | ReduceFunctions.cpp | 47 F.replaceAllUsesWith(getDefaultValue(F.getType())); in extractFunctionsFromModule()
|
| H A D | ReduceInstructions.cpp | 46 Inst.replaceAllUsesWith(getDefaultValue(Inst.getType())); in extractInstrFromModule()
|
| H A D | ReduceOperandsToArgs.cpp | 74 Args[ArgIdx] = getDefaultValue(NewArgTy); in replaceFunctionCalls()
|
| /llvm-project-15.0.7/mlir/lib/TableGen/ |
| H A D | Builder.cpp | 37 Optional<StringRef> Builder::Parameter::getDefaultValue() const { in getDefaultValue() function in Builder::Parameter 66 if (param.getDefaultValue()) { in Builder()
|
| H A D | AttrOrTypeDef.cpp | 282 getDefaultValue(); in isOptional() 285 Optional<StringRef> AttrOrTypeParameter::getDefaultValue() const { in getDefaultValue() function in AttrOrTypeParameter
|
| H A D | Pass.cpp | 29 Optional<StringRef> PassOption::getDefaultValue() const { in getDefaultValue() function in PassOption
|
| H A D | Attribute.cpp | 107 StringRef Attribute::getDefaultValue() const { in getDefaultValue() function in Attribute
|
| /llvm-project-15.0.7/mlir/include/mlir/TableGen/ |
| H A D | Builder.h | 47 Optional<StringRef> getDefaultValue() const;
|
| H A D | Pass.h | 38 Optional<StringRef> getDefaultValue() const;
|
| H A D | Attribute.h | 84 StringRef getDefaultValue() const;
|
| H A D | AttrOrTypeDef.h | 101 Optional<StringRef> getDefaultValue() const;
|
| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | PassGen.cpp | 105 if (Optional<StringRef> defaultVal = opt.getDefaultValue()) in emitPassOptionDecls()
|
| H A D | OpDefinitionsGen.cpp | 969 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 D | AttrOrTypeFormatGen.cpp | 64 if (llvm::Optional<StringRef> defaultValue = getParam().getDefaultValue()) { in genPrintGuard() 304 if (Optional<StringRef> defaultValue = param.getDefaultValue()) in genParser()
|
| H A D | AttrOrTypeDefGen.cpp | 357 param.getDefaultValue()); in getCustomBuilderParams()
|
| H A D | OpPythonBindingGen.cpp | 670 StringRef defaultValCpp = attr.getDefaultValue().trim(); in getAttributeDefaultValue()
|
| H A D | RewriterGen.cpp | 772 attr.getDefaultValue())) in emitAttributeMatch()
|
| /llvm-project-15.0.7/llvm/include/llvm/TableGen/ |
| H A D | DirectiveEmitter.h | 172 StringRef getDefaultValue() const { in getDefaultValue() function
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | DirectiveEmitter.cpp | 594 if (Clause.isValueOptional() && Clause.getDefaultValue().empty()) { in GenerateFlangClauseUnparse() 612 OS << " Put(\"" << Clause.getDefaultValue() << "\");\n"; in GenerateFlangClauseUnparse()
|