Home
last modified time | relevance | path

Searched refs:IsByRef (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetCallingConv.h34 unsigned IsByRef : 1; ///< Passed in memory member
66 : IsZExt(0), IsSExt(0), IsInReg(0), IsSRet(0), IsByVal(0), IsByRef(0), in ArgFlagsTy()
91 bool isByRef() const { return IsByRef; } in isByRef()
92 void setByRef() { IsByRef = 1; } in setByRef()
DTargetLowering.h281 bool IsByRef : 1; variable
294 IsNest(false), IsByVal(false), IsByRef(false), IsInAlloca(false), in ArgListEntry()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelArguments.cpp111 const bool IsByRef = Arg.hasByRefAttr(); in runOnFunction() local
112 Type *ArgTy = IsByRef ? Arg.getParamByRefType() : Arg.getType(); in runOnFunction()
113 MaybeAlign ABITypeAlign = IsByRef ? Arg.getParamAlign() : None; in runOnFunction()
128 if (IsByRef) { in runOnFunction()
DAMDGPUSubtarget.cpp542 const bool IsByRef = Arg.hasByRefAttr(); in getExplicitKernArgSize() local
543 Type *ArgTy = IsByRef ? Arg.getParamByRefType() : Arg.getType(); in getExplicitKernArgSize()
544 MaybeAlign Alignment = IsByRef ? Arg.getParamAlign() : None; in getExplicitKernArgSize()
DAMDGPUCallLowering.cpp612 const bool IsByRef = Arg.hasByRefAttr(); in lowerFormalArgumentsKernel() local
613 Type *ArgTy = IsByRef ? Arg.getParamByRefType() : Arg.getType(); in lowerFormalArgumentsKernel()
618 MaybeAlign ABIAlign = IsByRef ? Arg.getParamAlign() : None; in lowerFormalArgumentsKernel()
632 if (IsByRef) { in lowerFormalArgumentsKernel()
DAMDGPUISelLowering.cpp1022 const bool IsByRef = Arg.hasByRefAttr(); in analyzeFormalArgumentsCompute() local
1024 Type *MemArgTy = IsByRef ? Arg.getParamByRefType() : BaseArgTy; in analyzeFormalArgumentsCompute()
1025 MaybeAlign Alignment = IsByRef ? Arg.getParamAlign() : None; in analyzeFormalArgumentsCompute()
/external/clang/lib/CodeGen/
DCGDecl.cpp959 emission.IsByRef = isByRef; in EmitAutoVarAlloca()
1199 if (emission.IsByRef) in EmitAutoVarInit()
1208 bool capturedByInit = emission.IsByRef && isCapturedBy(D, Init); in EmitAutoVarInit()
1424 if (emission.IsByRef) in EmitAutoVarCleanups()
DCodeGenFunction.h2136 bool IsByRef; variable
2150 IsByRef(false), IsConstantAggregate(false), in AutoVarEmission()
2176 if (!IsByRef) return Addr; in getObjectAddress()
/external/llvm-project/llvm/lib/IR/
DAttributes.cpp471 const bool IsByRef = hasAttribute(Attribute::ByRef); in getAsString() local
472 if (IsByRef || hasAttribute(Attribute::Preallocated)) { in getAsString()
473 std::string Result = IsByRef ? "byref" : "preallocated"; in getAsString()
/external/clang/lib/Sema/
DSemaOpenMP.cpp846 bool IsByRef = true; in IsOpenMPCapturedByRef() local
948 IsByRef = !(Ty->isPointerType() && IsVariableAssociatedWithSection); in IsOpenMPCapturedByRef()
951 IsByRef = !Ty->isScalarType(); in IsOpenMPCapturedByRef()
955 if (IsByRef && Ty.getNonReferenceType()->isScalarType()) { in IsOpenMPCapturedByRef()
956 IsByRef = !DSAStack->hasExplicitDSA( in IsOpenMPCapturedByRef()
965 if (!IsByRef && in IsOpenMPCapturedByRef()
969 IsByRef = true; in IsOpenMPCapturedByRef()
972 return IsByRef; in IsOpenMPCapturedByRef()
/external/llvm-project/clang/lib/Sema/
DSemaOpenMP.cpp1972 bool IsByRef = true; in isOpenMPCapturedByRef() local
2082 IsByRef = !(Ty->isPointerType() && IsVariableAssociatedWithSection); in isOpenMPCapturedByRef()
2087 IsByRef = (DSAStack->isForceCaptureByReferenceInTargetExecutable() && in isOpenMPCapturedByRef()
2101 if (IsByRef && Ty.getNonReferenceType()->isScalarType()) { in isOpenMPCapturedByRef()
2102 IsByRef = in isOpenMPCapturedByRef()
2131 if (!IsByRef && in isOpenMPCapturedByRef()
2135 IsByRef = true; in isOpenMPCapturedByRef()
2138 return IsByRef; in isOpenMPCapturedByRef()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp9169 Entry.IsByRef = false; in LowerCallTo()
9290 if (Args[i].IsByRef) in LowerCallTo()