HomeSort by relevance Sort by last modified time
    Searched defs:Ty (Results 76 - 100 of 416) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/clang/lib/CodeGen/
ObjectFilePCHContainerOperations.cpp 69 static bool CanRepresent(const Type *Ty) {
70 return !Ty->isDependentType() && !Ty->isUndeducedType();
262 auto *Ty = llvm::ArrayType::get(Int8Ty, Size);
267 *M, Ty, /*constant*/ true, llvm::GlobalVariable::InternalLinkage, Data,
  /external/clang/lib/Frontend/
InitPreprocessor.cpp 194 static void DefineTypeSize(const Twine &MacroName, TargetInfo::IntType Ty,
196 DefineTypeSize(MacroName, TI.getTypeWidth(Ty), TI.getTypeConstantSuffix(Ty),
197 TI.isTypeSigned(Ty), Builder);
200 static void DefineFmt(const Twine &Prefix, TargetInfo::IntType Ty,
202 bool IsSigned = TI.isTypeSigned(Ty);
203 StringRef FmtModifier = TI.getTypeFormatModifier(Ty);
210 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty,
212 Builder.defineMacro(MacroName, TargetInfo::getTypeName(Ty));
215 static void DefineTypeWidth(StringRef MacroName, TargetInfo::IntType Ty,
    [all...]
  /external/clang/lib/Sema/
SemaStmtAsm.cpp 318 const Type *Ty = Exprs[i]->getType().getTypePtr();
319 if (Ty->isDependentType())
322 if (!Ty->isVoidType() || !Info.allowsMemory())
327 unsigned Size = Context.getTypeSize(Ty);
387 const Type *Ty = Exprs[ConstraintIdx]->getType().getTypePtr();
388 if (Ty->isDependentType() || Ty->isIncompleteType())
391 unsigned Size = Context.getTypeSize(Ty);
  /external/llvm/include/llvm/ADT/
PointerUnion.h 123 Ty;
124 int TyNo = Ty::Num;
269 Ty;
270 return Ty(Val).template is<T>();
282 Ty;
283 return Ty(Val).template get<T>();
372 PT2, T, InnerUnion1, InnerUnion2>>::Return Ty;
373 return Val.template is<Ty>() && Val.template get<Ty>().template is<T>();
384 PT2, T, InnerUnion1, InnerUnion2>>::Return Ty;
    [all...]
  /external/llvm/include/llvm/CodeGen/
MachineInstr.h 113 Type *Ty;
192 void setType(Type *Ty);
    [all...]
  /external/llvm/lib/Analysis/
VectorUtils.cpp 142 Value *llvm::getUniqueCastUse(Value *Ptr, Loop *Lp, Type *Ty) {
146 if (CI && CI->getType() == Ty) {
440 Type *Ty = (*MI)->getType();
442 Ty = cast<Instruction>(*MI)->getOperand(0)->getType();
443 if (MinBW < Ty->getScalarSizeInBits())
  /external/llvm/lib/CodeGen/AsmPrinter/
DwarfUnit.h 145 virtual void addGlobalType(const DIType *Ty, const DIE &Die,
231 void addSourceLine(DIE &Die, const DIType *Ty);
233 void addSourceLine(DIE &Die, const DIObjCProperty *Ty);
236 void addConstantValue(DIE &Die, const MachineOperand &MO, const DIType *Ty);
237 void addConstantValue(DIE &Die, const ConstantInt *CI, const DIType *Ty);
238 void addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty);
276 void addType(DIE &Entity, const DIType *Ty,
290 DIE *createTypeDIE(const DICompositeType *Ty);
360 void updateAcceleratorTables(const DIScope *Context, const DIType *Ty,
368 const DIE *Ty;
    [all...]
  /external/llvm/lib/CodeGen/
GlobalMerge.cpp 438 Type *Ty = Globals[j]->getValueType();
439 MergedSize += DL.getTypeAllocSize(Ty);
443 Tys.push_back(Ty);
550 Type *Ty = GV.getValueType();
551 if (Alignment > DL.getABITypeAlignment(Ty))
563 if (DL.getTypeAllocSize(Ty) < MaxOffset) {
  /external/llvm/lib/Target/Mips/
MipsOptimizePICCall.cpp 147 MVT::SimpleValueType Ty = getRegTy(MI.getOperand(0).getReg(), MF);
148 unsigned Reg = Ty == MVT::i32 ? Mips::GP : Mips::GP_64;
  /external/llvm/lib/Transforms/Scalar/
ConstantHoisting.cpp 349 Type *Ty = ConstCand->ConstInt->getType();
357 Cost += TTI->getIntImmCost(Opcode, OpndIdx, Value, Ty);
366 TTI->getIntImmCodeSizeCost(Opcode, OpndIdx, Diff.getValue(), Ty);
398 Type *Ty = ConstInfo.BaseConstant->getType();
404 Constant *Offset = Diff == 0 ? nullptr : ConstantInt::get(Ty, Diff);
553 IntegerType *Ty = ConstInfo.BaseConstant->getType();
555 new BitCastInst(ConstInfo.BaseConstant, Ty, "const", IP);
Float2Int.cpp 419 Type *Ty = (MinBW > 32) ? Type::getInt64Ty(*Ctx) : Type::getInt32Ty(*Ctx);
423 convert(*MI, Ty);
  /external/llvm/unittests/Analysis/
ScalarEvolutionTest.cpp 57 Type *Ty = Type::getInt1Ty(Context);
58 Constant *Init = Constant::getNullValue(Ty);
59 Value *V0 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V0");
60 Value *V1 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V1");
61 Value *V2 = new GlobalVariable(M, Ty, false, GlobalValue::ExternalLinkage, Init, "V2");
100 Type *Ty = Type::getInt32Ty(Context);
102 Types.append(10, Ty);
168 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[1], B[1]));
170 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[2], B[1]));
171 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[1], B[2]))
    [all...]
  /external/llvm/utils/TableGen/
CodeGenTarget.h 194 MVT::SimpleValueType Ty;
203 MVT::SimpleValueType getValueType() const { return Ty; }
  /external/spirv-llvm/lib/SPIRV/
OCLTypeToSPIRV.cpp 300 auto Ty = STName.str();
305 mapOCLTypeNameToSPIRV(Ty, AccStr)));
  /external/swiftshader/third_party/LLVM/include/llvm/Analysis/
ScalarEvolutionExpressions.h 60 Type *Ty;
63 unsigned SCEVTy, const SCEV *op, Type *ty);
67 Type *getType() const { return Ty; }
86 const SCEV *op, Type *ty);
104 const SCEV *op, Type *ty);
122 const SCEV *op, Type *ty);
  /external/swiftshader/third_party/LLVM/lib/AsmParser/
