| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | TokenAnnotator.cpp | 442 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 D | FormatTokenLexer.cpp | 209 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 D | TosaInferShapes.cpp | 54 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 D | MCELFStreamer.cpp | 107 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 D | MCWinCOFFStreamer.cpp | 172 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 D | test-func-set-type.mlir | 9 // 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 D | Dialect.cpp | 242 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 D | Dialect.cpp | 242 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 D | Dialect.cpp | 242 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 D | WasmAsmParser.cpp | 243 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 D | WebAssemblyAsmPrinter.cpp | 228 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 D | WebAssemblyMCInstLower.cpp | 84 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 D | Dialect.cpp | 248 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 D | MCSymbolWasm.h | 53 void setType(wasm::WasmSymbolType type) { Type = type; } in setType() function 118 setType(wasm::WASM_SYMBOL_TYPE_TABLE); in setFunctionTable()
|
| H A D | MCSymbolELF.h | 32 void setType(unsigned Type) const;
|
| H A D | MCSymbolCOFF.h | 36 void setType(uint16_t Ty) const { in setType() function
|
| /llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/ |
| H A D | ELF.h | 1178 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 D | StructuralTypeConversions.cpp | 68 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 D | WebAssemblyTypeUtilities.cpp | 202 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 D | MachineRegisterInfo.cpp | 115 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 D | Value.h | 66 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 D | CSKYMCExpr.cpp | 89 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS); in fixELFSymbolsInTLSFixupsImpl()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64MCExpr.cpp | 134 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS); in fixELFSymbolsInTLSFixupsImpl()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCExpr.cpp | 69 cast<MCSymbolELF>(symRef.getSymbol()).setType(ELF::STT_TLS); in fixELFSymbolsInTLSFixupsImpl()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/ |
| H A D | FuncBufferizableOpInterfaceImpl.cpp | 420 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()
|