Home
last modified time | relevance | path

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

123456

/llvm-project-15.0.7/clang/lib/Format/
H A DTokenAnnotator.cpp442 OpeningParen.setType(TT_Unknown); in parseParens()
708 Left->setType(TT_Unknown); in parseSquare()
938 Tok->setType(TT_JsTypeColon); in consumeToken()
958 Tok->setType(TT_DictLiteral); in consumeToken()
995 Tok->setType(TT_BitFieldColon); in consumeToken()
1114 Tok->setType(TT_DictLiteral); in consumeToken()
1816 Current.setType(TT_StartOfName); in determineTokenType()
1826 Current.setType(TT_LambdaArrow); in determineTokenType()
1884 Current.setType(TT_CastRParen); in determineTokenType()
1913 Current.setType(TT_ObjCDecl); in determineTokenType()
[all …]
H A DFormatTokenLexer.cpp209 At->setType(TT_ObjCStringLiteral); in tryMergeNSStringLiteral()
228 Hash->setType(TT_JsPrivateIdentifier); in tryMergeJSPrivateIdentifier()
260 Dollar->setType(TT_CSharpStringLiteral); in tryMergeCSharpStringLiteral()
272 At->setType(TT_CSharpStringLiteral); in tryMergeCSharpStringLiteral()
317 At->setType(Keyword->getType()); in tryMergeCSharpKeywordVariables()
332 Identifier->setType(TT_ForEachMacro); in tryTransformCSharpForEach()
349 For->setType(TT_ForEachMacro); in tryMergeForEach()
427 First[0]->setType(NewType); in tryMergeTokens()
516 RegexToken->setType(TT_RegexLiteral); in tryParseJSRegexLiteral()
1093 FormatTok->setType(it->second);
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Transforms/
H A DTosaInferShapes.cpp54 blockArg.setType(newType); in propagateShapesToTosaIf()
67 frontBlock.getArgument(i).setType(joinedKnowledge.getType()); in propagateShapesToTosaIf()
112 block.getArgument(i).setType(argTypes[i]); in propagateShapesToTosaWhile()
162 arg.setType(originalTypeMap[arg]); in propagateShapesToTosaWhile()
165 result.setType(originalTypeMap[result]); in propagateShapesToTosaWhile()
174 region.front().getArgument(i).setType(argTypes[i]); in propagateShapesToTosaWhile()
271 it.first.setType(t); in propagateShapesInRegion()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCELFStreamer.cpp107 Symbol->setType(ELF::STT_TLS); in emitLabel()
118 Symbol->setType(ELF::STT_TLS); in emitLabelAtPos()
226 Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_OBJECT)); in emitSymbolAttribute()
261 Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_FUNC)); in emitSymbolAttribute()
265 Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_GNU_IFUNC)); in emitSymbolAttribute()
269 Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_OBJECT)); in emitSymbolAttribute()
273 Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_TLS)); in emitSymbolAttribute()
278 Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_OBJECT)); in emitSymbolAttribute()
282 Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_NOTYPE)); in emitSymbolAttribute()
315 Symbol->setType(ELF::STT_OBJECT); in emitCommonSymbol()
[all …]
H A DMCWinCOFFStreamer.cpp172 cast<MCSymbolCOFF>(CurSymbol)->setType((uint16_t)Type); in emitCOFFSymbolType()
203 CSymbol->setType(COFF::IMAGE_SYM_DTYPE_FUNCTION in emitCOFFSafeSEH()
/llvm-project-15.0.7/mlir/test/IR/
H A Dtest-func-set-type.mlir9 // Test case: The setType call needs to erase some arg attrs.
18 // Test case: The setType call needs to erase some result attrs.
/llvm-project-15.0.7/mlir/examples/toy/Ch6/mlir/
H A DDialect.cpp242 void AddOp::inferShapes() { getResult().setType(getOperand(0).getType()); } in inferShapes()
250 void CastOp::inferShapes() { getResult().setType(getOperand().getType()); } in inferShapes()
351 void MulOp::inferShapes() { getResult().setType(getOperand(0).getType()); } in inferShapes()
403 getResult().setType(RankedTensorType::get(dims, arrayTy.getElementType())); in inferShapes()
/llvm-project-15.0.7/mlir/examples/toy/Ch4/mlir/
H A DDialect.cpp242 void AddOp::inferShapes() { getResult().setType(getOperand(0).getType()); } in inferShapes()
250 void CastOp::inferShapes() { getResult().setType(getOperand().getType()); } in inferShapes()
351 void MulOp::inferShapes() { getResult().setType(getOperand(0).getType()); } in inferShapes()
403 getResult().setType(RankedTensorType::get(dims, arrayTy.getElementType())); in inferShapes()
/llvm-project-15.0.7/mlir/examples/toy/Ch5/mlir/
H A DDialect.cpp242 void AddOp::inferShapes() { getResult().setType(getOperand(0).getType()); } in inferShapes()
250 void CastOp::inferShapes() { getResult().setType(getOperand().getType()); } in inferShapes()
351 void MulOp::inferShapes() { getResult().setType(getOperand(0).getType()); } in inferShapes()
403 getResult().setType(RankedTensorType::get(dims, arrayTy.getElementType())); in inferShapes()
/llvm-project-15.0.7/llvm/lib/MC/MCParser/
H A DWasmAsmParser.cpp243 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_FUNCTION); in parseDirectiveType()
249 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_GLOBAL); in parseDirectiveType()
251 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_DATA); in parseDirectiveType()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAsmPrinter.cpp228 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_GLOBAL); in getOrCreateWasmSymbol()
237 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_DATA); in getOrCreateWasmSymbol()
244 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_TAG); in getOrCreateWasmSymbol()
263 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_FUNCTION); in getOrCreateWasmSymbol()
351 Sym->setType(wasm::WASM_SYMBOL_TYPE_FUNCTION); in emitDecls()
579 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_FUNCTION); in emitFunctionBodyStart()
H A DWebAssemblyMCInstLower.cpp84 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_FUNCTION); in GetGlobalAddressSymbol()
151 WasmSym->setType(wasm::WASM_SYMBOL_TYPE_FUNCTION); in lowerTypeIndexOperand()
/llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/
H A DDialect.cpp248 void ConstantOp::inferShapes() { getResult().setType(getValue().getType()); } in inferShapes()
269 void AddOp::inferShapes() { getResult().setType(getOperand(0).getType()); } in inferShapes()
277 void CastOp::inferShapes() { getResult().setType(getOperand().getType()); } in inferShapes()
378 void MulOp::inferShapes() { getResult().setType(getOperand(0).getType()); } in inferShapes()
458 getResult().setType(RankedTensorType::get(dims, arrayTy.getElementType())); in inferShapes()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCSymbolWasm.h53 void setType(wasm::WasmSymbolType type) { Type = type; } in setType() function
118 setType(wasm::WASM_SYMBOL_TYPE_TABLE); in setFunctionTable()
H A DMCSymbolELF.h32 void setType(unsigned Type) const;
H A DMCSymbolCOFF.h36 void setType(uint16_t Ty) const { in setType() function
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DELF.h1178 void setType(unsigned char t) { setBindingAndType(getBinding(), t); } in setType() function
1198 void setType(unsigned char t) { setBindingAndType(getBinding(), t); } in setType() function
1269 void setType(unsigned char t) { setSymbolAndType(getSymbol(), t); } in setType() function
1286 void setType(unsigned char t) { setSymbolAndType(getSymbol(), t); } in setType() function
1305 void setType(Elf64_Word t) { setSymbolAndType(getSymbol(), t); } in setType() function
1322 void setType(Elf64_Word t) { setSymbolAndType(getSymbol(), t); } in setType() function
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/
H A DStructuralTypeConversions.cpp68 std::get<0>(t).setType(std::get<1>(t)); in matchAndRewrite()
112 std::get<0>(t).setType(std::get<1>(t)); in matchAndRewrite()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/Utils/
H A DWebAssemblyTypeUtilities.cpp202 Sym->setType(wasm::WASM_SYMBOL_TYPE_TABLE); in wasmSymbolSetType()
205 Sym->setType(wasm::WASM_SYMBOL_TYPE_GLOBAL); in wasmSymbolSetType()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineRegisterInfo.cpp115 setType(Reg, ConstrainingRegTy); in constrainRegAttrs()
174 setType(Reg, getType(VReg)); in cloneVirtualRegister()
180 void MachineRegisterInfo::setType(Register VReg, LLT Ty) { in setType() function in MachineRegisterInfo
191 setType(Reg, Ty); in createGenericVirtualRegister()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DValue.h66 void setType(Type type) { return typeAndKind.setPointer(type); } in setType() function
129 void setType(Type newType) { impl->setType(newType); } in setType() function
/llvm-project-15.0.7/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYMCExpr.cpp89 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS); in fixELFSymbolsInTLSFixupsImpl()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCExpr.cpp134 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS); in fixELFSymbolsInTLSFixupsImpl()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCExpr.cpp69 cast<MCSymbolELF>(symRef.getSymbol()).setType(ELF::STT_TLS); in fixELFSymbolsInTLSFixupsImpl()
/llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/
H A DFuncBufferizableOpInterfaceImpl.cpp420 funcOp.setType(FunctionType::get(op->getContext(), argTypes, retTypes)); in bufferize()
445 bbArg.setType(memrefType); in bufferize()
489 funcOp.setType(FunctionType::get(op->getContext(), argTypes, in bufferize()

123456