LLParser.cpp 525 Type *Ty = 0;
529 ParseType(Ty, TyLoc) ||
657 Type *Ty = 0;
663 ParseType(Ty, TyLoc))
672 if (ParseGlobalValue(Ty, Init))
676 if (Ty->isFunctionTy() || Ty->isLabelTy())
698 GV = new GlobalVariable(*M, Ty, false, GlobalValue::ExternalLinkage, 0,
701 if (GV->getType()->getElementType() != Ty)
750 GlobalValue *LLParser::GetGlobalVal(const std::string &Name, Type *Ty,
    [all...]
  /external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
FunctionLoweringInfo.cpp 81 Type *Ty = AI->getAllocatedType();
82 uint64_t TySize = TLI.getTargetData()->getTypeAllocSize(Ty);
84 std::max((unsigned)TLI.getTargetData()->getPrefTypeAlignment(Ty),
95 (TySize > 8 && isa<ArrayType>(Ty) &&
96 cast<ArrayType>(Ty)->getElementType()->isIntegerTy(8)));
219 unsigned FunctionLoweringInfo::CreateRegs(Type *Ty) {
221 ComputeValueVTs(TLI, Ty, ValueVTs);
226 EVT RegisterVT = TLI.getRegisterType(Ty->getContext(), ValueVT);
228 unsigned NumRegs = TLI.getNumRegisters(Ty->getContext(), ValueVT);
263 Type *Ty = PN->getType()
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Target/Mips/
MipsISelDAGToDAG.cpp 277 EVT Ty = Node->getValueType(0);
283 (Ty == MVT::i32 ? Mips::MULT : Mips::DMULT));
290 unsigned Opc = (Ty == MVT::i32 ? Mips::MFLO : Mips::MFLO64);
291 return CurDAG->getMachineNode(Opc, dl, Ty, InFlag);
  /external/swiftshader/third_party/LLVM/lib/Target/
TargetData.cpp 52 Type *Ty = ST->getElementType(i);
53 unsigned TyAlign = ST->isPacked() ? 1 : TD.getABITypeAlignment(Ty);
63 StructSize += TD.getTypeAllocSize(Ty); // Consume space for this data item
270 Type *Ty) const {
306 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType());
307 Align *= cast<VectorType>(Ty)->getNumElements();
352 const StructLayout *TargetData::getStructLayout(StructType *Ty) const {
357 StructLayout *&SL = (*STM)[Ty];
362 int NumElts = Ty->getNumElements();
370 new (L) StructLayout(Ty, *this)
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
InstCombineShifts.cpp 91 uint32_t BitWidth = Ty->getScalarSizeInBits();
95 return CanEvaluateTruncated(I->getOperand(0), Ty);
540 IntegerType *Ty = cast<IntegerType>(I.getType());
553 ConstantInt::get(Ty, AmtSum));
579 Value *Shift = Builder->CreateShl(X, ConstantInt::get(Ty, ShiftDiff));
590 Value *Shift = Builder->CreateLShr(X, ConstantInt::get(Ty, ShiftDiff));
606 ConstantInt::get(Ty, ShiftDiff));
616 Value *Shift = Builder->CreateShl(X, ConstantInt::get(Ty, ShiftDiff));
  /external/swiftshader/third_party/LLVM/lib/VMCore/
