Home
last modified time | relevance | path

Searched refs:SMEAttrs (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/
H A DAArch64SMEAttributes.cpp15 void SMEAttrs::set(unsigned M, bool Enable) { in set()
43 SMEAttrs::SMEAttrs(const CallBase &CB) { in SMEAttrs() function in SMEAttrs
44 *this = SMEAttrs(CB.getAttributes()); in SMEAttrs()
46 set(SMEAttrs(*F).Bitmask | SMEAttrs(F->getName()).Bitmask); in SMEAttrs()
50 SMEAttrs::SMEAttrs(StringRef FuncName) : Bitmask(0) { in SMEAttrs() function in SMEAttrs
52 Bitmask |= (SMEAttrs::SM_Compatible | SMEAttrs::SME_ABI_Routine); in SMEAttrs()
54 Bitmask |= SMEAttrs::SM_Compatible | encodeZAState(StateValue::In) | in SMEAttrs()
55 SMEAttrs::SME_ABI_Routine; in SMEAttrs()
58 Bitmask |= SMEAttrs::SM_Compatible; in SMEAttrs()
61 SMEAttrs::SMEAttrs(const AttributeList &Attrs) { in SMEAttrs() function in SMEAttrs
[all …]
H A DAArch64SMEAttributes.h25 class SMEAttrs {
51 SMEAttrs(unsigned Mask = Normal) : Bitmask(0) { set(Mask); }
52 SMEAttrs(const Function &F) : SMEAttrs(F.getAttributes()) {} in SMEAttrs() function
53 SMEAttrs(const CallBase &CB);
54 SMEAttrs(const AttributeList &L);
55 SMEAttrs(StringRef FuncName);
77 bool requiresSMChange(const SMEAttrs &Callee) const;
102 bool requiresLazySave(const SMEAttrs &Callee) const { in requiresLazySave()
130 bool requiresPreservingZT0(const SMEAttrs &Callee) const { in requiresPreservingZT0()
133 bool requiresDisablingZABeforeCall(const SMEAttrs &Callee) const { in requiresDisablingZABeforeCall()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DSMEABIPass.cpp45 SMEAttrs FnAttrs);
100 IRBuilder<> &Builder, SMEAttrs FnAttrs) { in updateNewStateFunctions()
175 SMEAttrs FnAttrs(F); in runOnFunction()
H A DAArch64SelectionDAGInfo.cpp154 SMEAttrs Attrs(DAG.getMachineFunction().getFunction()); in EmitTargetCodeForMemcpy()
172 SMEAttrs Attrs(DAG.getMachineFunction().getFunction()); in EmitTargetCodeForMemset()
190 SMEAttrs Attrs(DAG.getMachineFunction().getFunction()); in EmitTargetCodeForMemmove()
H A DAArch64FrameLowering.cpp594 SMEAttrs Attrs(MF.getFunction()); in emitCalleeSavedGPRLocations()
3239 SMEAttrs Attrs(MF.getFunction()); in spillCalleeSavedRegisters()
3581 SMEAttrs Attrs(MF.getFunction()); in determineStackHazardSlot()
3731 SMEAttrs Attrs(F); in determineCalleeSaves()
3887 SMEAttrs Attrs(MF.getFunction()); in assignCalleeSavedSpillSlots()
4580 SMEAttrs FuncAttrs(MF->getFunction()); in emitVGSaveRestore()
5088 SMEAttrs Attrs(MF.getFunction()); in emitRemarks()
H A DAArch64TargetTransformInfo.cpp244 SMEAttrs CallerAttrs(*Caller), CalleeAttrs(*Callee); in areInlineCompatible()
249 CalleeAttrs.set(SMEAttrs::SM_Compatible, false); in areInlineCompatible()
250 CalleeAttrs.set(SMEAttrs::SM_Enabled, true); in areInlineCompatible()
321 SMEAttrs FAttrs(*F); in getInlineCallPenalty()
322 SMEAttrs CalleeAttrs(Call); in getInlineCallPenalty()
326 if (FAttrs.requiresSMChange(SMEAttrs(*Call.getCaller()))) // (2) in getInlineCallPenalty()
H A DAArch64ISelLowering.cpp7315 SMEAttrs Attrs(MF.getFunction()); in LowerFormalArguments()
7669 if (SMEAttrs(MF.getFunction()).hasZAState()) { in LowerFormalArguments()
7973 SMEAttrs CallerAttrs(MF.getFunction()); in isEligibleForTailCallOptimization()
7974 auto CalleeAttrs = CLI.CB ? SMEAttrs(*CLI.CB) : SMEAttrs(SMEAttrs::Normal); in isEligibleForTailCallOptimization()
8230 static unsigned getSMCondition(const SMEAttrs &CallerAttrs, in getSMCondition()
8231 const SMEAttrs &CalleeAttrs) { in getSMCondition()
8370 SMEAttrs CalleeAttrs, CallerAttrs(MF.getFunction()); in LowerCall()
8372 CalleeAttrs = SMEAttrs(*CLI.CB); in LowerCall()
8374 CalleeAttrs = SMEAttrs(ES->getSymbol()); in LowerCall()
9077 SMEAttrs FuncAttrs(MF.getFunction()); in LowerReturn()
[all …]
H A DAArch64FastISel.cpp5195 SMEAttrs CallerAttrs(*FuncInfo.Fn); in createFastISel()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64CallLowering.cpp542 SMEAttrs Attrs(F); in fallBackToDAGISel()