/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULowerKernelArguments.cpp | 96 Type *ArgTy = Arg.getType(); in runOnFunction() local 97 unsigned ABITypeAlign = DL.getABITypeAlignment(ArgTy); in runOnFunction() 98 unsigned Size = DL.getTypeSizeInBits(ArgTy); in runOnFunction() 99 unsigned AllocSize = DL.getTypeAllocSize(ArgTy); in runOnFunction() 107 if (PointerType *PT = dyn_cast<PointerType>(ArgTy)) { in runOnFunction() 123 VectorType *VT = dyn_cast<VectorType>(ArgTy); in runOnFunction() 125 bool DoShiftOpt = Size < 32 && !ArgTy->isAggregateType(); in runOnFunction() 151 AdjustedArgTy = ArgTy; in runOnFunction() 168 if (isa<PointerType>(ArgTy)) { in runOnFunction() 208 Value *NewVal = Builder.CreateBitCast(Trunc, ArgTy, in runOnFunction()
|
D | AMDGPURewriteOutArguments.cpp | 191 PointerType *ArgTy = dyn_cast<PointerType>(Arg.getType()); in isOutArgumentCandidate() local 194 if (!ArgTy || (ArgTy->getAddressSpace() != DL->getAllocaAddrSpace() && in isOutArgumentCandidate() 197 DL->getTypeStoreSize(ArgTy->getPointerElementType()) > MaxOutArgSizeBytes) { in isOutArgumentCandidate() 290 Type *ArgTy = OutArg->getType()->getPointerElementType(); in runOnFunction() local 297 unsigned ArgNumRegs = DL->getTypeStoreSize(ArgTy) / 4; in runOnFunction() 344 ReturnTypes.push_back(ArgTy); in runOnFunction()
|
D | AMDGPUCallLowering.cpp | 460 Type *ArgTy = Arg.getType(); in lowerFormalArgumentsKernel() local 461 unsigned AllocSize = DL.getTypeAllocSize(ArgTy); in lowerFormalArgumentsKernel() 465 unsigned ABIAlign = DL.getABITypeAlignment(ArgTy); in lowerFormalArgumentsKernel() 474 : MRI.createGenericVirtualRegister(getLLTForType(*ArgTy, DL)); in lowerFormalArgumentsKernel() 476 ArgOffset = alignTo(ArgOffset, DL.getABITypeAlignment(ArgTy)); in lowerFormalArgumentsKernel() 477 lowerParameter(B, ArgTy, ArgOffset, Align, ArgReg); in lowerFormalArgumentsKernel() 479 unpackRegs(OrigArgRegs, ArgReg, ArgTy, B); in lowerFormalArgumentsKernel()
|
D | AMDGPUSubtarget.cpp | 503 Type *ArgTy = Arg.getType(); in getExplicitKernArgSize() local 505 const Align Alignment(DL.getABITypeAlignment(ArgTy)); in getExplicitKernArgSize() 506 uint64_t AllocSize = DL.getTypeAllocSize(ArgTy); in getExplicitKernArgSize()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMLegalizerInfo.cpp | 385 Type *ArgTy = Type::getInt32Ty(Ctx); in legalizeCustom() local 386 StructType *RetTy = StructType::get(Ctx, {ArgTy, ArgTy}, /* Packed */ true); in legalizeCustom() 390 {{MI.getOperand(1).getReg(), ArgTy}, in legalizeCustom() 391 {MI.getOperand(2).getReg(), ArgTy}}); in legalizeCustom() 418 auto *ArgTy = OpSize == 32 ? Type::getFloatTy(Ctx) : Type::getDoubleTy(Ctx); in legalizeCustom() local 426 {{MI.getOperand(2).getReg(), ArgTy}, in legalizeCustom() 427 {MI.getOperand(3).getReg(), ArgTy}}); in legalizeCustom()
|
D | ARMFastISel.cpp | 2237 Type *ArgTy = Op->getType(); in ARMEmitLibcall() local 2239 if (!isTypeLegal(ArgTy, ArgVT)) return false; in ARMEmitLibcall() 2242 Flags.setOrigAlign(Align(DL.getABITypeAlignment(ArgTy))); in ARMEmitLibcall() 2365 Type *ArgTy = (*i)->getType(); in SelectCall() local 2367 if (!isTypeLegal(ArgTy, ArgVT) && ArgVT != MVT::i16 && ArgVT != MVT::i8 && in SelectCall() 2375 Flags.setOrigAlign(Align(DL.getABITypeAlignment(ArgTy))); in SelectCall() 3039 Type *ArgTy = Arg.getType(); in fastLowerArguments() local 3040 if (ArgTy->isStructTy() || ArgTy->isArrayTy() || ArgTy->isVectorTy()) in fastLowerArguments() 3043 EVT ArgVT = TLI.getValueType(DL, ArgTy); in fastLowerArguments()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/ |
D | ExternalFunctions.cpp | 210 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke() local 211 args[ArgNo] = ffiTypeFor(ArgTy); in ffiInvoke() 212 ArgBytes += TD.getTypeStoreSize(ArgTy); in ffiInvoke() 222 Type *ArgTy = FTy->getParamType(ArgNo); in ffiInvoke() local 223 values[ArgNo] = ffiValueFor(ArgTy, ArgVals[ArgNo], ArgDataPtr); in ffiInvoke() 224 ArgDataPtr += TD.getTypeStoreSize(ArgTy); in ffiInvoke()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | InterleavedLoadCombinePass.cpp | 788 VectorType *ArgTy = dyn_cast<VectorType>(SVI->getOperand(0)->getType()); in computeFromSVI() local 789 assert(ArgTy && "ShuffleVector Operand is not a VectorType"); in computeFromSVI() 792 VectorInfo LHS(ArgTy); in computeFromSVI() 797 VectorInfo RHS(ArgTy); in computeFromSVI() 838 assert((i < 2 * (signed)ArgTy->getNumElements()) && in computeFromSVI() 843 else if (i < (signed)ArgTy->getNumElements()) { in computeFromSVI() 850 Result.EI[j] = RHS.EI[i - ArgTy->getNumElements()]; in computeFromSVI()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceGlobalInits.cpp | 95 for (Type ArgTy : Signature.getArgList()) { in dump() local 100 Stream << ArgTy; in dump()
|
D | IceTypes.cpp | 290 for (const Type ArgTy : ArgList) { in dump() local 296 Stream << ArgTy; in dump()
|
D | PNaClTranslator.cpp | 1010 Ice::Type ArgTy = Context->getSimpleTypeByID(Values[i]); in ProcessRecord() local 1011 if (ArgTy == Ice::IceType_void) { in ProcessRecord() 1015 << " not valid. Found: " << ArgTy; in ProcessRecord() 1016 ArgTy = Ice::IceType_i32; in ProcessRecord() 1018 FuncTy->appendArgType(ArgTy); in ProcessRecord()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFastISel.cpp | 653 Type *ArgTy = Arg.getType(); in fastLowerArguments() local 654 if (ArgTy->isStructTy() || ArgTy->isArrayTy()) in fastLowerArguments() 656 if (!Subtarget->hasSIMD128() && ArgTy->isVectorTy()) in fastLowerArguments() 661 switch (getSimpleType(ArgTy)) { in fastLowerArguments() 724 MVT::SimpleValueType ArgTy = getLegalType(getSimpleType(Arg.getType())); in fastLowerArguments() local 725 if (ArgTy == MVT::INVALID_SIMPLE_VALUE_TYPE) { in fastLowerArguments() 729 MFI->addParam(ArgTy); in fastLowerArguments() 835 MVT::SimpleValueType ArgTy = getSimpleType(V->getType()); in selectCall() local 836 if (ArgTy == MVT::INVALID_SIMPLE_VALUE_TYPE) in selectCall()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsISelLowering.h | 307 Align getABIAlignmentForCallingConv(Type *ArgTy, in getABIAlignmentForCallingConv() argument 309 const Align ABIAlign(DL.getABITypeAlignment(ArgTy)); in getABIAlignmentForCallingConv() 310 if (ArgTy->isVectorTy()) in getABIAlignmentForCallingConv()
|
D | MipsFastISel.cpp | 1360 Type *ArgTy = FormalArg.getType(); in fastLowerArguments() local 1361 if (ArgTy->isStructTy() || ArgTy->isArrayTy() || ArgTy->isVectorTy()) { in fastLowerArguments() 1366 EVT ArgVT = TLI.getValueType(DL, ArgTy); in fastLowerArguments()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Type.cpp | 336 bool FunctionType::isValidArgumentType(Type *ArgTy) { in isValidArgumentType() argument 337 return ArgTy->isFirstClassType(); in isValidArgumentType()
|
D | Function.cpp | 306 Type *ArgTy = FT->getParamType(i); in BuildLazyArguments() local 307 assert(!ArgTy->isVoidTy() && "Cannot have void typed arguments!"); in BuildLazyArguments() 308 new (Arguments + i) Argument(ArgTy, "", const_cast<Function *>(this), i); in BuildLazyArguments()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | DerivedTypes.h | 120 static bool isValidArgumentType(Type *ArgTy);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/ |
D | CoroFrame.cpp | 1262 auto ArgTy = cast<PointerType>(Arg.getType()); in eliminateSwiftErrorArgument() local 1263 auto ValueTy = ArgTy->getElementType(); in eliminateSwiftErrorArgument() 1268 auto Alloca = Builder.CreateAlloca(ValueTy, ArgTy->getAddressSpace()); in eliminateSwiftErrorArgument()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/ |
D | LLParser.cpp | 2460 Type *ArgTy = nullptr; in ParseParameterList() local 2463 if (ParseType(ArgTy, ArgLoc)) in ParseParameterList() 2466 if (ArgTy->isMetadataTy()) { in ParseParameterList() 2471 if (ParseOptionalParamAttrs(ArgAttrs) || ParseValue(ArgTy, V, PFS)) in ParseParameterList() 2579 Type *ArgTy = nullptr; in ParseArgumentList() local 2583 if (ParseType(ArgTy) || in ParseArgumentList() 2586 if (ArgTy->isVoidTy()) in ParseArgumentList() 2600 if (!FunctionType::isValidArgumentType(ArgTy)) in ParseArgumentList() 2603 ArgList.emplace_back(TypeLoc, ArgTy, in ParseArgumentList() 2604 AttributeSet::get(ArgTy->getContext(), Attrs), in ParseArgumentList() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCOpts.cpp | 1693 Type *ArgTy = Arg->getType(); in MoveCalls() local 1694 Type *ParamTy = PointerType::getUnqual(Type::getInt8Ty(ArgTy->getContext())); in MoveCalls() 1700 Value *MyArg = ArgTy == ParamTy ? Arg : in MoveCalls() 1713 Value *MyArg = ArgTy == ParamTy ? Arg : in MoveCalls()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 560 Type *ArgTy = Arg0->getType(); in simplifyX86pack() local 562 unsigned NumSrcElts = ArgTy->getVectorNumElements(); in simplifyX86pack() 568 unsigned SrcScalarSizeInBits = ArgTy->getScalarSizeInBits(); in simplifyX86pack() 595 auto *MinC = Constant::getIntegerValue(ArgTy, MinValue); in simplifyX86pack() 596 auto *MaxC = Constant::getIntegerValue(ArgTy, MaxValue); in simplifyX86pack() 620 Type *ArgTy = Arg->getType(); in simplifyX86movmsk() local 627 if (!ArgTy->isVectorTy()) in simplifyX86movmsk() 635 unsigned NumElts = ArgTy->getVectorNumElements(); in simplifyX86movmsk() 636 Type *IntegerVecTy = VectorType::getInteger(cast<VectorType>(ArgTy)); in simplifyX86movmsk()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 2122 Type *ArgTy = Arg->getType(); in insertSinCosCall() local 2134 ? static_cast<Type *>(VectorType::get(ArgTy, 2)) in insertSinCosCall() 2135 : static_cast<Type *>(StructType::get(ArgTy, ArgTy)); in insertSinCosCall() 2138 ResTy = StructType::get(ArgTy, ArgTy); in insertSinCosCall() 2143 M->getOrInsertFunction(Name, OrigCallee->getAttributes(), ResTy, ArgTy); in insertSinCosCall()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 210 auto toVectorTy = [&](Type *ArgTy) { in isWideningInstruction() argument 211 return VectorType::get(ArgTy->getScalarType(), in isWideningInstruction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | DerivedTypes.h | 126 static bool isValidArgumentType(Type *ArgTy);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | WholeProgramDevirt.cpp | 1190 auto *ArgTy = dyn_cast<IntegerType>( in tryEvaluateFunctionsWithArgs() local 1192 if (!ArgTy) in tryEvaluateFunctionsWithArgs() 1194 EvalArgs.push_back(ConstantInt::get(ArgTy, Args[I])); in tryEvaluateFunctionsWithArgs()
|