Value.cpp 38 static inline Type *checkType(Type *Ty) {
39 assert(Ty && "Value defined with a null type: Error!");
40 return const_cast<Type*>(Ty);
43 Value::Value(Type *ty, unsigned scid)
45 SubclassOptionalData(0), SubclassData(0), VTy((Type*)checkType(ty)),
372 Type *Ty = *GTI++;
374 if (isa<StructType>(Ty))
383 ArrayType *ATy = dyn_cast<ArrayType>(Ty);
  /external/swiftshader/third_party/LLVM/utils/TableGen/
CodeGenTarget.h 171 MVT::SimpleValueType Ty;
180 MVT::SimpleValueType getValueType() const { return Ty; }
  /external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
PointerUnion.h 127 Ty;
128 int TyNo = Ty::Num;
274 Ty;
275 return Ty(Val).template is<T>();
287 Ty;
288 return Ty(Val).template get<T>();
378 PT2, T, InnerUnion1, InnerUnion2>>::Return Ty;
379 return Val.template is<Ty>() && Val.template get<Ty>().template is<T>();
390 PT2, T, InnerUnion1, InnerUnion2>>::Return Ty;
    [all...]
  /external/swiftshader/third_party/subzero/src/
IceInstMIPS32.cpp 39 bool OperandMIPS32Mem::canHoldOffset(Type Ty, bool SignExt, int32_t Offset) {
41 (void)Ty;
48 OperandMIPS32Mem::OperandMIPS32Mem(Cfg *Func, Type Ty, Variable *Base,
50 : OperandMIPS32(kMem, Ty), Base(Base), ImmOffset(ImmOffset), Mode(Mode) {
58 const char *InstMIPS32::getWidthString(Type Ty) {
59 (void)Ty;
622 Type Ty = (getSrcSize() == 1 ? IceType_void : getSrc(0)->getType());
623 Str << "ret." << Ty << " ";
    [all...]
IceTypes.h 79 size_t typeWidthInBytes(Type Ty);
80 int8_t typeWidthInBytesLog2(Type Ty);
81 size_t typeAlignInBytes(Type Ty);
82 size_t typeNumElements(Type Ty);
83 Type typeElementType(Type Ty);
84 const char *typeString(Type Ty);
85 inline std::string typeStdString(Type Ty) { return typeString(Ty); }
90 bool isVectorType(Type Ty);
92 bool isBooleanType(Type Ty); // scalar or vecto
    [all...]

Completed in 436 milliseconds

1 2 34 5 6 7 8 91011>>