Home | History | Annotate | Download | only in spirit

Lines Matching refs:Instruction

47 class Instruction;
78 void registerId(uint32_t id, Instruction *inst) {
134 Instruction *lookupByName(const char *) const;
139 // Find the name of the instruction, e.g., the name of a function (OpFunction
140 // instruction).
141 // The returned string is owned by the OpName instruction, whose first operand
142 // is the instruction being queried on.
143 const char *lookupNameByInstruction(const Instruction *) const;
157 TypeVectorInst *getVectorType(Instruction *componentType, int width);
159 Instruction *pointeeType);
160 TypeRuntimeArrayInst *getRuntimeArrayType(Instruction *elementType);
164 TypeStructInst *getStructType(Instruction *fieldType[], int numField);
165 TypeStructInst *getStructType(const std::vector<Instruction *> &fieldType);
166 TypeStructInst *getStructType(Instruction *field0Type);
167 TypeStructInst *getStructType(Instruction *field0Type,
168 Instruction *field1Type);
169 TypeStructInst *getStructType(Instruction *field0Type,
170 Instruction *field1Type,
171 Instruction *field2Type);
174 TypeFunctionInst *getFunctionType(Instruction *retType,
175 Instruction *const argType[],
177 TypeFunctionInst *getFunctionType(Instruction *retType,
178 const std::vector<Instruction *> &argTypes);
187 size_t getSize(Instruction *inst);
197 getConstantComposite(Instruction *type,
199 ConstantCompositeInst *getConstantComposite(Instruction *type,
219 std::map<uint32_t, Instruction *> mIdTable;
318 Instruction *lookupByName(const char *name) const;
319 const char *lookupNameByInstruction(const Instruction *) const;
332 std::vector<Instruction *> mSources;
334 std::vector<Instruction *> mNames;
336 ContainerDeleter<std::vector<Instruction *>> mSourcesDeleter;
337 ContainerDeleter<std::vector<Instruction *>> mNamesDeleter;
359 std::vector<Instruction *>::const_iterator begin() const {
363 std::vector<Instruction *>::const_iterator end() const {
370 std::vector<Instruction *> mAnnotations; // OpDecorate, etc.
372 ContainerDeleter<std::vector<Instruction *>> mAnnotationsDeleter;
410 TypeVectorInst *getVectorType(Instruction *componentType, int width);
412 Instruction *pointeeType);
413 TypeRuntimeArrayInst *getRuntimeArrayType(Instruction *elementType);
417 TypeStructInst *getStructType(Instruction *fieldType[], int numField);
418 // TypeStructInst *getStructType(const std::vector<Instruction *>
422 TypeFunctionInst *getFunctionType(Instruction *retType,
423 Instruction *const argType[],
425 // TypeStructInst *addStructType(Instruction *fieldType[], int numField);
435 std::vector<Instruction *> mGlobalDefs;
439 ContainerDeleter<std::vector<Instruction *>> mGlobalDefsDeleter;
477 Block *addInstruction(Instruction *inst) {
483 std::vector<Instruction *> mInsts;
515 Instruction *getReturnType() const;